feat: relay info
This commit is contained in:
parent
64a5573969
commit
76dd184c14
9 changed files with 163 additions and 45 deletions
11
src/types.ts
11
src/types.ts
|
|
@ -17,8 +17,19 @@ export type TRelayList = {
|
|||
}
|
||||
|
||||
export type TRelayInfo = {
|
||||
name?: string
|
||||
description?: string
|
||||
icon?: string
|
||||
pubkey?: string
|
||||
contact?: string
|
||||
supported_nips?: number[]
|
||||
software?: string
|
||||
version?: string
|
||||
tags?: string[]
|
||||
limitation?: {
|
||||
auth_required?: boolean
|
||||
payment_required?: boolean
|
||||
}
|
||||
}
|
||||
|
||||
export type TWebMetadata = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue