Files
flotilla/src/app/types.ts
T
2024-08-14 12:46:25 -07:00

20 lines
404 B
TypeScript

import {verifiedSymbol} from 'nostr-tools'
import type {Nip46Handler} from "@welshman/signer"
import type {SignedEvent, TrustedEvent, RelayProfile} from "@welshman/util"
export type Session = {
method: string
pubkey: string
secret?: string
handler?: Nip46Handler
}
export type Relay = RelayProfile
export type Handle = {
pubkey: string
nip05: string
nip46: string[]
relays: string[]
}