feat: 🌸
This commit is contained in:
parent
74e04e1c7d
commit
e91b2648cc
41 changed files with 756 additions and 92 deletions
16
src/types.ts
16
src/types.ts
|
|
@ -100,7 +100,12 @@ export type TFeedInfo = { feedType: TFeedType; id?: string }
|
|||
|
||||
export type TLanguage = 'en' | 'zh' | 'pl'
|
||||
|
||||
export type TImageInfo = { url: string; blurHash?: string; dim?: { width: number; height: number } }
|
||||
export type TImageInfo = {
|
||||
url: string
|
||||
blurHash?: string
|
||||
dim?: { width: number; height: number }
|
||||
pubkey?: string
|
||||
}
|
||||
|
||||
export type TNoteListMode = 'posts' | 'postsAndReplies' | 'pictures' | 'you'
|
||||
|
||||
|
|
@ -137,3 +142,12 @@ export type TTranslationServiceConfig =
|
|||
server?: string
|
||||
api_key?: string
|
||||
}
|
||||
|
||||
export type TMediaUploadServiceConfig =
|
||||
| {
|
||||
type: 'nip96'
|
||||
service: string
|
||||
}
|
||||
| {
|
||||
type: 'blossom'
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue