Skip to content

Commit

Permalink
Merge branch 'develop' into MAT-6310
Browse files Browse the repository at this point in the history
  • Loading branch information
sb-benohe authored Jan 31, 2024
2 parents 7d59073 + 6a103eb commit 7ce25fa
Showing 1 changed file with 19 additions and 14 deletions.
33 changes: 19 additions & 14 deletions src/Store/featureFlagStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,32 @@ import { BehaviorSubject } from "rxjs";
// immutable object that retains state, tracks updates
const subject = new BehaviorSubject<FeatureFlags | null>(null);
export interface FeatureFlags {
export: boolean;
populationCriteriaTabs: boolean;
importTestCases: boolean;

qdm: boolean;
qdmExport: boolean;
qdmVersioning: boolean;
qdmTestCases: boolean;
qiCoreElementsTab: boolean;
highlightingTabs: boolean;
exportQiCoreBundleType: boolean;
qdmHighlightingTabs: boolean;
disableRunTestCaseWithObservStrat: boolean;
qdmHideJson: boolean;
qdmMeasureDefinitions: boolean;
qdmMeasureReferences: boolean;
importTestCases: boolean;
qiCoreBonnieTestCases: boolean;
enableQdmRepeatTransfer: boolean;
}
const initialState: FeatureFlags = {
export: false,
populationCriteriaTabs: true,
importTestCases: false,
qdm: false,
qdmExport: false,
qdmVersioning: false,
qdmTestCases: true,
qiCoreElementsTab: false,
highlightingTabs: false,
exportQiCoreBundleType: false,
highlightingTabs: true,
qdmHighlightingTabs: false,
qdmMeasureDefinitions: false,
qdmMeasureReferences: false,
importTestCases: false,
qiCoreBonnieTestCases: false,
disableRunTestCaseWithObservStrat: true,
qdmHideJson: true,
enableQdmRepeatTransfer: false,
};

let state: FeatureFlags | null = initialState;
Expand Down

0 comments on commit 7ce25fa

Please sign in to comment.