ids: introduce NoteKey
These will be used to reference nostr notes from nostrdb
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user