281acc0edc
* add button + dialog
* rename feature
* rm joke
* add button
* add dialog to settings
* tweak web styles
* tweak switch logic
* integrate api
* add new icons
* implement gating of button
* add tooltip
* fix import
* add activity notifs to shadow
* add metrics
* rm timeout
* Fix visibility state of native tooltip (#8581)
* Fix visibility state of native tooltip
* rm onLayout
---------
Co-authored-by: Eric Bailey <git@esb.lol>
* reset nudge in settings
* Make sure web tooltip closes on interaction with target
* Add route to server
* Remove unused label
* Revert "Add route to server"
This reverts commit 66bc325aed.
---------
Co-authored-by: Eric Bailey <git@esb.lol>
21 lines
482 B
TypeScript
21 lines
482 B
TypeScript
/**
|
|
* Device data that's specific to the device and does not vary based account
|
|
*/
|
|
export type Device = {
|
|
fontScale: '-2' | '-1' | '0' | '1' | '2'
|
|
fontFamily: 'system' | 'theme'
|
|
lastNuxDialog: string | undefined
|
|
geolocation?: {
|
|
countryCode: string | undefined
|
|
}
|
|
trendingBetaEnabled: boolean
|
|
devMode: boolean
|
|
demoMode: boolean
|
|
activitySubscriptionsNudged?: boolean
|
|
}
|
|
|
|
export type Account = {
|
|
searchTermHistory?: string[]
|
|
searchAccountHistory?: string[]
|
|
}
|