feat: explore (#85)

This commit is contained in:
Cody Tseng 2025-02-11 16:33:31 +08:00 committed by GitHub
parent 80893ec033
commit b91f46723e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
35 changed files with 811 additions and 179 deletions

View file

@ -32,6 +32,7 @@ export type TRelayInfo = {
software?: string
version?: string
tags?: string[]
payments_url?: string
limitation?: {
auth_required?: boolean
payment_required?: boolean
@ -98,3 +99,12 @@ export type TImageInfo = { url: string; blurHash?: string; dim?: { width: number
export type TNoteListMode = 'posts' | 'postsAndReplies' | 'pictures'
export type TPageRef = { scrollToTop: () => void }
export type TNip66RelayInfo = TRelayInfo & {
url: string
shortUrl: string
hasNip11: boolean
triedNip11: boolean
relayType?: string
countryCode?: string
}