switch to monorepo structure

This commit is contained in:
2025-05-06 11:00:35 +01:00
parent e1f927ad27
commit 07b7f1b51f
63 changed files with 2440 additions and 1011 deletions

View File

@@ -0,0 +1,18 @@
type BookmarkKind = "link" | "placeholder"
interface LinkBookmark {
kind: "link"
id: string
title: string
url: string
}
interface PlaceholderBookmark {
id: string
kind: "placeholder"
}
type Bookmark = LinkBookmark | PlaceholderBookmark
type BookmarkId = Bookmark["id"]
export type { Bookmark, BookmarkId, BookmarkKind, LinkBookmark }

13
packages/core/src/user.ts Normal file
View File

@@ -0,0 +1,13 @@
interface User {
id: string
username: string
}
const DEMO_USER = {
id: "01JTEP7T7A5YTM8YXEKHYQ46KK",
username: "demo-user",
unhashedPassword: "secure-hunter2",
} as const
export type { User }
export { DEMO_USER }