add some type aliases to make the ndb move more incremental

This commit is contained in:
William Casarin
2023-07-30 10:44:14 -07:00
parent 1463ce5e3a
commit 06a66a3709
2 changed files with 18 additions and 0 deletions

14
damus/Nostr/Pubkey.swift Normal file
View File

@@ -0,0 +1,14 @@
//
// Pubkey.swift
// damus
//
// Created by William Casarin on 2023-07-30.
//
import Foundation
// prepare a more gradual transition to the ndb branch
typealias FollowRef = ReferencedId
typealias Pubkey = String
typealias NoteId = String
typealias Privkey = String