[Statsig] Add test gates and events (#3659)
* [Statsig] Add test gates and events * Better types
This commit is contained in:
parent
30c2c05103
commit
096725110a
3 changed files with 89 additions and 1 deletions
|
@ -113,4 +113,14 @@ export type LogEvents = {
|
|||
| 'ProfileMenu'
|
||||
| 'ProfileHoverCard'
|
||||
}
|
||||
|
||||
'test:all:always': {}
|
||||
'test:all:sometimes': {}
|
||||
'test:all:boosted_by_gate1': {reason: 'base' | 'gate1'}
|
||||
'test:all:boosted_by_gate2': {reason: 'base' | 'gate2'}
|
||||
'test:all:boosted_by_both': {reason: 'base' | 'gate1' | 'gate2'}
|
||||
'test:gate1:always': {}
|
||||
'test:gate1:sometimes': {}
|
||||
'test:gate2:always': {}
|
||||
'test:gate2:sometimes': {}
|
||||
}
|
||||
|
|
|
@ -6,4 +6,6 @@ export type Gate =
|
|||
| 'hide_vertical_scroll_indicators'
|
||||
| 'show_follow_back_label_v2'
|
||||
| 'start_session_with_following_v2'
|
||||
| 'test_gate_1'
|
||||
| 'test_gate_2'
|
||||
| 'use_new_suggestions_endpoint'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue