@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 +1 -1
- package/profiles/vtx.d.ts +2 -8
- package/profiles/vtx.js +3 -11
package/package.json
CHANGED
package/profiles/vtx.d.ts
CHANGED
|
@@ -22,14 +22,8 @@ declare const defaultFeatureFlags: {
|
|
|
22
22
|
*/
|
|
23
23
|
testFacilityDB: {
|
|
24
24
|
enabled: boolean;
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
//
|
|
35
|
-
|
|
36
|
-
|
|
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 () => {
|