aboutsummaryrefslogtreecommitdiff
path: root/src/utils/schemas/ids.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/schemas/ids.ts')
-rw-r--r--src/utils/schemas/ids.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/utils/schemas/ids.ts b/src/utils/schemas/ids.ts
new file mode 100644
index 0000000..1d7e8c5
--- /dev/null
+++ b/src/utils/schemas/ids.ts
@@ -0,0 +1,3 @@
+export const websiteId = (siteUrl: string): string => new URL("#website", siteUrl).toString();
+
+export const personId = (siteUrl: string): string => new URL("#person", siteUrl).toString();