Files
bsky-social-app/src/storage/schema.ts
T
Eric Bailey e5a948b1b0 [LEG-246] Geo overlay (#8881)
* Add AgeBlockedGeo

* Add MaxMind usage text

* Add geo overlay

---------

Co-authored-by: rafael <rafael@blueskyweb.xyz>
(cherry picked from commit 912ab1bd9b)
2025-08-22 14:57:45 -05:00

31 lines
830 B
TypeScript

import {type ID as PolicyUpdate202508} from '#/components/PolicyUpdateOverlay/updates/202508/config'
/**
* 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
isAgeRestrictedGeo: boolean | undefined
isAgeBlockedGeo: boolean | undefined
}
trendingBetaEnabled: boolean
devMode: boolean
demoMode: boolean
activitySubscriptionsNudged?: boolean
/**
* Policy update overlays. New IDs are required for each new announcement.
*/
policyUpdateDebugOverride?: boolean
[PolicyUpdate202508]?: boolean
}
export type Account = {
searchTermHistory?: string[]
searchAccountHistory?: string[]
}