@opencrvs/toolkit 1.8.1-rc.a372970 → 1.8.1-rc.be16155
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 +5934 -5078
- package/dist/commons/conditionals/conditionals.d.ts +9 -13
- package/dist/commons/conditionals/validate.d.ts +15 -6
- package/dist/commons/events/ActionConfig.d.ts +119326 -1729
- package/dist/commons/events/ActionDocument.d.ts +4860 -1270
- package/dist/commons/events/ActionInput.d.ts +3241 -1025
- package/dist/commons/events/ActionType.d.ts +10 -1
- package/dist/commons/events/AdvancedSearchConfig.d.ts +1282 -22
- package/dist/commons/events/CompositeFieldValue.d.ts +40 -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 +2 -0
- package/dist/commons/events/Draft.d.ts +288 -97
- package/dist/commons/events/EventConfig.d.ts +54363 -1357
- package/dist/commons/events/EventDocument.d.ts +2746 -833
- package/dist/commons/events/EventIndex.d.ts +2228 -29
- package/dist/commons/events/EventMetadata.d.ts +347 -47
- package/dist/commons/events/FieldConfig.d.ts +6756 -1260
- package/dist/commons/events/FieldType.d.ts +8 -3
- package/dist/commons/events/FieldTypeMapping.d.ts +161 -73
- package/dist/commons/events/FieldValue.d.ts +91 -20
- package/dist/commons/events/FormConfig.d.ts +55770 -522
- package/dist/commons/events/PageConfig.d.ts +13825 -209
- package/dist/commons/events/SummaryConfig.d.ts +93 -42
- package/dist/commons/events/User.d.ts +34 -2
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +53 -0
- package/dist/commons/events/WorkqueueConfig.d.ts +8116 -20
- package/dist/commons/events/defineConfig.d.ts +8529 -77
- package/dist/commons/events/event.d.ts +46 -0
- package/dist/commons/events/field.d.ts +94 -0
- package/dist/commons/events/index.d.ts +8 -0
- package/dist/commons/events/scopes.d.ts +45 -0
- package/dist/commons/events/serializer.d.ts +2 -0
- package/dist/commons/events/test.utils.d.ts +210 -90
- package/dist/commons/events/transactions.d.ts +1 -1
- package/dist/commons/events/utils.d.ts +15436 -88
- package/dist/commons/events/workqueueDefaultColumns.d.ts +3 -0
- package/dist/conditionals/index.js +66 -56
- package/dist/events/index.js +4662 -1786
- package/dist/scopes/index.d.ts +184 -7
- package/dist/scopes/index.js +140 -40
- package/package.json +4 -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>;
|
@@ -117,6 +117,35 @@ 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>;
|
120
149
|
export declare const RuralAddressUpdateValue: z.ZodObject<z.objectUtil.extendShape<{
|
121
150
|
country: z.ZodString;
|
122
151
|
addressType: z.ZodLiteral<"DOMESTIC">;
|
@@ -140,6 +169,7 @@ export declare const RuralAddressUpdateValue: z.ZodObject<z.objectUtil.extendSha
|
|
140
169
|
urbanOrRural: "RURAL";
|
141
170
|
village?: string | null | undefined;
|
142
171
|
}>;
|
172
|
+
export type RuralAddressUpdateValue = z.infer<typeof RuralAddressUpdateValue>;
|
143
173
|
export declare const GenericAddressValue: z.ZodObject<{
|
144
174
|
country: z.ZodString;
|
145
175
|
addressType: z.ZodLiteral<"INTERNATIONAL">;
|
@@ -289,6 +319,7 @@ export declare const GenericAddressUpdateValue: z.ZodObject<{
|
|
289
319
|
addressLine3?: string | null | undefined;
|
290
320
|
postcodeOrZip?: string | null | undefined;
|
291
321
|
}>;
|
322
|
+
export type GenericAddressUpdateValue = z.infer<typeof GenericAddressUpdateValue>;
|
292
323
|
export declare const AddressFieldUpdateValue: z.ZodUnion<[z.ZodDiscriminatedUnion<"urbanOrRural", [z.ZodObject<z.objectUtil.extendShape<{
|
293
324
|
country: z.ZodString;
|
294
325
|
addressType: z.ZodLiteral<"DOMESTIC">;
|
@@ -378,36 +409,36 @@ export declare const AddressFieldUpdateValue: z.ZodUnion<[z.ZodDiscriminatedUnio
|
|
378
409
|
}>]>;
|
379
410
|
export type AddressFieldValue = z.infer<typeof AddressFieldValue>;
|
380
411
|
export declare const FileFieldValueWithOption: z.ZodObject<{
|
381
|
-
|
412
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
382
413
|
originalFilename: z.ZodString;
|
383
414
|
type: z.ZodString;
|
384
415
|
option: z.ZodString;
|
385
416
|
}, "strip", z.ZodTypeAny, {
|
386
417
|
type: string;
|
387
418
|
option: string;
|
388
|
-
|
419
|
+
path: string;
|
389
420
|
originalFilename: string;
|
390
421
|
}, {
|
391
422
|
type: string;
|
392
423
|
option: string;
|
393
|
-
|
424
|
+
path: string;
|
394
425
|
originalFilename: string;
|
395
426
|
}>;
|
396
427
|
export type FileFieldValueWithOption = z.infer<typeof FileFieldValueWithOption>;
|
397
428
|
export declare const FileFieldWithOptionValue: z.ZodArray<z.ZodObject<{
|
398
|
-
|
429
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
399
430
|
originalFilename: z.ZodString;
|
400
431
|
type: z.ZodString;
|
401
432
|
option: z.ZodString;
|
402
433
|
}, "strip", z.ZodTypeAny, {
|
403
434
|
type: string;
|
404
435
|
option: string;
|
405
|
-
|
436
|
+
path: string;
|
406
437
|
originalFilename: string;
|
407
438
|
}, {
|
408
439
|
type: string;
|
409
440
|
option: string;
|
410
|
-
|
441
|
+
path: string;
|
411
442
|
originalFilename: string;
|
412
443
|
}>, "many">;
|
413
444
|
export type FileFieldWithOptionValue = z.infer<typeof FileFieldWithOptionValue>;
|