@opencrvs/toolkit 1.8.0-rc.ffe24c3 → 1.8.1-rc.008155b
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 +1791 -14926
- package/dist/commons/conditionals/conditionals.d.ts +0 -12
- package/dist/commons/conditionals/validate.d.ts +5 -0
- package/dist/commons/events/ActionConfig.d.ts +37041 -35133
- package/dist/commons/events/ActionDocument.d.ts +3742 -1637
- package/dist/commons/events/ActionInput.d.ts +2342 -1380
- package/dist/commons/events/ActionType.d.ts +7 -4
- package/dist/commons/events/AdvancedSearchConfig.d.ts +153 -86
- package/dist/commons/events/CompositeFieldValue.d.ts +15 -15
- package/dist/commons/events/CountryConfigQueryInput.d.ts +1174 -772
- package/dist/commons/events/Draft.d.ts +190 -118
- package/dist/commons/events/EventConfig.d.ts +20268 -22409
- package/dist/commons/events/EventDocument.d.ts +1714 -1021
- package/dist/commons/events/EventIndex.d.ts +523 -182
- package/dist/commons/events/EventMetadata.d.ts +9 -7
- package/dist/commons/events/FieldConfig.d.ts +1527 -455
- package/dist/commons/events/FieldType.d.ts +3 -1
- package/dist/commons/events/FieldTypeMapping.d.ts +80 -41
- package/dist/commons/events/FieldValue.d.ts +58 -28
- package/dist/commons/events/FormConfig.d.ts +9263 -2657
- package/dist/commons/events/PageConfig.d.ts +3642 -2028
- package/dist/commons/events/SummaryConfig.d.ts +10 -10
- package/dist/commons/events/User.d.ts +6 -3
- package/dist/commons/events/WorkqueueConfig.d.ts +2290 -1350
- package/dist/commons/events/defineConfig.d.ts +2761 -3252
- package/dist/commons/events/event.d.ts +19 -19
- package/dist/commons/events/field.d.ts +27 -1
- package/dist/commons/events/scopes.d.ts +2 -1
- package/dist/commons/events/test.utils.d.ts +62 -34
- package/dist/commons/events/utils.d.ts +8851 -6797
- package/dist/conditionals/index.js +25 -55
- package/dist/events/index.js +1657 -1377
- package/dist/scopes/index.d.ts +92 -6
- package/dist/scopes/index.js +38 -9
- package/package.json +3 -3
@@ -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>;
|
@@ -131,16 +131,16 @@ export declare const NameFieldValue: z.ZodObject<{
|
|
131
131
|
middlename?: string | undefined;
|
132
132
|
}>;
|
133
133
|
export declare const NameFieldUpdateValue: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
134
|
-
firstname: z.ZodString
|
135
|
-
surname: z.ZodString
|
134
|
+
firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
135
|
+
surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
136
136
|
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
137
137
|
}, "strip", z.ZodTypeAny, {
|
138
|
-
firstname
|
139
|
-
surname
|
138
|
+
firstname?: string | null | undefined;
|
139
|
+
surname?: string | null | undefined;
|
140
140
|
middlename?: string | null | undefined;
|
141
141
|
}, {
|
142
|
-
firstname
|
143
|
-
surname
|
142
|
+
firstname?: string | null | undefined;
|
143
|
+
surname?: string | null | undefined;
|
144
144
|
middlename?: string | null | undefined;
|
145
145
|
}>, z.ZodNull]>, z.ZodUndefined]>;
|
146
146
|
export type NameFieldValue = z.infer<typeof NameFieldValue>;
|
@@ -409,36 +409,36 @@ export declare const AddressFieldUpdateValue: z.ZodUnion<[z.ZodDiscriminatedUnio
|
|
409
409
|
}>]>;
|
410
410
|
export type AddressFieldValue = z.infer<typeof AddressFieldValue>;
|
411
411
|
export declare const FileFieldValueWithOption: z.ZodObject<{
|
412
|
-
|
412
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
413
413
|
originalFilename: z.ZodString;
|
414
414
|
type: z.ZodString;
|
415
415
|
option: z.ZodString;
|
416
416
|
}, "strip", z.ZodTypeAny, {
|
417
417
|
type: string;
|
418
418
|
option: string;
|
419
|
-
|
419
|
+
path: string;
|
420
420
|
originalFilename: string;
|
421
421
|
}, {
|
422
422
|
type: string;
|
423
423
|
option: string;
|
424
|
-
|
424
|
+
path: string;
|
425
425
|
originalFilename: string;
|
426
426
|
}>;
|
427
427
|
export type FileFieldValueWithOption = z.infer<typeof FileFieldValueWithOption>;
|
428
428
|
export declare const FileFieldWithOptionValue: z.ZodArray<z.ZodObject<{
|
429
|
-
|
429
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
430
430
|
originalFilename: z.ZodString;
|
431
431
|
type: z.ZodString;
|
432
432
|
option: z.ZodString;
|
433
433
|
}, "strip", z.ZodTypeAny, {
|
434
434
|
type: string;
|
435
435
|
option: string;
|
436
|
-
|
436
|
+
path: string;
|
437
437
|
originalFilename: string;
|
438
438
|
}, {
|
439
439
|
type: string;
|
440
440
|
option: string;
|
441
|
-
|
441
|
+
path: string;
|
442
442
|
originalFilename: string;
|
443
443
|
}>, "many">;
|
444
444
|
export type FileFieldWithOptionValue = z.infer<typeof FileFieldWithOptionValue>;
|