feat: outbox model for the following feed

This commit is contained in:
codytseng
2025-03-27 22:37:06 +08:00
parent df4eb10802
commit d24e208f0b
22 changed files with 642 additions and 517 deletions

View File

@@ -80,7 +80,7 @@ export interface ISigner {
nip04Decrypt: (pubkey: string, cipherText: string) => Promise<string>
}
export type TSignerType = 'nsec' | 'nip-07' | 'bunker' | 'browser-nsec' | 'ncryptsec'
export type TSignerType = 'nsec' | 'nip-07' | 'bunker' | 'browser-nsec' | 'ncryptsec' | 'npub'
export type TAccount = {
pubkey: string
@@ -89,6 +89,7 @@ export type TAccount = {
nsec?: string
bunker?: string
bunkerClientSecretKey?: string
npub?: string
}
export type TAccountPointer = Pick<TAccount, 'pubkey' | 'signerType'>