From 129d3ff101da8ff29b20c99e3b8c0f1a8d4a40f6 Mon Sep 17 00:00:00 2001 From: William Casarin Date: Wed, 6 Sep 2023 11:07:24 -0700 Subject: [PATCH] ids: introduce NoteKey These will be used to reference nostr notes from nostrdb --- damus/Types/Ids/NoteId.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/damus/Types/Ids/NoteId.swift b/damus/Types/Ids/NoteId.swift index 5acd0961..c76233c8 100644 --- 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