commit 129d3ff101da8ff29b20c99e3b8c0f1a8d4a40f6
parent bb4fd7557639d6e2ebe1c25a4b5cbed66db1d7bc
Author: William Casarin <jb55@jb55.com>
Date: Wed, 6 Sep 2023 11:07:24 -0700
ids: introduce NoteKey
These will be used to reference nostr notes from nostrdb
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/damus/Types/Ids/NoteId.swift b/damus/Types/Ids/NoteId.swift
@@ -7,6 +7,8 @@
import Foundation
+typealias NoteKey = UInt64
+
struct NoteId: IdType, TagKey, TagConvertible {
let id: Data