Provide geo-gated users optional GPS fallback for precise location data (#8973)
This commit is contained in:
+23
-2
@@ -7,11 +7,32 @@ export type Device = {
|
||||
fontScale: '-2' | '-1' | '0' | '1' | '2'
|
||||
fontFamily: 'system' | 'theme'
|
||||
lastNuxDialog: string | undefined
|
||||
|
||||
/**
|
||||
* Geolocation config, fetched from the IP service. This previously did
|
||||
* double duty as the "status" for geolocation state, but that has since
|
||||
* moved here to the client.
|
||||
*/
|
||||
geolocation?: {
|
||||
countryCode: string | undefined
|
||||
isAgeRestrictedGeo: boolean | undefined
|
||||
isAgeBlockedGeo: boolean | undefined
|
||||
regionCode: string | undefined
|
||||
ageRestrictedGeos: {
|
||||
countryCode: string
|
||||
regionCode: string | undefined
|
||||
}[]
|
||||
ageBlockedGeos: {
|
||||
countryCode: string
|
||||
regionCode: string | undefined
|
||||
}[]
|
||||
}
|
||||
/**
|
||||
* The GPS-based geolocation, if the user has granted permission.
|
||||
*/
|
||||
deviceGeolocation?: {
|
||||
countryCode: string | undefined
|
||||
regionCode: string | undefined
|
||||
}
|
||||
|
||||
trendingBetaEnabled: boolean
|
||||
devMode: boolean
|
||||
demoMode: boolean
|
||||
|
||||
Reference in New Issue
Block a user