@opencrvs/toolkit 1.8.0-rc.fcd89ec → 1.8.0-rc.fcf7cb3
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/commons/api/router.d.ts +8046 -8610
- package/dist/commons/conditionals/conditionals.d.ts +8 -15
- package/dist/commons/conditionals/validate.d.ts +14 -0
- package/dist/commons/events/ActionConfig.d.ts +68541 -36072
- package/dist/commons/events/ActionDocument.d.ts +3961 -1227
- package/dist/commons/events/ActionInput.d.ts +3138 -966
- package/dist/commons/events/ActionType.d.ts +4 -0
- package/dist/commons/events/AdvancedSearchConfig.d.ts +414 -71
- package/dist/commons/events/CompositeFieldValue.d.ts +37 -9
- package/dist/commons/events/Constants.d.ts +3 -0
- package/dist/commons/events/CountryConfigQueryInput.d.ts +4132 -0
- package/dist/commons/events/CreatedAtLocation.d.ts +1 -2
- package/dist/commons/events/Draft.d.ts +271 -93
- package/dist/commons/events/EventConfig.d.ts +33783 -18386
- package/dist/commons/events/EventDocument.d.ts +2522 -816
- package/dist/commons/events/EventIndex.d.ts +1411 -313
- package/dist/commons/events/EventInput.d.ts +0 -13
- package/dist/commons/events/EventMetadata.d.ts +113 -76
- package/dist/commons/events/FieldConfig.d.ts +4017 -1558
- package/dist/commons/events/FieldType.d.ts +10 -1
- package/dist/commons/events/FieldTypeMapping.d.ts +149 -75
- package/dist/commons/events/FieldValue.d.ts +87 -20
- package/dist/commons/events/FormConfig.d.ts +18663 -8055
- package/dist/commons/events/PageConfig.d.ts +4601 -1945
- package/dist/commons/events/SummaryConfig.d.ts +0 -5
- package/dist/commons/events/User.d.ts +34 -7
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +53 -0
- package/dist/commons/events/WorkqueueConfig.d.ts +7802 -308
- package/dist/commons/events/defineConfig.d.ts +3535 -860
- package/dist/commons/events/event.d.ts +21 -21
- package/dist/commons/events/field.d.ts +36 -10
- package/dist/commons/events/index.d.ts +5 -0
- package/dist/commons/events/scopes.d.ts +1 -2
- package/dist/commons/events/serializer.d.ts +2 -0
- package/dist/commons/events/test.utils.d.ts +206 -52
- package/dist/commons/events/transactions.d.ts +1 -1
- package/dist/commons/events/utils.d.ts +14324 -1570
- package/dist/commons/events/workqueueDefaultColumns.d.ts +3 -0
- package/dist/conditionals/index.js +70 -62
- package/dist/events/index.js +3527 -1656
- package/dist/scopes/index.d.ts +96 -7
- package/dist/scopes/index.js +105 -26
- package/package.json +3 -3
- package/tsconfig.json +1 -1
- package/dist/commons/conditionals/conditionals.test.d.ts +0 -2
- package/dist/commons/conditionals/validate-address.test.d.ts +0 -2
- package/dist/commons/conditionals/validate.test.d.ts +0 -2
- package/dist/commons/events/utils.test.d.ts +0 -2
@@ -11,16 +11,16 @@ export declare const AddressType: {
|
|
11
11
|
readonly INTERNATIONAL: "INTERNATIONAL";
|
12
12
|
};
|
13
13
|
export declare const FileFieldValue: z.ZodObject<{
|
14
|
-
|
14
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
15
15
|
originalFilename: z.ZodString;
|
16
16
|
type: z.ZodString;
|
17
17
|
}, "strip", z.ZodTypeAny, {
|
18
18
|
type: string;
|
19
|
-
|
19
|
+
path: string;
|
20
20
|
originalFilename: string;
|
21
21
|
}, {
|
22
22
|
type: string;
|
23
|
-
|
23
|
+
path: string;
|
24
24
|
originalFilename: string;
|
25
25
|
}>;
|
26
26
|
export type FileFieldValue = z.infer<typeof FileFieldValue>;
|
@@ -117,6 +117,34 @@ export declare const UrbanAddressUpdateValue: z.ZodObject<z.objectUtil.extendSha
|
|
117
117
|
street?: string | null | undefined;
|
118
118
|
zipCode?: string | null | undefined;
|
119
119
|
}>;
|
120
|
+
export declare const NameFieldValue: z.ZodObject<{
|
121
|
+
firstname: z.ZodString;
|
122
|
+
surname: z.ZodString;
|
123
|
+
middlename: z.ZodOptional<z.ZodString>;
|
124
|
+
}, "strip", z.ZodTypeAny, {
|
125
|
+
firstname: string;
|
126
|
+
surname: string;
|
127
|
+
middlename?: string | undefined;
|
128
|
+
}, {
|
129
|
+
firstname: string;
|
130
|
+
surname: string;
|
131
|
+
middlename?: string | undefined;
|
132
|
+
}>;
|
133
|
+
export declare const NameFieldUpdateValue: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
134
|
+
firstname: z.ZodString;
|
135
|
+
surname: z.ZodString;
|
136
|
+
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
137
|
+
}, "strip", z.ZodTypeAny, {
|
138
|
+
firstname: string;
|
139
|
+
surname: string;
|
140
|
+
middlename?: string | null | undefined;
|
141
|
+
}, {
|
142
|
+
firstname: string;
|
143
|
+
surname: string;
|
144
|
+
middlename?: string | null | undefined;
|
145
|
+
}>, z.ZodNull]>, z.ZodUndefined]>;
|
146
|
+
export type NameFieldValue = z.infer<typeof NameFieldValue>;
|
147
|
+
export type NameFieldUpdateValue = z.infer<typeof NameFieldUpdateValue>;
|
120
148
|
export type UrbanAddressUpdateValue = z.infer<typeof UrbanAddressUpdateValue>;
|
121
149
|
export declare const RuralAddressUpdateValue: z.ZodObject<z.objectUtil.extendShape<{
|
122
150
|
country: z.ZodString;
|
@@ -381,36 +409,36 @@ export declare const AddressFieldUpdateValue: z.ZodUnion<[z.ZodDiscriminatedUnio
|
|
381
409
|
}>]>;
|
382
410
|
export type AddressFieldValue = z.infer<typeof AddressFieldValue>;
|
383
411
|
export declare const FileFieldValueWithOption: z.ZodObject<{
|
384
|
-
|
412
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
385
413
|
originalFilename: z.ZodString;
|
386
414
|
type: z.ZodString;
|
387
415
|
option: z.ZodString;
|
388
416
|
}, "strip", z.ZodTypeAny, {
|
389
417
|
type: string;
|
390
418
|
option: string;
|
391
|
-
|
419
|
+
path: string;
|
392
420
|
originalFilename: string;
|
393
421
|
}, {
|
394
422
|
type: string;
|
395
423
|
option: string;
|
396
|
-
|
424
|
+
path: string;
|
397
425
|
originalFilename: string;
|
398
426
|
}>;
|
399
427
|
export type FileFieldValueWithOption = z.infer<typeof FileFieldValueWithOption>;
|
400
428
|
export declare const FileFieldWithOptionValue: z.ZodArray<z.ZodObject<{
|
401
|
-
|
429
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
402
430
|
originalFilename: z.ZodString;
|
403
431
|
type: z.ZodString;
|
404
432
|
option: z.ZodString;
|
405
433
|
}, "strip", z.ZodTypeAny, {
|
406
434
|
type: string;
|
407
435
|
option: string;
|
408
|
-
|
436
|
+
path: string;
|
409
437
|
originalFilename: string;
|
410
438
|
}, {
|
411
439
|
type: string;
|
412
440
|
option: string;
|
413
|
-
|
441
|
+
path: string;
|
414
442
|
originalFilename: string;
|
415
443
|
}>, "many">;
|
416
444
|
export type FileFieldWithOptionValue = z.infer<typeof FileFieldWithOptionValue>;
|