move Nip05 type to nip05.ts

This commit is contained in:
fiatjaf
2024-09-09 14:23:03 -03:00
parent 13ac04b8f8
commit 23d95acb26
2 changed files with 2 additions and 3 deletions

View File

@@ -23,8 +23,6 @@ export type NostrEvent = Event
export type EventTemplate = Pick<Event, 'kind' | 'tags' | 'content' | 'created_at'>
export type UnsignedEvent = Pick<Event, 'kind' | 'tags' | 'content' | 'created_at' | 'pubkey'>
export type Nip05 = `${string}@${string}`
/** An event whose signature has been verified. */
export interface VerifiedEvent extends Event {
[verifiedSymbol]: true