@opencrvs/toolkit 1.8.1-rc.8c25e85 → 1.8.1-rc.a372970
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 +5078 -5910
- package/dist/commons/conditionals/conditionals.d.ts +13 -9
- package/dist/commons/conditionals/validate.d.ts +6 -15
- package/dist/commons/events/ActionConfig.d.ts +1718 -119315
- package/dist/commons/events/ActionDocument.d.ts +1325 -4879
- package/dist/commons/events/ActionInput.d.ts +1025 -3205
- package/dist/commons/events/ActionType.d.ts +1 -10
- package/dist/commons/events/AdvancedSearchConfig.d.ts +22 -1282
- package/dist/commons/events/CompositeFieldValue.d.ts +9 -40
- package/dist/commons/events/Draft.d.ts +97 -288
- package/dist/commons/events/EventConfig.d.ts +1359 -54365
- package/dist/commons/events/EventDocument.d.ts +833 -2720
- package/dist/commons/events/EventIndex.d.ts +29 -2228
- package/dist/commons/events/EventMetadata.d.ts +47 -347
- package/dist/commons/events/FieldConfig.d.ts +1250 -6746
- package/dist/commons/events/FieldType.d.ts +3 -8
- package/dist/commons/events/FieldTypeMapping.d.ts +73 -161
- package/dist/commons/events/FieldValue.d.ts +20 -91
- package/dist/commons/events/FormConfig.d.ts +533 -55781
- package/dist/commons/events/PageConfig.d.ts +208 -13824
- package/dist/commons/events/SummaryConfig.d.ts +42 -93
- package/dist/commons/events/User.d.ts +2 -34
- package/dist/commons/events/WorkqueueConfig.d.ts +20 -8116
- package/dist/commons/events/defineConfig.d.ts +99 -8551
- package/dist/commons/events/index.d.ts +0 -8
- package/dist/commons/events/test.utils.d.ts +90 -206
- package/dist/commons/events/transactions.d.ts +1 -1
- package/dist/commons/events/utils.d.ts +94 -15442
- package/dist/conditionals/index.js +56 -66
- package/dist/events/index.js +1835 -4707
- package/dist/scopes/index.d.ts +7 -184
- package/dist/scopes/index.js +40 -140
- package/package.json +3 -4
- package/dist/commons/events/Constants.d.ts +0 -3
- package/dist/commons/events/CountryConfigQueryInput.d.ts +0 -4132
- package/dist/commons/events/CreatedAtLocation.d.ts +0 -2
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +0 -53
- package/dist/commons/events/event.d.ts +0 -46
- package/dist/commons/events/field.d.ts +0 -94
- package/dist/commons/events/scopes.d.ts +0 -45
- package/dist/commons/events/serializer.d.ts +0 -2
- package/dist/commons/events/workqueueDefaultColumns.d.ts +0 -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
|
+
filename: z.ZodString;
|
15
15
|
originalFilename: z.ZodString;
|
16
16
|
type: z.ZodString;
|
17
17
|
}, "strip", z.ZodTypeAny, {
|
18
18
|
type: string;
|
19
|
-
|
19
|
+
filename: string;
|
20
20
|
originalFilename: string;
|
21
21
|
}, {
|
22
22
|
type: string;
|
23
|
-
|
23
|
+
filename: string;
|
24
24
|
originalFilename: string;
|
25
25
|
}>;
|
26
26
|
export type FileFieldValue = z.infer<typeof FileFieldValue>;
|
@@ -117,35 +117,6 @@ 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.ZodOptional<z.ZodNullable<z.ZodString>>;
|
135
|
-
surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
136
|
-
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
137
|
-
}, "strip", z.ZodTypeAny, {
|
138
|
-
firstname?: string | null | undefined;
|
139
|
-
surname?: string | null | undefined;
|
140
|
-
middlename?: string | null | undefined;
|
141
|
-
}, {
|
142
|
-
firstname?: string | null | undefined;
|
143
|
-
surname?: string | null | undefined;
|
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>;
|
148
|
-
export type UrbanAddressUpdateValue = z.infer<typeof UrbanAddressUpdateValue>;
|
149
120
|
export declare const RuralAddressUpdateValue: z.ZodObject<z.objectUtil.extendShape<{
|
150
121
|
country: z.ZodString;
|
151
122
|
addressType: z.ZodLiteral<"DOMESTIC">;
|
@@ -169,7 +140,6 @@ export declare const RuralAddressUpdateValue: z.ZodObject<z.objectUtil.extendSha
|
|
169
140
|
urbanOrRural: "RURAL";
|
170
141
|
village?: string | null | undefined;
|
171
142
|
}>;
|
172
|
-
export type RuralAddressUpdateValue = z.infer<typeof RuralAddressUpdateValue>;
|
173
143
|
export declare const GenericAddressValue: z.ZodObject<{
|
174
144
|
country: z.ZodString;
|
175
145
|
addressType: z.ZodLiteral<"INTERNATIONAL">;
|
@@ -319,7 +289,6 @@ export declare const GenericAddressUpdateValue: z.ZodObject<{
|
|
319
289
|
addressLine3?: string | null | undefined;
|
320
290
|
postcodeOrZip?: string | null | undefined;
|
321
291
|
}>;
|
322
|
-
export type GenericAddressUpdateValue = z.infer<typeof GenericAddressUpdateValue>;
|
323
292
|
export declare const AddressFieldUpdateValue: z.ZodUnion<[z.ZodDiscriminatedUnion<"urbanOrRural", [z.ZodObject<z.objectUtil.extendShape<{
|
324
293
|
country: z.ZodString;
|
325
294
|
addressType: z.ZodLiteral<"DOMESTIC">;
|
@@ -409,36 +378,36 @@ export declare const AddressFieldUpdateValue: z.ZodUnion<[z.ZodDiscriminatedUnio
|
|
409
378
|
}>]>;
|
410
379
|
export type AddressFieldValue = z.infer<typeof AddressFieldValue>;
|
411
380
|
export declare const FileFieldValueWithOption: z.ZodObject<{
|
412
|
-
|
381
|
+
filename: z.ZodString;
|
413
382
|
originalFilename: z.ZodString;
|
414
383
|
type: z.ZodString;
|
415
384
|
option: z.ZodString;
|
416
385
|
}, "strip", z.ZodTypeAny, {
|
417
386
|
type: string;
|
418
387
|
option: string;
|
419
|
-
|
388
|
+
filename: string;
|
420
389
|
originalFilename: string;
|
421
390
|
}, {
|
422
391
|
type: string;
|
423
392
|
option: string;
|
424
|
-
|
393
|
+
filename: string;
|
425
394
|
originalFilename: string;
|
426
395
|
}>;
|
427
396
|
export type FileFieldValueWithOption = z.infer<typeof FileFieldValueWithOption>;
|
428
397
|
export declare const FileFieldWithOptionValue: z.ZodArray<z.ZodObject<{
|
429
|
-
|
398
|
+
filename: z.ZodString;
|
430
399
|
originalFilename: z.ZodString;
|
431
400
|
type: z.ZodString;
|
432
401
|
option: z.ZodString;
|
433
402
|
}, "strip", z.ZodTypeAny, {
|
434
403
|
type: string;
|
435
404
|
option: string;
|
436
|
-
|
405
|
+
filename: string;
|
437
406
|
originalFilename: string;
|
438
407
|
}, {
|
439
408
|
type: string;
|
440
409
|
option: string;
|
441
|
-
|
410
|
+
filename: string;
|
442
411
|
originalFilename: string;
|
443
412
|
}>, "many">;
|
444
413
|
export type FileFieldWithOptionValue = z.infer<typeof FileFieldWithOptionValue>;
|