@opencrvs/toolkit 1.9.12-rc.a3b0363 → 1.9.12-rc.a425dfb
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/dist/application-config/index.js +1 -1
- package/dist/cli.js +1246 -35
- package/dist/commons/api/router.d.ts +141 -134
- package/dist/commons/events/EventConfig.d.ts +3 -1
- package/dist/commons/events/FieldConfig.d.ts +2 -2
- package/dist/commons/events/scopes.d.ts +1 -1
- package/dist/events/index.js +17 -4
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts +3 -0
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts.map +1 -0
- package/dist/migrations/v2.0/checkout-upstream-files.js +143 -0
- package/dist/migrations/v2.0/convert-config-files-to-ts.d.ts.map +1 -1
- package/dist/migrations/v2.0/convert-config-files-to-ts.js +97 -21
- package/dist/migrations/v2.0/create-events-index.d.ts +3 -0
- package/dist/migrations/v2.0/create-events-index.d.ts.map +1 -0
- package/dist/migrations/v2.0/create-events-index.js +326 -0
- package/dist/migrations/v2.0/index.d.ts.map +1 -1
- package/dist/migrations/v2.0/index.js +1244 -33
- package/dist/migrations/v2.0/migrate-scopes.d.ts.map +1 -1
- package/dist/migrations/v2.0/migrate-scopes.js +6 -5
- package/dist/migrations/v2.0/migrate-workqueue-configs.d.ts +3 -0
- package/dist/migrations/v2.0/migrate-workqueue-configs.d.ts.map +1 -0
- package/dist/migrations/v2.0/migrate-workqueue-configs.js +237 -0
- package/dist/migrations/v2.0/remove-demo-scope.d.ts +3 -0
- package/dist/migrations/v2.0/remove-demo-scope.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-demo-scope.js +75 -0
- package/dist/migrations/v2.0/remove-hearth-migrations.d.ts +3 -0
- package/dist/migrations/v2.0/remove-hearth-migrations.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-hearth-migrations.js +78 -0
- package/dist/migrations/v2.0/simplify-analytics-precalculations.d.ts +3 -0
- package/dist/migrations/v2.0/simplify-analytics-precalculations.d.ts.map +1 -0
- package/dist/migrations/v2.0/simplify-analytics-precalculations.js +196 -0
- package/dist/notification/index.js +5 -2
- package/opencrvs-toolkit-1.9.12-rc.a425dfb.tgz +0 -0
- package/package.json +1 -1
- package/tsconfig.json +3 -0
- package/tsconfig.tsbuildinfo +1 -1
- package/opencrvs-toolkit-1.9.12-rc.a3b0363.tgz +0 -0
|
@@ -1992,7 +1992,7 @@ var LocationInput = BaseField.extend({
|
|
|
1992
1992
|
configuration: import_v43.default.object({
|
|
1993
1993
|
locationTypes: import_v43.default.array(import_v43.default.string()).optional().describe("Types of the locations that are available for selection."),
|
|
1994
1994
|
allowedLocations: AllowedLocations
|
|
1995
|
-
})
|
|
1995
|
+
}).optional()
|
|
1996
1996
|
}).describe("Input field for a location");
|
|
1997
1997
|
var FileUploadWithOptions = BaseField.extend({
|
|
1998
1998
|
type: import_v43.default.literal(FieldType.FILE_WITH_OPTIONS),
|
|
@@ -3661,6 +3661,9 @@ var _EventConfigBase = z33.object({
|
|
|
3661
3661
|
),
|
|
3662
3662
|
flags: z33.array(FlagConfig).optional().default([]).describe(
|
|
3663
3663
|
"Configuration of flags associated with the actions of this event type."
|
|
3664
|
+
),
|
|
3665
|
+
analytics: z33.boolean().optional().default(true).describe(
|
|
3666
|
+
"Indicates whether the records of this event type are included in analytics"
|
|
3664
3667
|
)
|
|
3665
3668
|
});
|
|
3666
3669
|
var EventConfig = _EventConfigBase.superRefine((event2, ctx) => {
|
|
@@ -6847,7 +6850,7 @@ var ACTION_SCOPE_MAP = {
|
|
|
6847
6850
|
[ActionType.NOTIFY]: ["record.notify"],
|
|
6848
6851
|
[ActionType.DECLARE]: ["record.declare", "record.register"],
|
|
6849
6852
|
[ActionType.EDIT]: ["record.edit"],
|
|
6850
|
-
[ActionType.DELETE]: ["record.declare"],
|
|
6853
|
+
[ActionType.DELETE]: ["record.declare", "record.notify"],
|
|
6851
6854
|
[ActionType.REGISTER]: ["record.register"],
|
|
6852
6855
|
[ActionType.PRINT_CERTIFICATE]: ["record.print-certified-copies"],
|
|
6853
6856
|
[ActionType.REQUEST_CORRECTION]: [
|
|
Binary file
|
package/package.json
CHANGED
package/tsconfig.json
CHANGED
|
@@ -20,6 +20,9 @@
|
|
|
20
20
|
"@opencrvs/commons/events/deduplication": [
|
|
21
21
|
"../commons/src/events/deduplication.ts"
|
|
22
22
|
],
|
|
23
|
+
"@opencrvs/commons/scopes.deprecated.do-not-use": [
|
|
24
|
+
"../commons/src/scopes.deprecated.do-not-use.ts"
|
|
25
|
+
],
|
|
23
26
|
"@opencrvs/commons/notification": [
|
|
24
27
|
"../commons/src/notification/index.ts"
|
|
25
28
|
],
|
package/tsconfig.tsbuildinfo
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"root":["./src/cli.ts","./src/api/index.ts","./src/application-config/index.ts","./src/conditionals/index.ts","./src/events/deduplication.ts","./src/events/index.ts","./src/migrations/v2.0/add-birth-certificate-issuance-flag.ts","./src/migrations/v2.0/convert-config-files-to-ts.ts","./src/migrations/v2.0/convert-paragraph-to-heading.ts","./src/migrations/v2.0/index.ts","./src/migrations/v2.0/make-built-in-validate-actions-custom.ts","./src/migrations/v2.0/migrate-scopes.ts","./src/migrations/v2.0/migrate-validated-workqueue-status-to-flag.ts","./src/migrations/v2.0/remove-delete-actions.ts","./src/migrations/v2.0/remove-deprecated-imports.ts","./src/migrations/v2.0/remove-pending-certification-flag.ts","./src/migrations/v2.0/remove-review-from-register-action.ts","./src/migrations/v2.0/rename-api-paths.ts","./src/migrations/v2.0/rename-location-parent-id.ts","./src/notification/index.ts","./src/scopes/index.ts"],"version":"5.6.3"}
|
|
1
|
+
{"root":["./src/cli.ts","./src/api/index.ts","./src/application-config/index.ts","./src/conditionals/index.ts","./src/events/deduplication.ts","./src/events/index.ts","./src/migrations/v2.0/add-birth-certificate-issuance-flag.ts","./src/migrations/v2.0/checkout-upstream-files.ts","./src/migrations/v2.0/convert-config-files-to-ts.ts","./src/migrations/v2.0/convert-paragraph-to-heading.ts","./src/migrations/v2.0/create-events-index.ts","./src/migrations/v2.0/index.ts","./src/migrations/v2.0/make-built-in-validate-actions-custom.ts","./src/migrations/v2.0/migrate-scopes.ts","./src/migrations/v2.0/migrate-validated-workqueue-status-to-flag.ts","./src/migrations/v2.0/migrate-workqueue-configs.ts","./src/migrations/v2.0/remove-delete-actions.ts","./src/migrations/v2.0/remove-demo-scope.ts","./src/migrations/v2.0/remove-deprecated-imports.ts","./src/migrations/v2.0/remove-hearth-migrations.ts","./src/migrations/v2.0/remove-pending-certification-flag.ts","./src/migrations/v2.0/remove-review-from-register-action.ts","./src/migrations/v2.0/rename-api-paths.ts","./src/migrations/v2.0/rename-location-parent-id.ts","./src/migrations/v2.0/simplify-analytics-precalculations.ts","./src/notification/index.ts","./src/scopes/index.ts"],"version":"5.6.3"}
|
|
Binary file
|