mirror of
https://github.com/dergigi/boris.git
synced 2026-01-17 22:04:32 +01:00
refactor: remove synthetic added_at field, use created_at from bookmark list event
This commit is contained in:
@@ -31,6 +31,7 @@ export interface Bookmark {
|
||||
export interface IndividualBookmark {
|
||||
id: string
|
||||
content: string
|
||||
// Timestamp from the bookmark list event (when this was bookmarked)
|
||||
created_at: number
|
||||
pubkey: string
|
||||
kind: number
|
||||
@@ -40,8 +41,6 @@ export interface IndividualBookmark {
|
||||
type: 'event' | 'article' | 'web'
|
||||
isPrivate?: boolean
|
||||
encryptedContent?: string
|
||||
// When the item was added to the bookmark list (synthetic, for sorting)
|
||||
added_at?: number
|
||||
// The kind of the source list/set that produced this bookmark (e.g., 10003, 30003, 30001, or 39701 for web)
|
||||
sourceKind?: number
|
||||
// The 'd' tag value from kind 30003 bookmark sets
|
||||
|
||||
Reference in New Issue
Block a user