-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8b7d39f
commit 34e04df
Showing
3 changed files
with
40 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
export const ALERT_INFO = 'mulighetsrommet.alert-info'; | ||
export const FAKE_DOOR = 'mulighetsrommet.fake-door'; | ||
|
||
export const ALL_TOGGLES = [ALERT_INFO]; | ||
export const ALL_TOGGLES = [ALERT_INFO, FAKE_DOOR]; | ||
|
||
export interface Features { | ||
[ALERT_INFO]: boolean; | ||
[FAKE_DOOR]: boolean; | ||
} | ||
export const initialFeatures: Features = { | ||
[ALERT_INFO]: true, | ||
[FAKE_DOOR]: false, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
import { Features, ALERT_INFO } from '../../api/features'; | ||
import { Features, ALERT_INFO, FAKE_DOOR } from '../../api/features'; | ||
|
||
export const mockFeatures: Features = { | ||
[ALERT_INFO]: true, | ||
[FAKE_DOOR]: true, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters