feat(settings): Added feature toggling. (TV-564)

Squashed commit of the following:

commit b67cced3bd44d1673173e5fa188d776d2d097fd4
Author: Erik Tiekstra <erik.tiekstra@arbetsformedlingen.se>
Date:   Fri Sep 10 11:59:37 2021 +0200

    Added feature toggling for routes and navigation
This commit is contained in:
Erik Tiekstra
2021-09-10 12:40:42 +02:00
parent 5b00453d97
commit d7318eb5ae
14 changed files with 154 additions and 62 deletions

View File

@@ -0,0 +1,5 @@
export interface Ciam {
clientId: string;
loginUrl: string;
logoutUrl: string;
}

View File

@@ -1,3 +1,5 @@
import { Feature } from '@msfa-enums/feature.enum';
export interface Environment {
environment: 'api' | 'local' | 'acc' | 'prod';
clientId: string;
@@ -8,4 +10,5 @@ export interface Environment {
url: string;
headers: { [key: string]: string };
};
activeFeatures: Feature[];
}