about summary refs log tree commit diff
path: root/bskylink/src/db/schema.ts
diff options
context:
space:
mode:
Diffstat (limited to 'bskylink/src/db/schema.ts')
-rw-r--r--bskylink/src/db/schema.ts17
1 files changed, 17 insertions, 0 deletions
diff --git a/bskylink/src/db/schema.ts b/bskylink/src/db/schema.ts
new file mode 100644
index 000000000..8d97f5800
--- /dev/null
+++ b/bskylink/src/db/schema.ts
@@ -0,0 +1,17 @@
+import {Selectable} from 'kysely'
+
+export type DbSchema = {
+  link: Link
+}
+
+export interface Link {
+  id: string
+  type: LinkType
+  path: string
+}
+
+export enum LinkType {
+  StarterPack = 1,
+}
+
+export type LinkEntry = Selectable<Link>