@opencrvs/toolkit 2.0.0-rc.937e0f9 → 2.0.0-rc.93c6ac0
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/README.md +15 -0
- package/build.sh +3 -2
- package/dist/application-config/index.js +35 -6
- package/dist/cli.js +3255 -47
- package/dist/commons/api/router.d.ts +634 -22
- package/dist/commons/conditionals/conditionals.d.ts +6 -6
- package/dist/commons/events/ActionConfig.d.ts +54 -2
- package/dist/commons/events/ActionDocument.d.ts +44 -0
- package/dist/commons/events/ActionInput.d.ts +26 -0
- package/dist/commons/events/ActionType.d.ts +6 -1
- package/dist/commons/events/AdvancedSearchConfig.d.ts +18 -0
- package/dist/commons/events/AuditLog.d.ts +2 -0
- package/dist/commons/events/CountryConfigQueryInput.d.ts +42 -0
- package/dist/commons/events/Draft.d.ts +2 -0
- package/dist/commons/events/EventConfig.d.ts +2 -0
- package/dist/commons/events/EventDocument.d.ts +22 -0
- package/dist/commons/events/EventIndex.d.ts +25 -0
- package/dist/commons/events/EventMetadata.d.ts +26 -0
- package/dist/commons/events/FieldConfig.d.ts +16 -0
- package/dist/commons/events/FieldType.d.ts +1 -0
- package/dist/commons/events/FieldTypeMapping.d.ts +1 -1
- package/dist/commons/events/WorkqueueConfig.d.ts +44 -2
- package/dist/commons/events/locations.d.ts +1 -0
- package/dist/commons/events/scopes.d.ts +1 -0
- package/dist/commons/events/state/index.d.ts +8 -0
- package/dist/commons/events/state/utils.d.ts +9 -0
- package/dist/commons/events/test.utils.d.ts +9 -1
- package/dist/commons/events/utils.d.ts +15 -1
- package/dist/conditionals/index.js +12 -5
- package/dist/environment/custom-types.d.ts +33 -0
- package/dist/environment/custom-types.d.ts.map +1 -0
- package/dist/environment/custom-types.js +12 -0
- package/dist/environment/derived-variables.d.ts +134 -0
- package/dist/environment/derived-variables.d.ts.map +1 -0
- package/dist/environment/derived-variables.js +169 -0
- package/dist/environment/editor-questions.d.ts +4 -0
- package/dist/environment/editor-questions.d.ts.map +1 -0
- package/dist/environment/editor-questions.js +67 -0
- package/dist/environment/git.d.ts +5 -0
- package/dist/environment/git.d.ts.map +1 -0
- package/dist/environment/git.js +38 -0
- package/dist/environment/github.d.ts +26 -0
- package/dist/environment/github.d.ts.map +1 -0
- package/dist/environment/github.js +247 -0
- package/dist/environment/index.d.ts +5 -0
- package/dist/environment/index.d.ts.map +1 -0
- package/dist/environment/index.js +71 -0
- package/dist/environment/logger.d.ts +15 -0
- package/dist/environment/logger.d.ts.map +1 -0
- package/dist/environment/logger.js +25 -0
- package/dist/environment/manage-users.d.ts +11 -0
- package/dist/environment/manage-users.d.ts.map +1 -0
- package/dist/environment/manage-users.js +497 -0
- package/dist/environment/questions-helper.d.ts +15 -0
- package/dist/environment/questions-helper.d.ts.map +1 -0
- package/dist/environment/questions-helper.js +70 -0
- package/dist/environment/questions.d.ts +199 -0
- package/dist/environment/questions.d.ts.map +1 -0
- package/dist/environment/questions.js +412 -0
- package/dist/environment/setup-environment.d.ts +2 -0
- package/dist/environment/setup-environment.d.ts.map +1 -0
- package/dist/environment/setup-environment.js +794 -0
- package/dist/environment/ssh-keygen.d.ts +5 -0
- package/dist/environment/ssh-keygen.d.ts.map +1 -0
- package/dist/environment/ssh-keygen.js +21 -0
- package/dist/environment/swarm-to-k8s.d.ts +2 -0
- package/dist/environment/swarm-to-k8s.d.ts.map +1 -0
- package/dist/environment/swarm-to-k8s.js +173 -0
- package/dist/environment/templates.d.ts +27 -0
- package/dist/environment/templates.d.ts.map +1 -0
- package/dist/environment/templates.js +163 -0
- package/dist/environment/update-workflows.d.ts +2 -0
- package/dist/environment/update-workflows.d.ts.map +1 -0
- package/dist/environment/update-workflows.js +169 -0
- package/dist/environment/users.d.ts +2 -0
- package/dist/environment/users.d.ts.map +1 -0
- package/dist/environment/users.js +112 -0
- package/dist/environment/utils.d.ts +18 -0
- package/dist/environment/utils.d.ts.map +1 -0
- package/dist/environment/utils.js +100 -0
- package/dist/events/index.js +259 -71
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts +1 -1
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts.map +1 -1
- package/dist/migrations/v2.0/checkout-upstream-files.js +1 -1
- package/dist/migrations/v2.0/index.js +13 -6
- package/dist/notification/index.js +145 -9
- package/dist/scopes/index.d.ts +96 -2
- package/dist/scopes/index.js +12 -5
- package/dist/templates/charts-values/dependencies/values.override.yaml +4 -0
- package/dist/templates/charts-values/dependencies/values.yaml +83 -0
- package/dist/templates/charts-values/opencrvs-services/values.override.yaml +4 -0
- package/dist/templates/charts-values/opencrvs-services/values.yaml +81 -0
- package/dist/templates/charts-values/traefik/values.override.yaml +4 -0
- package/dist/templates/charts-values/traefik/values.yaml +115 -0
- package/dist/templates/inventory/inventory.template.yml +100 -0
- package/dist/templates/inventory/production.example.yml +77 -0
- package/dist/templates/inventory/qa.example.yml +48 -0
- package/opencrvs-toolkit-2.0.0-rc.93c6ac0.tgz +0 -0
- package/package.json +15 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/opencrvs-toolkit-2.0.0-rc.937e0f9.tgz +0 -0
|
@@ -267,6 +267,7 @@ declare const NumberField: z.ZodObject<{
|
|
|
267
267
|
configuration: z.ZodOptional<z.ZodObject<{
|
|
268
268
|
min: z.ZodOptional<z.ZodNumber>;
|
|
269
269
|
max: z.ZodOptional<z.ZodNumber>;
|
|
270
|
+
integer: z.ZodOptional<z.ZodBoolean>;
|
|
270
271
|
prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
|
|
271
272
|
postfix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
|
|
272
273
|
}, z.core.$strip>>;
|
|
@@ -1885,6 +1886,7 @@ declare const AdministrativeAreaField: z.ZodObject<{
|
|
|
1885
1886
|
"record.edit": "record.edit";
|
|
1886
1887
|
"record.reject": "record.reject";
|
|
1887
1888
|
"record.archive": "record.archive";
|
|
1889
|
+
"record.unarchive": "record.unarchive";
|
|
1888
1890
|
"record.review-duplicates": "record.review-duplicates";
|
|
1889
1891
|
"record.register": "record.register";
|
|
1890
1892
|
"record.print-certified-copies": "record.print-certified-copies";
|
|
@@ -1918,6 +1920,8 @@ declare const AdministrativeAreaField: z.ZodObject<{
|
|
|
1918
1920
|
role: "role";
|
|
1919
1921
|
event: "event";
|
|
1920
1922
|
placeOfEvent: "placeOfEvent";
|
|
1923
|
+
notifiedIn: "notifiedIn";
|
|
1924
|
+
notifiedBy: "notifiedBy";
|
|
1921
1925
|
declaredIn: "declaredIn";
|
|
1922
1926
|
declaredBy: "declaredBy";
|
|
1923
1927
|
registeredIn: "registeredIn";
|
|
@@ -2011,6 +2015,7 @@ declare const LocationInput: z.ZodObject<{
|
|
|
2011
2015
|
"record.edit": "record.edit";
|
|
2012
2016
|
"record.reject": "record.reject";
|
|
2013
2017
|
"record.archive": "record.archive";
|
|
2018
|
+
"record.unarchive": "record.unarchive";
|
|
2014
2019
|
"record.review-duplicates": "record.review-duplicates";
|
|
2015
2020
|
"record.register": "record.register";
|
|
2016
2021
|
"record.print-certified-copies": "record.print-certified-copies";
|
|
@@ -2044,6 +2049,8 @@ declare const LocationInput: z.ZodObject<{
|
|
|
2044
2049
|
role: "role";
|
|
2045
2050
|
event: "event";
|
|
2046
2051
|
placeOfEvent: "placeOfEvent";
|
|
2052
|
+
notifiedIn: "notifiedIn";
|
|
2053
|
+
notifiedBy: "notifiedBy";
|
|
2047
2054
|
declaredIn: "declaredIn";
|
|
2048
2055
|
declaredBy: "declaredBy";
|
|
2049
2056
|
registeredIn: "registeredIn";
|
|
@@ -2208,6 +2215,7 @@ declare const Facility: z.ZodObject<{
|
|
|
2208
2215
|
"record.edit": "record.edit";
|
|
2209
2216
|
"record.reject": "record.reject";
|
|
2210
2217
|
"record.archive": "record.archive";
|
|
2218
|
+
"record.unarchive": "record.unarchive";
|
|
2211
2219
|
"record.review-duplicates": "record.review-duplicates";
|
|
2212
2220
|
"record.register": "record.register";
|
|
2213
2221
|
"record.print-certified-copies": "record.print-certified-copies";
|
|
@@ -2241,6 +2249,8 @@ declare const Facility: z.ZodObject<{
|
|
|
2241
2249
|
role: "role";
|
|
2242
2250
|
event: "event";
|
|
2243
2251
|
placeOfEvent: "placeOfEvent";
|
|
2252
|
+
notifiedIn: "notifiedIn";
|
|
2253
|
+
notifiedBy: "notifiedBy";
|
|
2244
2254
|
declaredIn: "declaredIn";
|
|
2245
2255
|
declaredBy: "declaredBy";
|
|
2246
2256
|
registeredIn: "registeredIn";
|
|
@@ -2320,6 +2330,7 @@ declare const Office: z.ZodObject<{
|
|
|
2320
2330
|
"record.edit": "record.edit";
|
|
2321
2331
|
"record.reject": "record.reject";
|
|
2322
2332
|
"record.archive": "record.archive";
|
|
2333
|
+
"record.unarchive": "record.unarchive";
|
|
2323
2334
|
"record.review-duplicates": "record.review-duplicates";
|
|
2324
2335
|
"record.register": "record.register";
|
|
2325
2336
|
"record.print-certified-copies": "record.print-certified-copies";
|
|
@@ -2353,6 +2364,8 @@ declare const Office: z.ZodObject<{
|
|
|
2353
2364
|
role: "role";
|
|
2354
2365
|
event: "event";
|
|
2355
2366
|
placeOfEvent: "placeOfEvent";
|
|
2367
|
+
notifiedIn: "notifiedIn";
|
|
2368
|
+
notifiedBy: "notifiedBy";
|
|
2356
2369
|
declaredIn: "declaredIn";
|
|
2357
2370
|
declaredBy: "declaredBy";
|
|
2358
2371
|
registeredIn: "registeredIn";
|
|
@@ -2518,6 +2531,7 @@ declare const Address: z.ZodObject<{
|
|
|
2518
2531
|
"record.edit": "record.edit";
|
|
2519
2532
|
"record.reject": "record.reject";
|
|
2520
2533
|
"record.archive": "record.archive";
|
|
2534
|
+
"record.unarchive": "record.unarchive";
|
|
2521
2535
|
"record.review-duplicates": "record.review-duplicates";
|
|
2522
2536
|
"record.register": "record.register";
|
|
2523
2537
|
"record.print-certified-copies": "record.print-certified-copies";
|
|
@@ -2551,6 +2565,8 @@ declare const Address: z.ZodObject<{
|
|
|
2551
2565
|
role: "role";
|
|
2552
2566
|
event: "event";
|
|
2553
2567
|
placeOfEvent: "placeOfEvent";
|
|
2568
|
+
notifiedIn: "notifiedIn";
|
|
2569
|
+
notifiedBy: "notifiedBy";
|
|
2554
2570
|
declaredIn: "declaredIn";
|
|
2555
2571
|
declaredBy: "declaredBy";
|
|
2556
2572
|
registeredIn: "registeredIn";
|
|
@@ -75,4 +75,5 @@ export type FieldType = (typeof fieldTypes)[number];
|
|
|
75
75
|
*/
|
|
76
76
|
export declare const compositeFieldTypes: ("NAME" | "ADDRESS" | "DATE_RANGE" | "FILE" | "FILE_WITH_OPTIONS" | "DATA" | "ID_READER")[];
|
|
77
77
|
export declare const FieldTypesToHideInReview: ("IMAGE_VIEW" | "PARAGRAPH" | "PAGE_HEADER" | "BULLET_LIST" | "DIVIDER" | "DATA" | "ALPHA_PRINT_BUTTON" | "HTTP" | "QUERY_PARAM_READER" | "ID_READER" | "LOADER" | "ALPHA_HIDDEN")[];
|
|
78
|
+
export declare const HiddenFieldTypes: ("HTTP" | "QUERY_PARAM_READER" | "ALPHA_HIDDEN")[];
|
|
78
79
|
//# sourceMappingURL=FieldType.d.ts.map
|
|
@@ -690,7 +690,7 @@ export declare const isHiddenFieldType: (field: {
|
|
|
690
690
|
value: undefined;
|
|
691
691
|
config: HiddenField;
|
|
692
692
|
};
|
|
693
|
-
export type NonInteractiveFieldType = Divider | PageHeader | ImageViewField | Paragraph | Heading | BulletList | DataField | AlphaPrintButton |
|
|
693
|
+
export type NonInteractiveFieldType = Divider | PageHeader | ImageViewField | Paragraph | Heading | BulletList | DataField | AlphaPrintButton | LinkButtonField | LoaderField | AutocompleteField;
|
|
694
694
|
export type InteractiveFieldType = Exclude<FieldConfig, NonInteractiveFieldType>;
|
|
695
695
|
export declare const isNonInteractiveFieldType: (field: FieldConfig) => field is NonInteractiveFieldType;
|
|
696
696
|
export {};
|
|
@@ -322,6 +322,13 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
|
322
322
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
323
323
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
324
324
|
}>]>, z.ZodString]>>>;
|
|
325
|
+
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
326
|
+
readonly INCOMPLETE: "incomplete";
|
|
327
|
+
readonly REJECTED: "rejected";
|
|
328
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
329
|
+
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
330
|
+
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
331
|
+
}>]>, z.ZodString]>>>;
|
|
325
332
|
}, z.core.$strip>>>;
|
|
326
333
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
327
334
|
}, z.core.$strip>>;
|
|
@@ -632,6 +639,13 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
|
632
639
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
633
640
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
634
641
|
}>]>, z.ZodString]>>>;
|
|
642
|
+
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
643
|
+
readonly INCOMPLETE: "incomplete";
|
|
644
|
+
readonly REJECTED: "rejected";
|
|
645
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
646
|
+
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
647
|
+
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
648
|
+
}>]>, z.ZodString]>>>;
|
|
635
649
|
}, z.core.$strip>>>;
|
|
636
650
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
637
651
|
}, z.core.$strip>>;
|
|
@@ -645,6 +659,7 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
|
645
659
|
REJECT: "REJECT";
|
|
646
660
|
MARK_AS_DUPLICATE: "MARK_AS_DUPLICATE";
|
|
647
661
|
ARCHIVE: "ARCHIVE";
|
|
662
|
+
UNARCHIVE: "UNARCHIVE";
|
|
648
663
|
PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
|
|
649
664
|
REQUEST_CORRECTION: "REQUEST_CORRECTION";
|
|
650
665
|
READ: "READ";
|
|
@@ -899,6 +914,7 @@ export declare const WorkqueueConfigWithoutQuery: z.ZodObject<{
|
|
|
899
914
|
REJECT: "REJECT";
|
|
900
915
|
MARK_AS_DUPLICATE: "MARK_AS_DUPLICATE";
|
|
901
916
|
ARCHIVE: "ARCHIVE";
|
|
917
|
+
UNARCHIVE: "UNARCHIVE";
|
|
902
918
|
PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
|
|
903
919
|
REQUEST_CORRECTION: "REQUEST_CORRECTION";
|
|
904
920
|
READ: "READ";
|
|
@@ -919,6 +935,7 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
|
|
|
919
935
|
REJECT: "REJECT";
|
|
920
936
|
MARK_AS_DUPLICATE: "MARK_AS_DUPLICATE";
|
|
921
937
|
ARCHIVE: "ARCHIVE";
|
|
938
|
+
UNARCHIVE: "UNARCHIVE";
|
|
922
939
|
PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
|
|
923
940
|
REQUEST_CORRECTION: "REQUEST_CORRECTION";
|
|
924
941
|
READ: "READ";
|
|
@@ -1361,6 +1378,13 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
|
|
|
1361
1378
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
1362
1379
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
1363
1380
|
}>]>, z.ZodString]>>>;
|
|
1381
|
+
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
1382
|
+
readonly INCOMPLETE: "incomplete";
|
|
1383
|
+
readonly REJECTED: "rejected";
|
|
1384
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
1385
|
+
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
1386
|
+
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
1387
|
+
}>]>, z.ZodString]>>>;
|
|
1364
1388
|
}, z.core.$strip>>>;
|
|
1365
1389
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1366
1390
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1670,6 +1694,13 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
|
|
|
1670
1694
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
1671
1695
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
1672
1696
|
}>]>, z.ZodString]>>>;
|
|
1697
|
+
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
1698
|
+
readonly INCOMPLETE: "incomplete";
|
|
1699
|
+
readonly REJECTED: "rejected";
|
|
1700
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
1701
|
+
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
1702
|
+
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
1703
|
+
}>]>, z.ZodString]>>>;
|
|
1673
1704
|
}, z.core.$strip>>>;
|
|
1674
1705
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1675
1706
|
}, z.core.$strip>>;
|
|
@@ -1980,6 +2011,13 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
|
|
|
1980
2011
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
1981
2012
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
1982
2013
|
}>]>, z.ZodString]>>>;
|
|
2014
|
+
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
2015
|
+
readonly INCOMPLETE: "incomplete";
|
|
2016
|
+
readonly REJECTED: "rejected";
|
|
2017
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
2018
|
+
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
2019
|
+
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
2020
|
+
}>]>, z.ZodString]>>>;
|
|
1983
2021
|
}, z.core.$strip>>>;
|
|
1984
2022
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1985
2023
|
}, z.core.$strip>>;
|
|
@@ -2130,6 +2168,7 @@ export declare function defineWorkqueue(workqueueInput: WorkqueueConfigInput): {
|
|
|
2130
2168
|
flags?: {
|
|
2131
2169
|
anyOf?: string[] | undefined;
|
|
2132
2170
|
noneOf?: string[] | undefined;
|
|
2171
|
+
allOf?: string[] | undefined;
|
|
2133
2172
|
} | undefined;
|
|
2134
2173
|
data?: unknown;
|
|
2135
2174
|
}[];
|
|
@@ -2268,6 +2307,7 @@ export declare function defineWorkqueue(workqueueInput: WorkqueueConfigInput): {
|
|
|
2268
2307
|
flags?: {
|
|
2269
2308
|
anyOf?: string[] | undefined;
|
|
2270
2309
|
noneOf?: string[] | undefined;
|
|
2310
|
+
allOf?: string[] | undefined;
|
|
2271
2311
|
} | undefined;
|
|
2272
2312
|
data?: unknown;
|
|
2273
2313
|
}[];
|
|
@@ -2284,7 +2324,7 @@ export declare function defineWorkqueue(workqueueInput: WorkqueueConfigInput): {
|
|
|
2284
2324
|
}[];
|
|
2285
2325
|
icon: "File" | "Archived" | "Assigned" | "Briefcase" | "Certified" | "Close" | "Collapse" | "Draft" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "Registered" | "RequiresUpdates" | "Sent" | "Validated" | "WaitingApproval" | "ChartActivity" | "Activity" | "Archive" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "List" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "PenNib" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Stamp" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "ChatText" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer";
|
|
2286
2326
|
action?: {
|
|
2287
|
-
type: "DELETE" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ";
|
|
2327
|
+
type: "DELETE" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ";
|
|
2288
2328
|
} | undefined;
|
|
2289
2329
|
emptyMessage?: {
|
|
2290
2330
|
id: string;
|
|
@@ -2439,6 +2479,7 @@ export declare function defineWorkqueues(workqueues: WorkqueueConfigInputWithV19
|
|
|
2439
2479
|
flags?: {
|
|
2440
2480
|
anyOf?: string[] | undefined;
|
|
2441
2481
|
noneOf?: string[] | undefined;
|
|
2482
|
+
allOf?: string[] | undefined;
|
|
2442
2483
|
} | undefined;
|
|
2443
2484
|
data?: unknown;
|
|
2444
2485
|
}[];
|
|
@@ -2577,6 +2618,7 @@ export declare function defineWorkqueues(workqueues: WorkqueueConfigInputWithV19
|
|
|
2577
2618
|
flags?: {
|
|
2578
2619
|
anyOf?: string[] | undefined;
|
|
2579
2620
|
noneOf?: string[] | undefined;
|
|
2621
|
+
allOf?: string[] | undefined;
|
|
2580
2622
|
} | undefined;
|
|
2581
2623
|
data?: unknown;
|
|
2582
2624
|
}[];
|
|
@@ -2593,7 +2635,7 @@ export declare function defineWorkqueues(workqueues: WorkqueueConfigInputWithV19
|
|
|
2593
2635
|
}[];
|
|
2594
2636
|
icon: "File" | "Archived" | "Assigned" | "Briefcase" | "Certified" | "Close" | "Collapse" | "Draft" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "Registered" | "RequiresUpdates" | "Sent" | "Validated" | "WaitingApproval" | "ChartActivity" | "Activity" | "Archive" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "List" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "PenNib" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Stamp" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "ChatText" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer";
|
|
2595
2637
|
action?: {
|
|
2596
|
-
type: "DELETE" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ";
|
|
2638
|
+
type: "DELETE" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ";
|
|
2597
2639
|
} | undefined;
|
|
2598
2640
|
emptyMessage?: {
|
|
2599
2641
|
id: string;
|
|
@@ -40,6 +40,7 @@ type ToArrayFields<T, K extends PropertyKey> = T extends unknown ? T extends obj
|
|
|
40
40
|
*/
|
|
41
41
|
export type EventIndexWithAdministrativeHierarchy = Omit<ToArrayFields<EventIndex, 'createdAtLocation' | 'updatedAtLocation' | 'placeOfEvent'>, 'legalStatuses'> & {
|
|
42
42
|
legalStatuses: {
|
|
43
|
+
NOTIFIED: ToArrayFields<ActionCreationMetadata, 'createdAtLocation'> | undefined;
|
|
43
44
|
DECLARED: ToArrayFields<ActionCreationMetadata, 'createdAtLocation'> | undefined;
|
|
44
45
|
REGISTERED: ToArrayFields<RegistrationCreationMetadata, 'createdAtLocation'> | undefined;
|
|
45
46
|
};
|
|
@@ -20,6 +20,7 @@ export declare const ACTION_SCOPE_MAP: {
|
|
|
20
20
|
MARK_AS_DUPLICATE: "record.review-duplicates"[];
|
|
21
21
|
MARK_AS_NOT_DUPLICATE: "record.review-duplicates"[];
|
|
22
22
|
ARCHIVE: "record.archive"[];
|
|
23
|
+
UNARCHIVE: "record.unarchive"[];
|
|
23
24
|
REJECT: "record.reject"[];
|
|
24
25
|
ASSIGN: null;
|
|
25
26
|
UNASSIGN: null;
|
|
@@ -65,6 +65,14 @@ export declare function applyDraftToEventIndex(eventIndex: EventIndex, draft: Dr
|
|
|
65
65
|
type: string;
|
|
66
66
|
status: "CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED";
|
|
67
67
|
legalStatuses: {
|
|
68
|
+
NOTIFIED?: {
|
|
69
|
+
createdAt: string;
|
|
70
|
+
createdBy: string;
|
|
71
|
+
acceptedAt: string;
|
|
72
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
73
|
+
createdByUserType?: "user" | "system" | null | undefined;
|
|
74
|
+
createdByRole?: string | undefined;
|
|
75
|
+
} | null | undefined;
|
|
68
76
|
DECLARED?: {
|
|
69
77
|
createdAt: string;
|
|
70
78
|
createdBy: string;
|
|
@@ -30,6 +30,15 @@ export declare function getActionUpdateMetadata(actions: Action[]): Pick<{
|
|
|
30
30
|
* @see EventIndex for the description of the returned object.
|
|
31
31
|
*/
|
|
32
32
|
export declare function getLegalStatuses(actions: Action[]): {
|
|
33
|
+
NOTIFIED: {
|
|
34
|
+
createdAt: string;
|
|
35
|
+
createdBy: string;
|
|
36
|
+
createdByUserType: "user" | "system";
|
|
37
|
+
createdAtLocation: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
38
|
+
acceptedAt: string;
|
|
39
|
+
createdByRole: string | undefined;
|
|
40
|
+
registrationNumber: string | null | undefined;
|
|
41
|
+
} | null;
|
|
33
42
|
DECLARED: {
|
|
34
43
|
createdAt: string;
|
|
35
44
|
createdBy: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UUID } from '../uuid';
|
|
2
2
|
import { ActionDocument, ActionUpdate } from './ActionDocument';
|
|
3
|
-
import { ApproveCorrectionActionInput, ArchiveActionInput, AssignActionInput, DeclareActionInput, EditActionInput, MarkAsDuplicateActionInput, MarkNotDuplicateActionInput, NotifyActionInput, RegisterActionInput, RejectCorrectionActionInput, RejectDeclarationActionInput, RequestCorrectionActionInput, UnassignActionInput } from './ActionInput';
|
|
3
|
+
import { ApproveCorrectionActionInput, ArchiveActionInput, AssignActionInput, DeclareActionInput, EditActionInput, MarkAsDuplicateActionInput, MarkNotDuplicateActionInput, NotifyActionInput, RegisterActionInput, RejectCorrectionActionInput, RejectDeclarationActionInput, RequestCorrectionActionInput, UnarchiveActionInput, UnassignActionInput } from './ActionInput';
|
|
4
4
|
import { ActionType } from './ActionType';
|
|
5
5
|
import { Draft } from './Draft';
|
|
6
6
|
import { EventConfig } from './EventConfig';
|
|
@@ -131,6 +131,14 @@ export declare function eventPayloadGenerator(rng: () => number, configuration?:
|
|
|
131
131
|
reason: string;
|
|
132
132
|
};
|
|
133
133
|
};
|
|
134
|
+
unarchive: (eventId: string, input?: Partial<Pick<UnarchiveActionInput, "transactionId" | "declaration" | "keepAssignment">>) => {
|
|
135
|
+
transactionId: string;
|
|
136
|
+
declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
|
|
137
|
+
keepAssignment?: boolean | undefined;
|
|
138
|
+
type: "UNARCHIVE";
|
|
139
|
+
annotation: {};
|
|
140
|
+
eventId: string;
|
|
141
|
+
};
|
|
134
142
|
reject: (eventId: string, input?: Partial<Pick<RejectDeclarationActionInput, "transactionId" | "annotation" | "keepAssignment">>) => {
|
|
135
143
|
transactionId: string;
|
|
136
144
|
annotation: {};
|
|
@@ -328,6 +328,20 @@ export declare function findLastAssignmentAction(actions: Action[]): {
|
|
|
328
328
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
329
329
|
annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
|
|
330
330
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
331
|
+
} | {
|
|
332
|
+
id: string & import("zod").$brand<"UUID">;
|
|
333
|
+
transactionId: string;
|
|
334
|
+
createdByUserType: "user" | "system";
|
|
335
|
+
createdAt: string;
|
|
336
|
+
createdBy: string;
|
|
337
|
+
declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
|
|
338
|
+
status: "Requested" | "Accepted" | "Rejected";
|
|
339
|
+
type: "UNARCHIVE";
|
|
340
|
+
createdByRole?: string | undefined;
|
|
341
|
+
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
342
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
343
|
+
annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
|
|
344
|
+
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
331
345
|
} | {
|
|
332
346
|
id: string & import("zod").$brand<"UUID">;
|
|
333
347
|
transactionId: string;
|
|
@@ -441,7 +455,7 @@ export declare function findLastAssignmentAction(actions: Action[]): {
|
|
|
441
455
|
createdByUserType: "user" | "system";
|
|
442
456
|
createdAt: string;
|
|
443
457
|
createdBy: string;
|
|
444
|
-
type: "CUSTOM" | "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
|
|
458
|
+
type: "CUSTOM" | "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
|
|
445
459
|
status: "Rejected";
|
|
446
460
|
createdByRole?: string | undefined;
|
|
447
461
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -152,6 +152,7 @@ var RecordScopeTypeV2 = z6.enum([
|
|
|
152
152
|
"record.edit",
|
|
153
153
|
"record.reject",
|
|
154
154
|
"record.archive",
|
|
155
|
+
"record.unarchive",
|
|
155
156
|
"record.review-duplicates",
|
|
156
157
|
"record.register",
|
|
157
158
|
"record.print-certified-copies",
|
|
@@ -191,11 +192,13 @@ var scopeOptionsPlaceEvent = z6.object({
|
|
|
191
192
|
event: scopeByEvent,
|
|
192
193
|
placeOfEvent: JurisdictionFilter.optional()
|
|
193
194
|
}).describe("Options applicable to all record scopes.");
|
|
194
|
-
var
|
|
195
|
+
var scopeOptionsDeclaredOrNotified = scopeOptionsPlaceEvent.extend({
|
|
196
|
+
notifiedIn: JurisdictionFilter.optional(),
|
|
197
|
+
notifiedBy: UserFilter.optional(),
|
|
195
198
|
declaredIn: JurisdictionFilter.optional(),
|
|
196
199
|
declaredBy: UserFilter.optional()
|
|
197
200
|
}).describe("Options applicable to actions that may take place after DECLARE");
|
|
198
|
-
var AllRecordScopeOptions =
|
|
201
|
+
var AllRecordScopeOptions = scopeOptionsDeclaredOrNotified.extend({
|
|
199
202
|
registeredIn: JurisdictionFilter.optional(),
|
|
200
203
|
registeredBy: UserFilter.optional()
|
|
201
204
|
}).describe(
|
|
@@ -233,6 +236,8 @@ var ResolvedScopeOptionsPlaceEvent = z6.object({
|
|
|
233
236
|
"Resolved options applicable to all record scopes, with location ID instead of jurisdiction filter."
|
|
234
237
|
);
|
|
235
238
|
var ResolvedScopeOptionsDeclared = ResolvedScopeOptionsPlaceEvent.extend({
|
|
239
|
+
notifiedIn: UUID.nullish(),
|
|
240
|
+
notifiedBy: z6.string().optional(),
|
|
236
241
|
declaredIn: UUID.nullish(),
|
|
237
242
|
declaredBy: z6.string().optional()
|
|
238
243
|
}).describe(
|
|
@@ -253,6 +258,7 @@ var ScopesWithDeclaredOptions = RecordScopeTypeV2.extract([
|
|
|
253
258
|
"record.edit",
|
|
254
259
|
"record.reject",
|
|
255
260
|
"record.archive",
|
|
261
|
+
"record.unarchive",
|
|
256
262
|
"record.review-duplicates",
|
|
257
263
|
"record.register"
|
|
258
264
|
]);
|
|
@@ -278,7 +284,7 @@ var RecordScopeV2 = z6.discriminatedUnion("type", [
|
|
|
278
284
|
}),
|
|
279
285
|
z6.object({
|
|
280
286
|
type: ScopesWithDeclaredOptions,
|
|
281
|
-
options:
|
|
287
|
+
options: scopeOptionsDeclaredOrNotified.optional()
|
|
282
288
|
}),
|
|
283
289
|
z6.object({
|
|
284
290
|
type: ScopesWithFullOptions,
|
|
@@ -367,8 +373,9 @@ var EncodedScope2 = z6.string().brand("EncodedScope");
|
|
|
367
373
|
var DEFAULT_SCOPE_OPTIONS = {
|
|
368
374
|
placeOfEvent: JurisdictionFilter.enum.all,
|
|
369
375
|
accessLevel: JurisdictionFilter.enum.all,
|
|
370
|
-
|
|
371
|
-
declaredIn: JurisdictionFilter.enum.all
|
|
376
|
+
notifiedIn: JurisdictionFilter.enum.all,
|
|
377
|
+
declaredIn: JurisdictionFilter.enum.all,
|
|
378
|
+
registeredIn: JurisdictionFilter.enum.all
|
|
372
379
|
};
|
|
373
380
|
|
|
374
381
|
// ../commons/src/users/userReferences.ts
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { PromptObject } from 'prompts';
|
|
2
|
+
import { Secret, Variable } from './github';
|
|
3
|
+
export type Question<T extends string> = PromptObject<T> & {
|
|
4
|
+
name: T;
|
|
5
|
+
valueType?: 'SECRET' | 'VARIABLE';
|
|
6
|
+
scope: 'ENVIRONMENT' | 'REPOSITORY';
|
|
7
|
+
valueLabel?: string;
|
|
8
|
+
};
|
|
9
|
+
export type QuestionDescriptor<T extends string> = Omit<Question<T>, 'type'> & {
|
|
10
|
+
type: 'disabled' | PromptObject<T>['type'];
|
|
11
|
+
};
|
|
12
|
+
export type SecretAnswer = {
|
|
13
|
+
type: 'SECRET';
|
|
14
|
+
scope: 'ENVIRONMENT' | 'REPOSITORY';
|
|
15
|
+
name: string;
|
|
16
|
+
value: string;
|
|
17
|
+
didExist: Secret | undefined;
|
|
18
|
+
};
|
|
19
|
+
export type VariableAnswer = {
|
|
20
|
+
type: 'VARIABLE';
|
|
21
|
+
name: string;
|
|
22
|
+
didExist: Variable | undefined;
|
|
23
|
+
value: string;
|
|
24
|
+
scope: 'ENVIRONMENT' | 'REPOSITORY';
|
|
25
|
+
};
|
|
26
|
+
export type Answer = SecretAnswer | VariableAnswer;
|
|
27
|
+
export type Answers = Answer[];
|
|
28
|
+
export type AnswerWithNullValue = (Omit<SecretAnswer, 'value'> & {
|
|
29
|
+
value: SecretAnswer['value'] | null;
|
|
30
|
+
}) | (Omit<VariableAnswer, 'value'> & {
|
|
31
|
+
value: VariableAnswer['value'] | null;
|
|
32
|
+
});
|
|
33
|
+
//# sourceMappingURL=custom-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"custom-types.d.ts","sourceRoot":"","sources":["../../src/environment/custom-types.ts"],"names":[],"mappings":"AAWA,OAAgB,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAC/C,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AAE3C,MAAM,MAAM,QAAQ,CAAC,CAAC,SAAS,MAAM,IAAI,YAAY,CAAC,CAAC,CAAC,GAAG;IACzD,IAAI,EAAE,CAAC,CAAA;IACP,SAAS,CAAC,EAAE,QAAQ,GAAG,UAAU,CAAA;IACjC,KAAK,EAAE,aAAa,GAAG,YAAY,CAAA;IACnC,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,CAAA;AAED,MAAM,MAAM,kBAAkB,CAAC,CAAC,SAAS,MAAM,IAAI,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,GAAG;IAC7E,IAAI,EAAE,UAAU,GAAG,YAAY,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAA;CAC3C,CAAA;AAED,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,QAAQ,CAAA;IACd,KAAK,EAAE,aAAa,GAAG,YAAY,CAAA;IACnC,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,UAAU,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,QAAQ,GAAG,SAAS,CAAA;IAC9B,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,aAAa,GAAG,YAAY,CAAA;CACpC,CAAA;AAED,MAAM,MAAM,MAAM,GAAG,YAAY,GAAG,cAAc,CAAA;AAClD,MAAM,MAAM,OAAO,GAAG,MAAM,EAAE,CAAA;AAC9B,MAAM,MAAM,mBAAmB,GAC3B,CAAC,IAAI,CAAC,YAAY,EAAE,OAAO,CAAC,GAAG;IAC7B,KAAK,EAAE,YAAY,CAAC,OAAO,CAAC,GAAG,IAAI,CAAA;CACpC,CAAC,GACF,CAAC,IAAI,CAAC,cAAc,EAAE,OAAO,CAAC,GAAG;IAC/B,KAAK,EAAE,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAA;CACtC,CAAC,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
4
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
5
|
+
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
6
|
+
*
|
|
7
|
+
* OpenCRVS is also distributed under the terms of the Civil Registration
|
|
8
|
+
* & Healthcare Disclaimer located at http://opencrvs.org/license.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (C) The OpenCRVS Authors located at https://github.com/opencrvs/opencrvs-core/blob/master/AUTHORS.
|
|
11
|
+
*/
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
export declare const derivedVariables: readonly [{
|
|
2
|
+
readonly name: "ACTIVATE_USERS";
|
|
3
|
+
readonly valueLabel: "ACTIVATE_USERS";
|
|
4
|
+
readonly valueType: "VARIABLE";
|
|
5
|
+
readonly type: "disabled";
|
|
6
|
+
readonly scope: "ENVIRONMENT";
|
|
7
|
+
}, {
|
|
8
|
+
readonly name: "COUNTRY_CONFIG_HOST";
|
|
9
|
+
readonly valueLabel: "COUNTRY_CONFIG_HOST";
|
|
10
|
+
readonly valueType: "VARIABLE";
|
|
11
|
+
readonly type: "disabled";
|
|
12
|
+
readonly scope: "ENVIRONMENT";
|
|
13
|
+
}, {
|
|
14
|
+
readonly name: "GATEWAY_HOST";
|
|
15
|
+
readonly valueLabel: "GATEWAY_HOST";
|
|
16
|
+
readonly valueType: "VARIABLE";
|
|
17
|
+
readonly type: "disabled";
|
|
18
|
+
readonly scope: "ENVIRONMENT";
|
|
19
|
+
}, {
|
|
20
|
+
readonly name: "CONTENT_SECURITY_POLICY_WILDCARD";
|
|
21
|
+
readonly valueLabel: "CONTENT_SECURITY_POLICY_WILDCARD";
|
|
22
|
+
readonly valueType: "VARIABLE";
|
|
23
|
+
readonly type: "disabled";
|
|
24
|
+
readonly scope: "ENVIRONMENT";
|
|
25
|
+
}, {
|
|
26
|
+
readonly name: "CLIENT_APP_URL";
|
|
27
|
+
readonly valueLabel: "CLIENT_APP_URL";
|
|
28
|
+
readonly valueType: "VARIABLE";
|
|
29
|
+
readonly type: "disabled";
|
|
30
|
+
readonly scope: "ENVIRONMENT";
|
|
31
|
+
}, {
|
|
32
|
+
readonly name: "LOGIN_URL";
|
|
33
|
+
readonly valueLabel: "LOGIN_URL";
|
|
34
|
+
readonly valueType: "VARIABLE";
|
|
35
|
+
readonly type: "disabled";
|
|
36
|
+
readonly scope: "ENVIRONMENT";
|
|
37
|
+
}, {
|
|
38
|
+
readonly name: "ELASTICSEARCH_SUPERUSER_PASSWORD";
|
|
39
|
+
readonly valueLabel: "ELASTICSEARCH_SUPERUSER_PASSWORD";
|
|
40
|
+
readonly valueType: "SECRET";
|
|
41
|
+
readonly type: "disabled";
|
|
42
|
+
readonly scope: "ENVIRONMENT";
|
|
43
|
+
}, {
|
|
44
|
+
readonly name: "KIBANA_SYSTEM_PASSWORD";
|
|
45
|
+
readonly valueLabel: "KIBANA_SYSTEM_PASSWORD";
|
|
46
|
+
readonly valueType: "SECRET";
|
|
47
|
+
readonly type: "disabled";
|
|
48
|
+
readonly scope: "ENVIRONMENT";
|
|
49
|
+
}, {
|
|
50
|
+
readonly name: "MINIO_ROOT_USER";
|
|
51
|
+
readonly valueLabel: "MINIO_ROOT_USER";
|
|
52
|
+
readonly valueType: "SECRET";
|
|
53
|
+
readonly type: "disabled";
|
|
54
|
+
readonly scope: "ENVIRONMENT";
|
|
55
|
+
}, {
|
|
56
|
+
readonly name: "MINIO_ROOT_PASSWORD";
|
|
57
|
+
readonly valueLabel: "MINIO_ROOT_PASSWORD";
|
|
58
|
+
readonly valueType: "SECRET";
|
|
59
|
+
readonly type: "disabled";
|
|
60
|
+
readonly scope: "ENVIRONMENT";
|
|
61
|
+
}, {
|
|
62
|
+
readonly name: "MONGODB_ADMIN_USER";
|
|
63
|
+
readonly valueLabel: "MONGODB_ADMIN_USER";
|
|
64
|
+
readonly valueType: "SECRET";
|
|
65
|
+
readonly type: "disabled";
|
|
66
|
+
readonly scope: "ENVIRONMENT";
|
|
67
|
+
}, {
|
|
68
|
+
readonly name: "MONGODB_ADMIN_PASSWORD";
|
|
69
|
+
readonly valueLabel: "MONGODB_ADMIN_PASSWORD";
|
|
70
|
+
readonly valueType: "SECRET";
|
|
71
|
+
readonly type: "disabled";
|
|
72
|
+
readonly scope: "ENVIRONMENT";
|
|
73
|
+
}, {
|
|
74
|
+
readonly name: "POSTGRES_USER";
|
|
75
|
+
readonly valueLabel: "POSTGRES_USER";
|
|
76
|
+
readonly valueType: "SECRET";
|
|
77
|
+
readonly type: "disabled";
|
|
78
|
+
readonly scope: "ENVIRONMENT";
|
|
79
|
+
}, {
|
|
80
|
+
readonly name: "POSTGRES_PASSWORD";
|
|
81
|
+
readonly valueLabel: "POSTGRES_PASSWORD";
|
|
82
|
+
readonly valueType: "SECRET";
|
|
83
|
+
readonly type: "disabled";
|
|
84
|
+
readonly scope: "ENVIRONMENT";
|
|
85
|
+
}, {
|
|
86
|
+
readonly name: "SUPER_USER_PASSWORD";
|
|
87
|
+
readonly valueLabel: "SUPER_USER_PASSWORD";
|
|
88
|
+
readonly valueType: "SECRET";
|
|
89
|
+
readonly type: "disabled";
|
|
90
|
+
readonly scope: "ENVIRONMENT";
|
|
91
|
+
}, {
|
|
92
|
+
readonly name: "ENCRYPTION_KEY";
|
|
93
|
+
readonly valueLabel: "ENCRYPTION_KEY";
|
|
94
|
+
readonly valueType: "SECRET";
|
|
95
|
+
readonly type: "disabled";
|
|
96
|
+
readonly scope: "ENVIRONMENT";
|
|
97
|
+
}, {
|
|
98
|
+
readonly name: "GH_ENCRYPTION_PASSWORD";
|
|
99
|
+
readonly valueLabel: "GH_ENCRYPTION_PASSWORD";
|
|
100
|
+
readonly valueType: "SECRET";
|
|
101
|
+
readonly type: "disabled";
|
|
102
|
+
readonly scope: "REPOSITORY";
|
|
103
|
+
}, {
|
|
104
|
+
readonly name: "BACKUP_ENCRYPTION_PASSPHRASE";
|
|
105
|
+
readonly valueLabel: "BACKUP_ENCRYPTION_PASSPHRASE";
|
|
106
|
+
readonly valueType: "SECRET";
|
|
107
|
+
readonly type: "disabled";
|
|
108
|
+
readonly scope: "ENVIRONMENT";
|
|
109
|
+
}, {
|
|
110
|
+
readonly name: "BACKUP_HOST_PRIVATE_KEY";
|
|
111
|
+
readonly valueLabel: "BACKUP_HOST_PRIVATE_KEY";
|
|
112
|
+
readonly valueType: "SECRET";
|
|
113
|
+
readonly type: "disabled";
|
|
114
|
+
readonly scope: "ENVIRONMENT";
|
|
115
|
+
}, {
|
|
116
|
+
readonly name: "BACKUP_HOST_PUBLIC_KEY";
|
|
117
|
+
readonly valueLabel: "BACKUP_HOST_PUBLIC_KEY";
|
|
118
|
+
readonly valueType: "SECRET";
|
|
119
|
+
readonly type: "disabled";
|
|
120
|
+
readonly scope: "ENVIRONMENT";
|
|
121
|
+
}, {
|
|
122
|
+
readonly name: "RESTORE_ENVIRONMENT_NAME";
|
|
123
|
+
readonly valueLabel: "RESTORE_ENVIRONMENT_NAME";
|
|
124
|
+
readonly valueType: "VARIABLE";
|
|
125
|
+
readonly type: "disabled";
|
|
126
|
+
readonly scope: "ENVIRONMENT";
|
|
127
|
+
}, {
|
|
128
|
+
readonly name: "NOTIFICATION_TRANSPORT";
|
|
129
|
+
readonly valueLabel: "NOTIFICATION_TRANSPORT";
|
|
130
|
+
readonly valueType: "VARIABLE";
|
|
131
|
+
readonly type: "disabled";
|
|
132
|
+
readonly scope: "ENVIRONMENT";
|
|
133
|
+
}];
|
|
134
|
+
//# sourceMappingURL=derived-variables.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"derived-variables.d.ts","sourceRoot":"","sources":["../../src/environment/derived-variables.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2JnB,CAAA"}
|