Adds basic global feature flags (#7459)

* Adds basic feature flag model

* Create router.ts

* WIP

* WIP

* WIP

* WIP

* Emails kill switch

* Adds missing migrations

* Type fix

* Cleanup

* Revert

* Cleanup

* Fixes migration

* Update packages/features/flags/server/utils.ts

Co-authored-by: sean-brydon <[email protected]>

---------

Co-authored-by: Alex van Andel <[email protected]>
Co-authored-by: Peer Richelsen <[email protected]>
Co-authored-by: sean-brydon <[email protected]>
This commit is contained in:
authored and GitHub committed 2023-03-24 17:59:04 -07:00
1 parent 20022e2cdd
commit 69491d5700
19 files changed
+316 -22

No files matched your search

+1
View File
@@ -0,0 +1 @@
export const isKeyInObject = <T extends object>(k: PropertyKey, o: T): k is keyof T => k in o;