mirror of
https://github.com/tooot-app/app
synced 2025-05-29 18:29:18 +02:00
28 lines
749 B
TypeScript
28 lines
749 B
TypeScript
import { ScreenTabsStackParamList } from '@utils/navigation/navigators'
|
|
|
|
export type GlobalV0 = {
|
|
//// app
|
|
// string
|
|
'app.expo_token'?: string
|
|
'app.prev_tab'?: keyof ScreenTabsStackParamList
|
|
'app.prev_public_segment'?: Extract<App.Pages, 'Local' | 'LocalPublic' | 'Trending'>
|
|
'app.language'?: string
|
|
'app.theme'?: 'light' | 'dark' | 'auto'
|
|
'app.theme.dark'?: 'lighter' | 'darker'
|
|
'app.browser'?: 'internal' | 'external'
|
|
// number
|
|
'app.count_till_store_review'?: number
|
|
'app.font_size'?: -1 | 0 | 1 | 2 | 3
|
|
'version.global': number
|
|
'version.account': number
|
|
// boolean
|
|
'app.auto_play_gifv'?: boolean
|
|
'app.connect'?: boolean
|
|
|
|
//// account
|
|
// string
|
|
'account.active'?: string
|
|
// object
|
|
accounts?: string[]
|
|
}
|