@opencrvs/toolkit 2.1.0-rc.ffe0b7f → 2.2.0-rc.9042a13
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 +2 -12
- package/build.sh +23 -5
- package/create-countryconfig/index.js +441 -59
- package/create-countryconfig/node_modules/.bin/degit +21 -0
- package/create-countryconfig/package.json +5 -2
- package/dist/application-config/index.js +391 -286
- package/dist/authentication/index.d.ts +66 -0
- package/dist/authentication/index.d.ts.map +1 -0
- package/dist/authentication/index.js +778 -0
- package/dist/cli.js +2041 -1311
- package/dist/commons/api/router.d.ts +2359 -485
- package/dist/commons/application-config/index.d.ts +0 -2
- package/dist/commons/conditionals/conditionals.d.ts +6 -6
- package/dist/commons/conditionals/validate.d.ts +34 -8
- package/dist/commons/events/ActionConfig.d.ts +131 -7
- package/dist/commons/events/ActionDocument.d.ts +123 -15
- package/dist/commons/events/ActionInput.d.ts +56 -4
- package/dist/commons/events/ActionStatus.d.ts +14 -0
- package/dist/commons/events/ActionType.d.ts +11 -1
- package/dist/commons/events/AdvancedSearchConfig.d.ts +60 -12
- package/dist/commons/events/AuditLog.d.ts +152 -0
- package/dist/commons/events/CountryConfigQueryInput.d.ts +132 -0
- package/dist/commons/events/Draft.d.ts +3 -21
- package/dist/commons/events/EventConfig.d.ts +29 -6
- package/dist/commons/events/EventDocument.d.ts +560 -4
- package/dist/commons/events/EventIndex.d.ts +23 -26
- package/dist/commons/events/EventMetadata.d.ts +24 -11
- package/dist/commons/events/EventStatus.d.ts +20 -0
- package/dist/commons/events/FieldConfig.d.ts +119 -63
- package/dist/commons/events/FieldTypeMapping.d.ts +17 -17
- package/dist/commons/events/FieldValue.d.ts +3 -2
- package/dist/commons/events/Flag.d.ts +42 -0
- package/dist/commons/events/FormConfig.d.ts +6 -0
- package/dist/commons/events/PageConfig.d.ts +4 -0
- package/dist/commons/events/PlainDate.d.ts +8 -0
- package/dist/commons/events/SummaryConfig.d.ts +249 -0
- package/dist/commons/events/WorkqueueConfig.d.ts +167 -20
- package/dist/commons/events/event.d.ts +12 -0
- package/dist/commons/events/eventConfigValidation.d.ts +17 -1
- package/dist/commons/events/index.d.ts +1 -0
- package/dist/commons/events/locationPayloads.d.ts +95 -0
- package/dist/commons/events/locations.d.ts +169 -26
- package/dist/commons/events/mocks.test.utils.d.ts +30 -0
- package/dist/commons/events/scopes.d.ts +23 -1
- package/dist/commons/events/state/index.d.ts +10 -2
- package/dist/commons/events/state/utils.d.ts +11 -1
- package/dist/commons/events/test.utils.d.ts +106 -26
- package/dist/commons/events/utils.d.ts +81 -18
- package/dist/commons/notification/UserNotifications.d.ts +28 -13
- package/dist/commons/notification/dispatch.d.ts +10 -0
- package/dist/commons/notification/index.d.ts +1 -0
- package/dist/conditionals/index.js +362 -65
- package/dist/csv.d.ts +25 -0
- package/dist/csv.d.ts.map +1 -0
- package/dist/csv.js +120 -0
- package/dist/environment/derived-variables.d.ts +18 -0
- package/dist/environment/derived-variables.d.ts.map +1 -1
- package/dist/environment/derived-variables.js +22 -1
- package/dist/environment/index.d.ts.map +1 -1
- package/dist/environment/index.js +2 -1
- package/dist/environment/logger.d.ts +15 -3
- package/dist/environment/logger.d.ts.map +1 -1
- package/dist/environment/manage-users.js +1 -1
- package/dist/environment/questions.d.ts.map +1 -1
- package/dist/environment/questions.js +20 -14
- package/dist/environment/setup-environment.d.ts +1 -1
- package/dist/environment/setup-environment.d.ts.map +1 -1
- package/dist/environment/setup-environment.js +610 -560
- package/dist/environment/swarm-to-k8s.js +3 -4
- package/dist/environment/templates.d.ts +0 -1
- package/dist/environment/templates.d.ts.map +1 -1
- package/dist/environment/templates.js +3 -8
- package/dist/environment/update-workflows.d.ts.map +1 -1
- package/dist/environment/update-workflows.js +4 -0
- package/dist/environment/utils.d.ts +0 -12
- package/dist/environment/utils.d.ts.map +1 -1
- package/dist/environment/utils.js +1 -28
- package/dist/events/index.js +7909 -7056
- package/dist/migrations/add-translations.d.ts +15 -0
- package/dist/migrations/add-translations.d.ts.map +1 -0
- package/dist/migrations/add-translations.js +151 -0
- package/dist/migrations/v2.1/add-recovery-link-notifications.d.ts +3 -0
- package/dist/migrations/v2.1/add-recovery-link-notifications.d.ts.map +1 -0
- package/dist/migrations/v2.1/add-recovery-link-notifications.js +511 -0
- package/dist/migrations/{v2.0/rename-api-paths.d.ts → v2.1/enable-telemetry.d.ts} +1 -1
- package/dist/migrations/v2.1/enable-telemetry.d.ts.map +1 -0
- package/dist/migrations/v2.1/enable-telemetry.js +455 -0
- package/dist/migrations/v2.1/index.d.ts.map +1 -1
- package/dist/migrations/v2.1/index.js +47 -215
- package/dist/migrations/v2.1/migrate-infrastructure-to-assets.d.ts +17 -0
- package/dist/migrations/v2.1/migrate-infrastructure-to-assets.d.ts.map +1 -0
- package/dist/migrations/v2.1/migrate-infrastructure-to-assets.js +348 -0
- package/dist/migrations/v2.1/remove-metabase-package-installs.d.ts +2 -0
- package/dist/migrations/v2.1/remove-metabase-package-installs.d.ts.map +1 -0
- package/dist/migrations/v2.1/remove-metabase-package-installs.js +161 -0
- package/dist/migrations/{v2.0/migrate-scopes.d.ts → v2.1/remove-sentry.d.ts} +1 -1
- package/dist/migrations/v2.1/remove-sentry.d.ts.map +1 -0
- package/dist/migrations/v2.1/remove-sentry.js +354 -0
- package/dist/migrations/{v2.0/create-events-index.d.ts → v2.1/rename-trigger-paths.d.ts} +1 -1
- package/dist/migrations/v2.1/rename-trigger-paths.d.ts.map +1 -0
- package/dist/migrations/{v2.0/rename-api-paths.js → v2.1/rename-trigger-paths.js} +69 -40
- package/dist/migrations/v2.1/template-files.d.ts +8 -0
- package/dist/migrations/v2.1/template-files.d.ts.map +1 -0
- package/dist/migrations/v2.1/template-files.js +49 -0
- package/dist/migrations/v2.1/upgrade-tilt.d.ts +11 -0
- package/dist/migrations/v2.1/upgrade-tilt.d.ts.map +1 -0
- package/dist/migrations/v2.1/upgrade-tilt.js +139 -0
- package/dist/migrations/v2.2/index.d.ts +6 -0
- package/dist/migrations/v2.2/index.d.ts.map +1 -0
- package/dist/migrations/v2.2/index.js +456 -0
- package/dist/migrations/v2.2/read-declaration-through-helper.d.ts +39 -0
- package/dist/migrations/v2.2/read-declaration-through-helper.d.ts.map +1 -0
- package/dist/migrations/v2.2/read-declaration-through-helper.js +257 -0
- package/dist/notification/index.js +2090 -1456
- package/dist/scopes/index.d.ts +637 -36
- package/dist/scopes/index.js +364 -65
- package/dist/telemetry/index.d.ts +45 -0
- package/dist/telemetry/index.d.ts.map +1 -0
- package/dist/telemetry/index.js +43 -0
- package/dist/templates/charts-values/dependencies/values.yaml +8 -0
- package/dist/templates/charts-values/opencrvs-services/values.yaml +10 -3
- package/dist/templates/charts-values/opentelemetry/values.yaml +102 -0
- package/dist/templates/charts-values/traefik/values.yaml +25 -12
- package/dist/templates/countryconfig-template/.tiltignore +1 -0
- package/dist/templates/countryconfig-template/Dockerfile.assets +7 -0
- package/dist/templates/countryconfig-template/Tiltfile +112 -0
- package/dist/templates/countryconfig-template/assets/README.md +1 -0
- package/dist/templates/countryconfig-template/assets/clear-all-data-dev.sh +61 -0
- package/dist/templates/countryconfig-template/assets/deployment/deploy.sh +455 -0
- package/dist/templates/countryconfig-template/assets/deployment/reindex.sh +168 -0
- package/dist/templates/countryconfig-template/assets/deployment/validate-required-variables-in-compose-files.ts +67 -0
- package/dist/templates/countryconfig-template/assets/elasticsearch/reindex.sh +168 -0
- package/dist/templates/countryconfig-template/assets/metabase/README.md +34 -0
- package/dist/templates/countryconfig-template/assets/metabase/environment-configuration.sql +36 -0
- package/dist/templates/countryconfig-template/assets/metabase/initialize-database.sh +46 -0
- package/dist/templates/countryconfig-template/assets/metabase/metabase.init.db.sql +27737 -0
- package/dist/templates/countryconfig-template/assets/metabase/open-shell.sh +21 -0
- package/dist/templates/countryconfig-template/assets/metabase/package.json +13 -0
- package/dist/templates/countryconfig-template/assets/metabase/run-dev.sh +108 -0
- package/dist/templates/countryconfig-template/assets/metabase/run.sh +120 -0
- package/dist/templates/countryconfig-template/assets/metabase/update-database.sh +40 -0
- package/dist/templates/countryconfig-template/assets/postgres/setup-analytics.sh +135 -0
- package/dist/templates/countryconfig-template/assets/postgres/setup-reference-data.sh +108 -0
- package/dist/templates/countryconfig-template/tilt/clear-all-data.ps1 +50 -0
- package/dist/templates/countryconfig-template/tilt/clear-all-data.sh +35 -0
- package/dist/templates/countryconfig-template/tilt/common.tilt +145 -0
- package/dist/templates/countryconfig-template/tilt/examples/dependencies/values.yaml +15 -0
- package/dist/templates/countryconfig-template/tilt/examples/opencrvs-services/values.yaml +56 -0
- package/dist/templates/countryconfig-template/tilt/examples/traefik/values-minikube.yaml +21 -0
- package/dist/templates/countryconfig-template/tilt/examples/traefik/values.yaml +38 -0
- package/dist/templates/countryconfig-template/tilt/helm/dependencies/values.yaml +17 -0
- package/dist/templates/countryconfig-template/tilt/helm/opencrvs-services/values.yaml +16 -0
- package/dist/templates/countryconfig-template/tilt/lib.tilt +95 -0
- package/dist/templates/countryconfig-template/tilt/opencrvs.tilt +136 -0
- package/dist/templates/inventory/inventory.template.yml +1 -3
- package/dist/translations/template.d.ts +11 -0
- package/dist/translations/template.d.ts.map +1 -0
- package/dist/translations/template.js +100 -0
- package/dist/verify/endpoints.d.ts +2 -0
- package/dist/verify/endpoints.d.ts.map +1 -0
- package/dist/verify/endpoints.js +510 -0
- package/opencrvs-toolkit-2.2.0-rc.9042a13.tgz +0 -0
- package/package.json +13 -7
- package/tsconfig.build.json +11 -0
- package/tsconfig.build.tsbuildinfo +1 -0
- package/tsconfig.json +3 -0
- package/dist/migrations/v2.0/add-birth-certificate-issuance-flag.d.ts +0 -3
- package/dist/migrations/v2.0/add-birth-certificate-issuance-flag.d.ts.map +0 -1
- package/dist/migrations/v2.0/add-birth-certificate-issuance-flag.js +0 -429
- package/dist/migrations/v2.0/add-resend-invite-notification.d.ts +0 -3
- package/dist/migrations/v2.0/add-resend-invite-notification.d.ts.map +0 -1
- package/dist/migrations/v2.0/add-resend-invite-notification.js +0 -373
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts +0 -22
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts.map +0 -1
- package/dist/migrations/v2.0/checkout-upstream-files.js +0 -146
- package/dist/migrations/v2.0/convert-config-files-to-ts.d.ts +0 -2
- package/dist/migrations/v2.0/convert-config-files-to-ts.d.ts.map +0 -1
- package/dist/migrations/v2.0/convert-config-files-to-ts.js +0 -838
- package/dist/migrations/v2.0/convert-paragraph-to-heading.d.ts +0 -3
- package/dist/migrations/v2.0/convert-paragraph-to-heading.d.ts.map +0 -1
- package/dist/migrations/v2.0/convert-paragraph-to-heading.js +0 -158
- package/dist/migrations/v2.0/create-events-index.d.ts.map +0 -1
- package/dist/migrations/v2.0/create-events-index.js +0 -325
- package/dist/migrations/v2.0/delete-infrastructure-directory.d.ts +0 -11
- package/dist/migrations/v2.0/delete-infrastructure-directory.d.ts.map +0 -1
- package/dist/migrations/v2.0/delete-infrastructure-directory.js +0 -123
- package/dist/migrations/v2.0/fix-accept-requested-registration-function-type.d.ts +0 -3
- package/dist/migrations/v2.0/fix-accept-requested-registration-function-type.d.ts.map +0 -1
- package/dist/migrations/v2.0/fix-accept-requested-registration-function-type.js +0 -110
- package/dist/migrations/v2.0/index.d.ts +0 -13
- package/dist/migrations/v2.0/index.d.ts.map +0 -1
- package/dist/migrations/v2.0/index.js +0 -103
- package/dist/migrations/v2.0/make-built-in-validate-actions-custom.d.ts +0 -3
- package/dist/migrations/v2.0/make-built-in-validate-actions-custom.d.ts.map +0 -1
- package/dist/migrations/v2.0/make-built-in-validate-actions-custom.js +0 -432
- package/dist/migrations/v2.0/merge-infrastructure-directory.d.ts +0 -13
- package/dist/migrations/v2.0/merge-infrastructure-directory.d.ts.map +0 -1
- package/dist/migrations/v2.0/merge-infrastructure-directory.js +0 -222
- package/dist/migrations/v2.0/migrate-application-config-url.d.ts +0 -3
- package/dist/migrations/v2.0/migrate-application-config-url.d.ts.map +0 -1
- package/dist/migrations/v2.0/migrate-application-config-url.js +0 -343
- package/dist/migrations/v2.0/migrate-scopes.d.ts.map +0 -1
- package/dist/migrations/v2.0/migrate-scopes.js +0 -305
- package/dist/migrations/v2.0/migrate-validated-workqueue-status-to-flag.d.ts +0 -3
- package/dist/migrations/v2.0/migrate-validated-workqueue-status-to-flag.d.ts.map +0 -1
- package/dist/migrations/v2.0/migrate-validated-workqueue-status-to-flag.js +0 -267
- package/dist/migrations/v2.0/migrate-workqueue-configs.d.ts +0 -3
- package/dist/migrations/v2.0/migrate-workqueue-configs.d.ts.map +0 -1
- package/dist/migrations/v2.0/migrate-workqueue-configs.js +0 -317
- package/dist/migrations/v2.0/remove-delete-actions.d.ts +0 -3
- package/dist/migrations/v2.0/remove-delete-actions.d.ts.map +0 -1
- package/dist/migrations/v2.0/remove-delete-actions.js +0 -156
- package/dist/migrations/v2.0/remove-demo-scope.d.ts +0 -3
- package/dist/migrations/v2.0/remove-demo-scope.d.ts.map +0 -1
- package/dist/migrations/v2.0/remove-demo-scope.js +0 -74
- package/dist/migrations/v2.0/remove-deprecated-imports.d.ts +0 -3
- package/dist/migrations/v2.0/remove-deprecated-imports.d.ts.map +0 -1
- package/dist/migrations/v2.0/remove-deprecated-imports.js +0 -96
- package/dist/migrations/v2.0/remove-fhir-url-helpers.d.ts +0 -3
- package/dist/migrations/v2.0/remove-fhir-url-helpers.d.ts.map +0 -1
- package/dist/migrations/v2.0/remove-fhir-url-helpers.js +0 -163
- package/dist/migrations/v2.0/remove-hearth-migrations.d.ts +0 -3
- package/dist/migrations/v2.0/remove-hearth-migrations.d.ts.map +0 -1
- package/dist/migrations/v2.0/remove-hearth-migrations.js +0 -87
- package/dist/migrations/v2.0/remove-old-statistics-service.d.ts +0 -3
- package/dist/migrations/v2.0/remove-old-statistics-service.d.ts.map +0 -1
- package/dist/migrations/v2.0/remove-old-statistics-service.js +0 -356
- package/dist/migrations/v2.0/remove-pending-certification-flag.d.ts +0 -3
- package/dist/migrations/v2.0/remove-pending-certification-flag.d.ts.map +0 -1
- package/dist/migrations/v2.0/remove-pending-certification-flag.js +0 -109
- package/dist/migrations/v2.0/remove-review-from-register-action.d.ts +0 -3
- package/dist/migrations/v2.0/remove-review-from-register-action.d.ts.map +0 -1
- package/dist/migrations/v2.0/remove-review-from-register-action.js +0 -163
- package/dist/migrations/v2.0/remove-unused-environment-variables.d.ts +0 -3
- package/dist/migrations/v2.0/remove-unused-environment-variables.d.ts.map +0 -1
- package/dist/migrations/v2.0/remove-unused-environment-variables.js +0 -186
- package/dist/migrations/v2.0/rename-api-paths.d.ts.map +0 -1
- package/dist/migrations/v2.0/rename-location-parent-id.d.ts +0 -3
- package/dist/migrations/v2.0/rename-location-parent-id.d.ts.map +0 -1
- package/dist/migrations/v2.0/rename-location-parent-id.js +0 -180
- package/dist/migrations/v2.0/simplify-analytics-precalculations.d.ts +0 -3
- package/dist/migrations/v2.0/simplify-analytics-precalculations.d.ts.map +0 -1
- package/dist/migrations/v2.0/simplify-analytics-precalculations.js +0 -195
- package/dist/migrations/v2.0/update-package-json.d.ts +0 -3
- package/dist/migrations/v2.0/update-package-json.d.ts.map +0 -1
- package/dist/migrations/v2.0/update-package-json.js +0 -105
- package/dist/templates/inventory/production.example.yml +0 -77
- package/dist/templates/inventory/qa.example.yml +0 -48
- package/opencrvs-toolkit-2.1.0-rc.ffe0b7f.tgz +0 -0
- package/tsconfig.tsbuildinfo +0 -1
|
@@ -31,9 +31,6 @@ export declare function mapFieldTypeToZod(field: FieldConfig, actionType?: Actio
|
|
|
31
31
|
}>, z.core.$strip> | z.ZodObject<{
|
|
32
32
|
age: z.ZodNumber;
|
|
33
33
|
asOfDateRef: z.ZodString;
|
|
34
|
-
}, z.core.$strip> | z.ZodObject<{
|
|
35
|
-
numericValue: z.ZodOptional<z.ZodNumber>;
|
|
36
|
-
unit: z.ZodOptional<z.ZodString>;
|
|
37
34
|
}, z.core.$strip> | z.ZodObject<{
|
|
38
35
|
path: z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">;
|
|
39
36
|
originalFilename: z.ZodString;
|
|
@@ -43,6 +40,9 @@ export declare function mapFieldTypeToZod(field: FieldConfig, actionType?: Actio
|
|
|
43
40
|
}, z.core.$strip> | z.ZodObject<{
|
|
44
41
|
numericValue: z.ZodNumber;
|
|
45
42
|
unit: z.ZodString;
|
|
43
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
44
|
+
numericValue: z.ZodOptional<z.ZodNumber>;
|
|
45
|
+
unit: z.ZodOptional<z.ZodString>;
|
|
46
46
|
}, z.core.$strip> | z.ZodObject<{
|
|
47
47
|
label: z.ZodString;
|
|
48
48
|
value: z.ZodString;
|
|
@@ -67,9 +67,6 @@ export declare function mapFieldTypeToZod(field: FieldConfig, actionType?: Actio
|
|
|
67
67
|
}>, z.core.$strip>>> | z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
68
68
|
age: z.ZodNumber;
|
|
69
69
|
asOfDateRef: z.ZodString;
|
|
70
|
-
}, z.core.$strip>>> | z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
71
|
-
numericValue: z.ZodOptional<z.ZodNumber>;
|
|
72
|
-
unit: z.ZodOptional<z.ZodString>;
|
|
73
70
|
}, z.core.$strip>>> | z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
74
71
|
path: z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">;
|
|
75
72
|
originalFilename: z.ZodString;
|
|
@@ -79,6 +76,9 @@ export declare function mapFieldTypeToZod(field: FieldConfig, actionType?: Actio
|
|
|
79
76
|
}, z.core.$strip>>> | z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
80
77
|
numericValue: z.ZodNumber;
|
|
81
78
|
unit: z.ZodString;
|
|
79
|
+
}, z.core.$strip>>> | z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
80
|
+
numericValue: z.ZodOptional<z.ZodNumber>;
|
|
81
|
+
unit: z.ZodOptional<z.ZodString>;
|
|
82
82
|
}, z.core.$strip>>> | z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
83
83
|
label: z.ZodString;
|
|
84
84
|
value: z.ZodString;
|
|
@@ -243,15 +243,6 @@ export declare function mapFieldTypeToZod(field: FieldConfig, actionType?: Actio
|
|
|
243
243
|
}, z.core.$strip>>>;
|
|
244
244
|
data: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
245
245
|
}, z.core.$strip>, z.ZodNull]>, z.ZodUndefined]>>> | z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUnknown, "CustomFieldValue", "out">>> | z.ZodString | z.ZodType<{
|
|
246
|
-
country?: string | null | undefined;
|
|
247
|
-
streetLevelDetails?: Record<string, string | null> | null | undefined;
|
|
248
|
-
addressType: "DOMESTIC";
|
|
249
|
-
administrativeArea?: string | null | undefined;
|
|
250
|
-
} | {
|
|
251
|
-
country?: string | null | undefined;
|
|
252
|
-
streetLevelDetails?: Record<string, string | null> | null | undefined;
|
|
253
|
-
addressType: "INTERNATIONAL";
|
|
254
|
-
} | {
|
|
255
246
|
country: string;
|
|
256
247
|
streetLevelDetails?: Record<string, string> | undefined;
|
|
257
248
|
addressType: "DOMESTIC";
|
|
@@ -260,7 +251,7 @@ export declare function mapFieldTypeToZod(field: FieldConfig, actionType?: Actio
|
|
|
260
251
|
country: string;
|
|
261
252
|
streetLevelDetails?: Record<string, string> | undefined;
|
|
262
253
|
addressType: "INTERNATIONAL";
|
|
263
|
-
} |
|
|
254
|
+
} | {
|
|
264
255
|
country?: string | null | undefined;
|
|
265
256
|
streetLevelDetails?: Record<string, string | null> | null | undefined;
|
|
266
257
|
addressType: "DOMESTIC";
|
|
@@ -269,7 +260,7 @@ export declare function mapFieldTypeToZod(field: FieldConfig, actionType?: Actio
|
|
|
269
260
|
country?: string | null | undefined;
|
|
270
261
|
streetLevelDetails?: Record<string, string | null> | null | undefined;
|
|
271
262
|
addressType: "INTERNATIONAL";
|
|
272
|
-
} | {
|
|
263
|
+
} | null | undefined, unknown, z.core.$ZodTypeInternals<{
|
|
273
264
|
country: string;
|
|
274
265
|
streetLevelDetails?: Record<string, string> | undefined;
|
|
275
266
|
addressType: "DOMESTIC";
|
|
@@ -278,6 +269,15 @@ export declare function mapFieldTypeToZod(field: FieldConfig, actionType?: Actio
|
|
|
278
269
|
country: string;
|
|
279
270
|
streetLevelDetails?: Record<string, string> | undefined;
|
|
280
271
|
addressType: "INTERNATIONAL";
|
|
272
|
+
} | {
|
|
273
|
+
country?: string | null | undefined;
|
|
274
|
+
streetLevelDetails?: Record<string, string | null> | null | undefined;
|
|
275
|
+
addressType: "DOMESTIC";
|
|
276
|
+
administrativeArea?: string | null | undefined;
|
|
277
|
+
} | {
|
|
278
|
+
country?: string | null | undefined;
|
|
279
|
+
streetLevelDetails?: Record<string, string | null> | null | undefined;
|
|
280
|
+
addressType: "INTERNATIONAL";
|
|
281
281
|
} | null | undefined, unknown>> | z.ZodUnion<[z.ZodObject<{
|
|
282
282
|
start: z.core.$ZodBranded<z.ZodString, "PlainDate", "out">;
|
|
283
283
|
end: z.core.$ZodBranded<z.ZodString, "PlainDate", "out">;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as z from 'zod/v4';
|
|
2
2
|
import { AddressFieldUpdateValue, AddressFieldValue, CustomFieldValue, FileFieldValue, FileFieldWithOptionValue, HttpFieldUpdateValue, IdReaderFieldValue, NameFieldUpdateValue, NameFieldValue, NumberWithUnitFieldUpdateValue, NumberWithUnitFieldValue, QrReaderFieldValue, QueryParamReaderFieldUpdateValue } from './CompositeFieldValue';
|
|
3
|
-
import { PlainDate, plainDateToLocalDate } from './PlainDate';
|
|
4
|
-
export { PlainDate, plainDateToLocalDate };
|
|
3
|
+
import { PlainDate, plainDateToLocalDate, toPlainDate } from './PlainDate';
|
|
4
|
+
export { PlainDate, plainDateToLocalDate, toPlainDate };
|
|
5
5
|
/**
|
|
6
6
|
* FieldValues defined in this file are primitive field values.
|
|
7
7
|
* FieldValues defined in CompositeFieldValue.ts are composed of multiple primitive field values (Address, File etc).
|
|
@@ -19,6 +19,7 @@ export declare const HiddenFieldValue: z.ZodString;
|
|
|
19
19
|
export declare const NonEmptyTextValue: z.ZodString;
|
|
20
20
|
export declare const DateValue: z.ZodISODate;
|
|
21
21
|
export type DateValue = z.infer<typeof DateValue>;
|
|
22
|
+
export declare const AGE_MAX_VALUE = 999;
|
|
22
23
|
export declare const AgeValue: z.ZodObject<{
|
|
23
24
|
age: z.ZodNumber;
|
|
24
25
|
asOfDateRef: z.ZodString;
|
|
@@ -32,6 +32,48 @@ export declare const Flag: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
|
32
32
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
33
33
|
}>]>, z.ZodString]>;
|
|
34
34
|
export type Flag = z.infer<typeof Flag>;
|
|
35
|
+
export declare const ContainsFlags: z.ZodObject<{
|
|
36
|
+
anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
37
|
+
readonly INCOMPLETE: 'incomplete';
|
|
38
|
+
readonly REJECTED: 'rejected';
|
|
39
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
40
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
41
|
+
/**
|
|
42
|
+
* This flag is set by the Edit-action and removed after the declaration or registration.
|
|
43
|
+
* A record should never stay with the EDIT_IN_PROGRESS flag, since it should always be declared or registered right after.
|
|
44
|
+
*
|
|
45
|
+
* We only use this flag to determine that a NOTIFY, DECLARE or REGISTER action is allowed next.
|
|
46
|
+
*/
|
|
47
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
48
|
+
}>]>, z.ZodString]>>>;
|
|
49
|
+
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
50
|
+
readonly INCOMPLETE: 'incomplete';
|
|
51
|
+
readonly REJECTED: 'rejected';
|
|
52
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
53
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
54
|
+
/**
|
|
55
|
+
* This flag is set by the Edit-action and removed after the declaration or registration.
|
|
56
|
+
* A record should never stay with the EDIT_IN_PROGRESS flag, since it should always be declared or registered right after.
|
|
57
|
+
*
|
|
58
|
+
* We only use this flag to determine that a NOTIFY, DECLARE or REGISTER action is allowed next.
|
|
59
|
+
*/
|
|
60
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
61
|
+
}>]>, z.ZodString]>>>;
|
|
62
|
+
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
63
|
+
readonly INCOMPLETE: 'incomplete';
|
|
64
|
+
readonly REJECTED: 'rejected';
|
|
65
|
+
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
66
|
+
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
67
|
+
/**
|
|
68
|
+
* This flag is set by the Edit-action and removed after the declaration or registration.
|
|
69
|
+
* A record should never stay with the EDIT_IN_PROGRESS flag, since it should always be declared or registered right after.
|
|
70
|
+
*
|
|
71
|
+
* We only use this flag to determine that a NOTIFY, DECLARE or REGISTER action is allowed next.
|
|
72
|
+
*/
|
|
73
|
+
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
74
|
+
}>]>, z.ZodString]>>>;
|
|
75
|
+
}, z.core.$strip>;
|
|
76
|
+
export type ContainsFlags = z.infer<typeof ContainsFlags>;
|
|
35
77
|
/**
|
|
36
78
|
* Configuration of a custom flag that can be associated with a certain event type.
|
|
37
79
|
*/
|
|
@@ -5,6 +5,7 @@ export declare const DeclarationFormConfig: z.ZodObject<{
|
|
|
5
5
|
id: z.ZodString;
|
|
6
6
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
7
7
|
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
8
|
+
showClearButton: z.ZodOptional<z.ZodBoolean>;
|
|
8
9
|
fields: z.ZodArray<z.ZodType<import("./FieldConfig").FieldConfig, import("./FieldConfig").FieldConfigInput, z.core.$ZodTypeInternals<import("./FieldConfig").FieldConfig, import("./FieldConfig").FieldConfigInput>>>;
|
|
9
10
|
conditional: z.ZodOptional<z.ZodAny>;
|
|
10
11
|
type: z.ZodDefault<z.ZodLiteral<"FORM">>;
|
|
@@ -18,6 +19,7 @@ export declare const ActionFormConfig: z.ZodObject<{
|
|
|
18
19
|
id: z.ZodString;
|
|
19
20
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
20
21
|
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
22
|
+
showClearButton: z.ZodOptional<z.ZodBoolean>;
|
|
21
23
|
fields: z.ZodArray<z.ZodType<import("./FieldConfig").FieldConfig, import("./FieldConfig").FieldConfigInput, z.core.$ZodTypeInternals<import("./FieldConfig").FieldConfig, import("./FieldConfig").FieldConfigInput>>>;
|
|
22
24
|
conditional: z.ZodOptional<z.ZodAny>;
|
|
23
25
|
type: z.ZodDefault<z.ZodLiteral<"FORM">>;
|
|
@@ -25,6 +27,7 @@ export declare const ActionFormConfig: z.ZodObject<{
|
|
|
25
27
|
id: z.ZodString;
|
|
26
28
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
27
29
|
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
30
|
+
showClearButton: z.ZodOptional<z.ZodBoolean>;
|
|
28
31
|
fields: z.ZodArray<z.ZodType<import("./FieldConfig").FieldConfig, import("./FieldConfig").FieldConfigInput, z.core.$ZodTypeInternals<import("./FieldConfig").FieldConfig, import("./FieldConfig").FieldConfigInput>>>;
|
|
29
32
|
conditional: z.ZodOptional<z.ZodAny>;
|
|
30
33
|
type: z.ZodLiteral<"VERIFICATION">;
|
|
@@ -50,6 +53,7 @@ export declare const FormConfig: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
50
53
|
id: z.ZodString;
|
|
51
54
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
52
55
|
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
56
|
+
showClearButton: z.ZodOptional<z.ZodBoolean>;
|
|
53
57
|
fields: z.ZodArray<z.ZodType<import("./FieldConfig").FieldConfig, import("./FieldConfig").FieldConfigInput, z.core.$ZodTypeInternals<import("./FieldConfig").FieldConfig, import("./FieldConfig").FieldConfigInput>>>;
|
|
54
58
|
conditional: z.ZodOptional<z.ZodAny>;
|
|
55
59
|
type: z.ZodDefault<z.ZodLiteral<"FORM">>;
|
|
@@ -60,6 +64,7 @@ export declare const FormConfig: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
60
64
|
id: z.ZodString;
|
|
61
65
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
62
66
|
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
67
|
+
showClearButton: z.ZodOptional<z.ZodBoolean>;
|
|
63
68
|
fields: z.ZodArray<z.ZodType<import("./FieldConfig").FieldConfig, import("./FieldConfig").FieldConfigInput, z.core.$ZodTypeInternals<import("./FieldConfig").FieldConfig, import("./FieldConfig").FieldConfigInput>>>;
|
|
64
69
|
conditional: z.ZodOptional<z.ZodAny>;
|
|
65
70
|
type: z.ZodDefault<z.ZodLiteral<"FORM">>;
|
|
@@ -67,6 +72,7 @@ export declare const FormConfig: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
67
72
|
id: z.ZodString;
|
|
68
73
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
69
74
|
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
75
|
+
showClearButton: z.ZodOptional<z.ZodBoolean>;
|
|
70
76
|
fields: z.ZodArray<z.ZodType<import("./FieldConfig").FieldConfig, import("./FieldConfig").FieldConfigInput, z.core.$ZodTypeInternals<import("./FieldConfig").FieldConfig, import("./FieldConfig").FieldConfigInput>>>;
|
|
71
77
|
conditional: z.ZodOptional<z.ZodAny>;
|
|
72
78
|
type: z.ZodLiteral<"VERIFICATION">;
|
|
@@ -9,6 +9,7 @@ export declare const FormPageConfig: z.ZodObject<{
|
|
|
9
9
|
id: z.ZodString;
|
|
10
10
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
11
11
|
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
12
|
+
showClearButton: z.ZodOptional<z.ZodBoolean>;
|
|
12
13
|
fields: z.ZodArray<z.ZodType<FieldConfig, import("./FieldConfig").FieldConfigInput, z.core.$ZodTypeInternals<FieldConfig, import("./FieldConfig").FieldConfigInput>>>;
|
|
13
14
|
conditional: z.ZodOptional<z.ZodAny>;
|
|
14
15
|
type: z.ZodDefault<z.ZodLiteral<"FORM">>;
|
|
@@ -31,6 +32,7 @@ export declare const VerificationPageConfig: z.ZodObject<{
|
|
|
31
32
|
id: z.ZodString;
|
|
32
33
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
33
34
|
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
35
|
+
showClearButton: z.ZodOptional<z.ZodBoolean>;
|
|
34
36
|
fields: z.ZodArray<z.ZodType<FieldConfig, import("./FieldConfig").FieldConfigInput, z.core.$ZodTypeInternals<FieldConfig, import("./FieldConfig").FieldConfigInput>>>;
|
|
35
37
|
conditional: z.ZodOptional<z.ZodAny>;
|
|
36
38
|
type: z.ZodLiteral<"VERIFICATION">;
|
|
@@ -52,6 +54,7 @@ export declare const PageConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
52
54
|
id: z.ZodString;
|
|
53
55
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
54
56
|
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
57
|
+
showClearButton: z.ZodOptional<z.ZodBoolean>;
|
|
55
58
|
fields: z.ZodArray<z.ZodType<FieldConfig, import("./FieldConfig").FieldConfigInput, z.core.$ZodTypeInternals<FieldConfig, import("./FieldConfig").FieldConfigInput>>>;
|
|
56
59
|
conditional: z.ZodOptional<z.ZodAny>;
|
|
57
60
|
type: z.ZodDefault<z.ZodLiteral<"FORM">>;
|
|
@@ -59,6 +62,7 @@ export declare const PageConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
59
62
|
id: z.ZodString;
|
|
60
63
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
61
64
|
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
65
|
+
showClearButton: z.ZodOptional<z.ZodBoolean>;
|
|
62
66
|
fields: z.ZodArray<z.ZodType<FieldConfig, import("./FieldConfig").FieldConfigInput, z.core.$ZodTypeInternals<FieldConfig, import("./FieldConfig").FieldConfigInput>>>;
|
|
63
67
|
conditional: z.ZodOptional<z.ZodAny>;
|
|
64
68
|
type: z.ZodLiteral<"VERIFICATION">;
|
|
@@ -9,6 +9,14 @@ import { z } from 'zod';
|
|
|
9
9
|
*/
|
|
10
10
|
export declare const PlainDate: z.core.$ZodBranded<z.ZodString, "PlainDate", "out">;
|
|
11
11
|
export type PlainDate = z.infer<typeof PlainDate>;
|
|
12
|
+
/**
|
|
13
|
+
* Extracts the plain calendar date from an ISO 8601 datetime (or passes an
|
|
14
|
+
* already-plain YYYY-MM-DD through) as a {@link PlainDate}. This is the single
|
|
15
|
+
* conversion from a timestamp to a location-resolution anchor — comparing
|
|
16
|
+
* plain dates as strings, with no timezone conversion. Assumes a valid ISO /
|
|
17
|
+
* YYYY-MM-DD input, as produced by the event metadata and date fields.
|
|
18
|
+
*/
|
|
19
|
+
export declare function toPlainDate(dateTime: string): PlainDate;
|
|
12
20
|
/**
|
|
13
21
|
* Converts a {@link PlainDate} (YYYY-MM-DD) to a local `Date` at midnight.
|
|
14
22
|
*
|
|
@@ -1,5 +1,254 @@
|
|
|
1
1
|
import * as z from 'zod/v4';
|
|
2
|
+
export declare const InfoBox: z.ZodObject<{
|
|
3
|
+
type: z.ZodEnum<{
|
|
4
|
+
info: "info";
|
|
5
|
+
negative: "negative";
|
|
6
|
+
positive: "positive";
|
|
7
|
+
warning: "warning";
|
|
8
|
+
}>;
|
|
9
|
+
background: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
10
|
+
tinted: "tinted";
|
|
11
|
+
white: "white";
|
|
12
|
+
}>>>;
|
|
13
|
+
icon: z.ZodOptional<z.ZodEnum<{
|
|
14
|
+
Activity: "Activity";
|
|
15
|
+
Archive: "Archive";
|
|
16
|
+
ArchiveBox: "ArchiveBox";
|
|
17
|
+
ArchiveTray: "ArchiveTray";
|
|
18
|
+
Archived: "Archived";
|
|
19
|
+
ArrowCircleDown: "ArrowCircleDown";
|
|
20
|
+
ArrowCounterClockwise: "ArrowCounterClockwise";
|
|
21
|
+
ArrowLeft: "ArrowLeft";
|
|
22
|
+
ArrowRight: "ArrowRight";
|
|
23
|
+
Assigned: "Assigned";
|
|
24
|
+
Briefcase: "Briefcase";
|
|
25
|
+
Buildings: "Buildings";
|
|
26
|
+
CaretDown: "CaretDown";
|
|
27
|
+
CaretLeft: "CaretLeft";
|
|
28
|
+
CaretRight: "CaretRight";
|
|
29
|
+
Certified: "Certified";
|
|
30
|
+
ChartActivity: "ChartActivity";
|
|
31
|
+
ChartBar: "ChartBar";
|
|
32
|
+
ChartLine: "ChartLine";
|
|
33
|
+
ChatCircle: "ChatCircle";
|
|
34
|
+
ChatText: "ChatText";
|
|
35
|
+
Check: "Check";
|
|
36
|
+
CheckSquare: "CheckSquare";
|
|
37
|
+
Circle: "Circle";
|
|
38
|
+
CircleWavyCheck: "CircleWavyCheck";
|
|
39
|
+
CircleWavyQuestion: "CircleWavyQuestion";
|
|
40
|
+
Clock: "Clock";
|
|
41
|
+
Close: "Close";
|
|
42
|
+
Collapse: "Collapse";
|
|
43
|
+
Compass: "Compass";
|
|
44
|
+
Copy: "Copy";
|
|
45
|
+
Database: "Database";
|
|
46
|
+
DeviceTabletCamera: "DeviceTabletCamera";
|
|
47
|
+
DotsThreeVertical: "DotsThreeVertical";
|
|
48
|
+
Draft: "Draft";
|
|
49
|
+
DuplicateYellow: "DuplicateYellow";
|
|
50
|
+
Envelope: "Envelope";
|
|
51
|
+
Expand: "Expand";
|
|
52
|
+
Export: "Export";
|
|
53
|
+
ExternalValidate: "ExternalValidate";
|
|
54
|
+
Eye: "Eye";
|
|
55
|
+
EyeSlash: "EyeSlash";
|
|
56
|
+
File: "File";
|
|
57
|
+
FileArrowUp: "FileArrowUp";
|
|
58
|
+
FileDotted: "FileDotted";
|
|
59
|
+
FileLock: "FileLock";
|
|
60
|
+
FileMinus: "FileMinus";
|
|
61
|
+
FilePlus: "FilePlus";
|
|
62
|
+
FileSearch: "FileSearch";
|
|
63
|
+
FileText: "FileText";
|
|
64
|
+
FileX: "FileX";
|
|
65
|
+
Files: "Files";
|
|
66
|
+
FilledCheck: "FilledCheck";
|
|
67
|
+
Fingerprint: "Fingerprint";
|
|
68
|
+
Gear: "Gear";
|
|
69
|
+
GitBranch: "GitBranch";
|
|
70
|
+
Globe: "Globe";
|
|
71
|
+
Handshake: "Handshake";
|
|
72
|
+
IdentificationCard: "IdentificationCard";
|
|
73
|
+
InReview: "InReview";
|
|
74
|
+
List: "List";
|
|
75
|
+
ListBullets: "ListBullets";
|
|
76
|
+
Lock: "Lock";
|
|
77
|
+
MagnifyingGlass: "MagnifyingGlass";
|
|
78
|
+
MagnifyingGlassMinus: "MagnifyingGlassMinus";
|
|
79
|
+
MagnifyingGlassPlus: "MagnifyingGlassPlus";
|
|
80
|
+
MapPin: "MapPin";
|
|
81
|
+
Medal: "Medal";
|
|
82
|
+
NotePencil: "NotePencil";
|
|
83
|
+
Offline: "Offline";
|
|
84
|
+
PaperPlaneTilt: "PaperPlaneTilt";
|
|
85
|
+
Paperclip: "Paperclip";
|
|
86
|
+
Pen: "Pen";
|
|
87
|
+
PenNib: "PenNib";
|
|
88
|
+
Pencil: "Pencil";
|
|
89
|
+
PencilCircle: "PencilCircle";
|
|
90
|
+
PencilLine: "PencilLine";
|
|
91
|
+
PencilSimpleLine: "PencilSimpleLine";
|
|
92
|
+
Phone: "Phone";
|
|
93
|
+
Plus: "Plus";
|
|
94
|
+
Printer: "Printer";
|
|
95
|
+
PushPin: "PushPin";
|
|
96
|
+
QrCode: "QrCode";
|
|
97
|
+
Registered: "Registered";
|
|
98
|
+
RequiresUpdates: "RequiresUpdates";
|
|
99
|
+
Sent: "Sent";
|
|
100
|
+
SignOut: "SignOut";
|
|
101
|
+
Stamp: "Stamp";
|
|
102
|
+
Star: "Star";
|
|
103
|
+
Sun: "Sun";
|
|
104
|
+
Target: "Target";
|
|
105
|
+
TextT: "TextT";
|
|
106
|
+
Timer: "Timer";
|
|
107
|
+
Trash: "Trash";
|
|
108
|
+
UploadSimple: "UploadSimple";
|
|
109
|
+
User: "User";
|
|
110
|
+
UserCircle: "UserCircle";
|
|
111
|
+
UserPlus: "UserPlus";
|
|
112
|
+
Users: "Users";
|
|
113
|
+
Validated: "Validated";
|
|
114
|
+
WaitingApproval: "WaitingApproval";
|
|
115
|
+
WarningCircle: "WarningCircle";
|
|
116
|
+
Webcam: "Webcam";
|
|
117
|
+
X: "X";
|
|
118
|
+
}>>;
|
|
119
|
+
heading: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
120
|
+
description: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
|
|
121
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
122
|
+
type: z.ZodLiteral<"SHOW">;
|
|
123
|
+
conditional: z.ZodAny;
|
|
124
|
+
}, z.core.$strip>>>>;
|
|
125
|
+
}, z.core.$strip>;
|
|
126
|
+
export type InfoBox = z.infer<typeof InfoBox>;
|
|
2
127
|
export declare const SummaryConfig: z.ZodObject<{
|
|
128
|
+
banners: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
129
|
+
type: z.ZodEnum<{
|
|
130
|
+
info: "info";
|
|
131
|
+
negative: "negative";
|
|
132
|
+
positive: "positive";
|
|
133
|
+
warning: "warning";
|
|
134
|
+
}>;
|
|
135
|
+
background: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
136
|
+
tinted: "tinted";
|
|
137
|
+
white: "white";
|
|
138
|
+
}>>>;
|
|
139
|
+
icon: z.ZodOptional<z.ZodEnum<{
|
|
140
|
+
Activity: "Activity";
|
|
141
|
+
Archive: "Archive";
|
|
142
|
+
ArchiveBox: "ArchiveBox";
|
|
143
|
+
ArchiveTray: "ArchiveTray";
|
|
144
|
+
Archived: "Archived";
|
|
145
|
+
ArrowCircleDown: "ArrowCircleDown";
|
|
146
|
+
ArrowCounterClockwise: "ArrowCounterClockwise";
|
|
147
|
+
ArrowLeft: "ArrowLeft";
|
|
148
|
+
ArrowRight: "ArrowRight";
|
|
149
|
+
Assigned: "Assigned";
|
|
150
|
+
Briefcase: "Briefcase";
|
|
151
|
+
Buildings: "Buildings";
|
|
152
|
+
CaretDown: "CaretDown";
|
|
153
|
+
CaretLeft: "CaretLeft";
|
|
154
|
+
CaretRight: "CaretRight";
|
|
155
|
+
Certified: "Certified";
|
|
156
|
+
ChartActivity: "ChartActivity";
|
|
157
|
+
ChartBar: "ChartBar";
|
|
158
|
+
ChartLine: "ChartLine";
|
|
159
|
+
ChatCircle: "ChatCircle";
|
|
160
|
+
ChatText: "ChatText";
|
|
161
|
+
Check: "Check";
|
|
162
|
+
CheckSquare: "CheckSquare";
|
|
163
|
+
Circle: "Circle";
|
|
164
|
+
CircleWavyCheck: "CircleWavyCheck";
|
|
165
|
+
CircleWavyQuestion: "CircleWavyQuestion";
|
|
166
|
+
Clock: "Clock";
|
|
167
|
+
Close: "Close";
|
|
168
|
+
Collapse: "Collapse";
|
|
169
|
+
Compass: "Compass";
|
|
170
|
+
Copy: "Copy";
|
|
171
|
+
Database: "Database";
|
|
172
|
+
DeviceTabletCamera: "DeviceTabletCamera";
|
|
173
|
+
DotsThreeVertical: "DotsThreeVertical";
|
|
174
|
+
Draft: "Draft";
|
|
175
|
+
DuplicateYellow: "DuplicateYellow";
|
|
176
|
+
Envelope: "Envelope";
|
|
177
|
+
Expand: "Expand";
|
|
178
|
+
Export: "Export";
|
|
179
|
+
ExternalValidate: "ExternalValidate";
|
|
180
|
+
Eye: "Eye";
|
|
181
|
+
EyeSlash: "EyeSlash";
|
|
182
|
+
File: "File";
|
|
183
|
+
FileArrowUp: "FileArrowUp";
|
|
184
|
+
FileDotted: "FileDotted";
|
|
185
|
+
FileLock: "FileLock";
|
|
186
|
+
FileMinus: "FileMinus";
|
|
187
|
+
FilePlus: "FilePlus";
|
|
188
|
+
FileSearch: "FileSearch";
|
|
189
|
+
FileText: "FileText";
|
|
190
|
+
FileX: "FileX";
|
|
191
|
+
Files: "Files";
|
|
192
|
+
FilledCheck: "FilledCheck";
|
|
193
|
+
Fingerprint: "Fingerprint";
|
|
194
|
+
Gear: "Gear";
|
|
195
|
+
GitBranch: "GitBranch";
|
|
196
|
+
Globe: "Globe";
|
|
197
|
+
Handshake: "Handshake";
|
|
198
|
+
IdentificationCard: "IdentificationCard";
|
|
199
|
+
InReview: "InReview";
|
|
200
|
+
List: "List";
|
|
201
|
+
ListBullets: "ListBullets";
|
|
202
|
+
Lock: "Lock";
|
|
203
|
+
MagnifyingGlass: "MagnifyingGlass";
|
|
204
|
+
MagnifyingGlassMinus: "MagnifyingGlassMinus";
|
|
205
|
+
MagnifyingGlassPlus: "MagnifyingGlassPlus";
|
|
206
|
+
MapPin: "MapPin";
|
|
207
|
+
Medal: "Medal";
|
|
208
|
+
NotePencil: "NotePencil";
|
|
209
|
+
Offline: "Offline";
|
|
210
|
+
PaperPlaneTilt: "PaperPlaneTilt";
|
|
211
|
+
Paperclip: "Paperclip";
|
|
212
|
+
Pen: "Pen";
|
|
213
|
+
PenNib: "PenNib";
|
|
214
|
+
Pencil: "Pencil";
|
|
215
|
+
PencilCircle: "PencilCircle";
|
|
216
|
+
PencilLine: "PencilLine";
|
|
217
|
+
PencilSimpleLine: "PencilSimpleLine";
|
|
218
|
+
Phone: "Phone";
|
|
219
|
+
Plus: "Plus";
|
|
220
|
+
Printer: "Printer";
|
|
221
|
+
PushPin: "PushPin";
|
|
222
|
+
QrCode: "QrCode";
|
|
223
|
+
Registered: "Registered";
|
|
224
|
+
RequiresUpdates: "RequiresUpdates";
|
|
225
|
+
Sent: "Sent";
|
|
226
|
+
SignOut: "SignOut";
|
|
227
|
+
Stamp: "Stamp";
|
|
228
|
+
Star: "Star";
|
|
229
|
+
Sun: "Sun";
|
|
230
|
+
Target: "Target";
|
|
231
|
+
TextT: "TextT";
|
|
232
|
+
Timer: "Timer";
|
|
233
|
+
Trash: "Trash";
|
|
234
|
+
UploadSimple: "UploadSimple";
|
|
235
|
+
User: "User";
|
|
236
|
+
UserCircle: "UserCircle";
|
|
237
|
+
UserPlus: "UserPlus";
|
|
238
|
+
Users: "Users";
|
|
239
|
+
Validated: "Validated";
|
|
240
|
+
WaitingApproval: "WaitingApproval";
|
|
241
|
+
WarningCircle: "WarningCircle";
|
|
242
|
+
Webcam: "Webcam";
|
|
243
|
+
X: "X";
|
|
244
|
+
}>>;
|
|
245
|
+
heading: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
246
|
+
description: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
|
|
247
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
248
|
+
type: z.ZodLiteral<"SHOW">;
|
|
249
|
+
conditional: z.ZodAny;
|
|
250
|
+
}, z.core.$strip>>>>;
|
|
251
|
+
}, z.core.$strip>>>>;
|
|
3
252
|
fields: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
4
253
|
emptyValueMessage: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
|
|
5
254
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|