feat: translation (#389)

This commit is contained in:
Cody Tseng 2025-06-23 23:52:21 +08:00 committed by GitHub
parent e2e115ebeb
commit df9066eae0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
43 changed files with 1466 additions and 47 deletions

View file

@ -121,3 +121,19 @@ export type TEmoji = {
shortcode: string
url: string
}
export type TTranslationAccount = {
pubkey: string
api_key: string
balance: number
}
export type TTranslationServiceConfig =
| {
service: 'jumble'
}
| {
service: 'libre_translate'
server?: string
api_key?: string
}