feat: used sendDM method in contact form
This commit is contained in:
1
src/types/index.ts
Normal file
1
src/types/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from './nostr'
|
14
src/types/nostr.ts
Normal file
14
src/types/nostr.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
export interface SignedEvent {
|
||||
kind: number
|
||||
tags: string[][]
|
||||
content: string
|
||||
created_at: number
|
||||
pubkey: string
|
||||
id: string
|
||||
sig: string
|
||||
}
|
||||
|
||||
export interface Keys {
|
||||
private: string
|
||||
public: string
|
||||
}
|
Reference in New Issue
Block a user