feat: relay info

This commit is contained in:
codytseng 2025-01-17 17:04:05 +08:00
parent 64a5573969
commit 76dd184c14
9 changed files with 163 additions and 45 deletions

View file

@ -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 = {