wip: implement add bookmark
This commit is contained in:
@@ -5,6 +5,7 @@ interface LinkBookmark {
|
||||
id: string
|
||||
title: string
|
||||
url: string
|
||||
tags: BookmarkTag[]
|
||||
}
|
||||
|
||||
interface PlaceholderBookmark {
|
||||
@@ -12,7 +13,12 @@ interface PlaceholderBookmark {
|
||||
kind: "placeholder"
|
||||
}
|
||||
|
||||
interface BookmarkTag {
|
||||
id: string
|
||||
name: string
|
||||
}
|
||||
|
||||
type Bookmark = LinkBookmark | PlaceholderBookmark
|
||||
type BookmarkId = Bookmark["id"]
|
||||
|
||||
export type { Bookmark, BookmarkId, BookmarkKind, LinkBookmark }
|
||||
export type { Bookmark, BookmarkId, BookmarkKind, LinkBookmark, BookmarkTag }
|
||||
|
Reference in New Issue
Block a user