about summary refs log tree commit diff
path: root/src/state/geolocation/types.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/state/geolocation/types.ts')
-rw-r--r--src/state/geolocation/types.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/state/geolocation/types.ts b/src/state/geolocation/types.ts
new file mode 100644
index 000000000..174761649
--- /dev/null
+++ b/src/state/geolocation/types.ts
@@ -0,0 +1,9 @@
+export type DeviceLocation = {
+  countryCode: string | undefined
+  regionCode: string | undefined
+}
+
+export type GeolocationStatus = DeviceLocation & {
+  isAgeRestrictedGeo: boolean
+  isAgeBlockedGeo: boolean
+}