feat: sync relay sets

This commit is contained in:
codytseng 2025-01-07 23:26:05 +08:00
parent 4343765aba
commit 7bd5b915eb
38 changed files with 1069 additions and 686 deletions

View file

@ -26,14 +26,14 @@ export type TWebMetadata = {
image?: string | null
}
export type TRelayGroup = {
groupName: string
export type TRelaySet = {
id: string
name: string
relayUrls: string[]
isActive: boolean
}
export type TConfig = {
relayGroups: TRelayGroup[]
relayGroups: TRelaySet[]
theme: TThemeSetting
}
@ -64,6 +64,6 @@ export type TAccount = {
export type TAccountPointer = Pick<TAccount, 'pubkey' | 'signerType'>
export type TFeedType = 'following' | 'relays'
export type TFeedType = 'following' | 'relays' | 'temporary'
export type TLanguage = 'en' | 'zh'