1
0
mirror of git://jb55.com/damus synced 2024-09-18 19:23:49 +00:00

ids: introduce NoteKey

These will be used to reference nostr notes from nostrdb
This commit is contained in:
William Casarin 2023-09-06 11:07:24 -07:00
parent bb4fd75576
commit 129d3ff101

View File

@ -7,6 +7,8 @@
import Foundation import Foundation
typealias NoteKey = UInt64
struct NoteId: IdType, TagKey, TagConvertible { struct NoteId: IdType, TagKey, TagConvertible {
let id: Data let id: Data