@dvsa/cvs-feature-flags 0.20.0 → 0.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dvsa/cvs-feature-flags",
3
- "version": "0.20.0",
3
+ "version": "0.21.0",
4
4
  "description": "Common package to be used in CVS to manage feature flags",
5
5
  "author": "DVSA",
6
6
  "license": "ISC",
package/profiles/vtx.d.ts CHANGED
@@ -22,14 +22,8 @@ declare const defaultFeatureFlags: {
22
22
  */
23
23
  testFacilityDB: {
24
24
  enabled: boolean;
25
- testStationReadDDB: boolean;
26
- testStationReadAurora: boolean;
27
- testStationWriteDDB: boolean;
28
- testStationWriteAurora: boolean;
29
- activityReadDDB: boolean;
30
- activityReadAurora: boolean;
31
- activityWriteDDB: boolean;
32
- activityWriteAurora: boolean;
25
+ readAurora: boolean;
26
+ writeAurora: boolean;
33
27
  };
34
28
  };
35
29
  export type FeatureFlags = typeof defaultFeatureFlags;
package/profiles/vtx.js CHANGED
@@ -31,17 +31,9 @@ const defaultFeatureFlags = {
31
31
  */
32
32
  testFacilityDB: {
33
33
  enabled: true,
34
- // these flags control the /test-station/{+proxy}
35
- testStationReadDDB: true,
36
- testStationReadAurora: false,
37
- // the only write that occurs in "test stations" are via the put-test-station, therefore no need for distinct flags
38
- testStationWriteDDB: true,
39
- testStationWriteAurora: false,
40
- // these flags control the /activities/{+proxy}
41
- activityReadDDB: true,
42
- activityReadAurora: false,
43
- activityWriteDDB: true,
44
- activityWriteAurora: false,
34
+ // Feature flags for the test facility read/write operations
35
+ readAurora: false,
36
+ writeAurora: false,
45
37
  },
46
38
  };
47
39
  const getProfile = async () => {