about summary refs log tree commit diff
path: root/src/lib/statsig/gates.ts
diff options
context:
space:
mode:
authorHailey <me@haileyok.com>2024-04-12 14:51:53 -0700
committerGitHub <noreply@github.com>2024-04-12 14:51:53 -0700
commitf91aa37c6bd900bdc4eec1095c9ecd83da2f13f2 (patch)
treeadf306037f951e0d18500fa928de999794c6a863 /src/lib/statsig/gates.ts
parent1f587ea4b66a6680d8d1fe06b1705994165973d5 (diff)
downloadvoidsky-f91aa37c6bd900bdc4eec1095c9ecd83da2f13f2.tar.zst
Enable updates for `production` behind `receive_updates` gate (#3496)
* add gate type

* gate the updates

* enable updates in `production`

* web placeholder for `useOTAUpdates()`

* update comment
Diffstat (limited to 'src/lib/statsig/gates.ts')
-rw-r--r--src/lib/statsig/gates.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/statsig/gates.ts b/src/lib/statsig/gates.ts
index acf0b2aff..81f3f19d5 100644
--- a/src/lib/statsig/gates.ts
+++ b/src/lib/statsig/gates.ts
@@ -5,6 +5,7 @@ export type Gate =
   | 'disable_poll_on_discover'
   | 'new_profile_scroll_component'
   | 'new_search'
+  | 'receive_updates'
   | 'show_follow_back_label'
   | 'start_session_with_following'
   | 'use_new_suggestions_endpoint'