@opencrvs/toolkit 1.9.2-rc.c3822a1 → 1.9.2-rc.f6dcfa6
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 +1620 -26666
- package/dist/commons/conditionals/conditionals.d.ts +1 -10
- package/dist/commons/conditionals/validate.d.ts +4 -11
- package/dist/commons/events/ActionConfig.d.ts +1525 -21293
- package/dist/commons/events/ActionDocument.d.ts +1849 -764
- package/dist/commons/events/ActionInput.d.ts +1066 -264
- package/dist/commons/events/ActionType.d.ts +8 -85
- package/dist/commons/events/AdvancedSearchConfig.d.ts +1238 -211
- package/dist/commons/events/CompositeFieldValue.d.ts +176 -25
- package/dist/commons/events/Conditional.d.ts +38 -26
- package/dist/commons/events/Constants.d.ts +1 -1
- package/dist/commons/events/CountryConfigQueryInput.d.ts +4169 -919
- package/dist/commons/events/CreatedAtLocation.d.ts +1 -1
- package/dist/commons/events/DeduplicationConfig.d.ts +150 -15
- package/dist/commons/events/Draft.d.ts +105 -70
- package/dist/commons/events/DynamicFieldValue.d.ts +91 -7
- package/dist/commons/events/EventConfig.d.ts +2096 -17110
- package/dist/commons/events/EventConfigInput.d.ts +1 -1
- package/dist/commons/events/EventDocument.d.ts +1326 -311
- package/dist/commons/events/EventIndex.d.ts +967 -191
- package/dist/commons/events/EventInput.d.ts +8 -2
- package/dist/commons/events/EventMetadata.d.ts +345 -102
- package/dist/commons/events/FieldConfig.d.ts +11775 -4088
- package/dist/commons/events/FieldType.d.ts +2 -6
- package/dist/commons/events/FieldTypeMapping.d.ts +810 -164
- package/dist/commons/events/FieldValue.d.ts +354 -80
- package/dist/commons/events/FormConfig.d.ts +697 -12636
- package/dist/commons/events/PageConfig.d.ts +314 -8441
- package/dist/commons/events/SummaryConfig.d.ts +161 -14
- package/dist/commons/events/TranslationConfig.d.ts +2 -2
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +36 -70
- package/dist/commons/events/WorkqueueConfig.d.ts +7080 -1597
- package/dist/commons/events/deduplication.d.ts +3 -3
- package/dist/commons/events/defineConfig.d.ts +155 -24703
- package/dist/commons/events/index.d.ts +0 -1
- package/dist/commons/events/locations.d.ts +19 -15
- package/dist/commons/events/scopes.d.ts +0 -1
- package/dist/commons/events/state/availableActions.d.ts +1 -2
- package/dist/commons/events/state/flags.d.ts +3 -21
- package/dist/commons/events/state/index.d.ts +19 -17
- package/dist/commons/events/state/utils.d.ts +112 -127
- package/dist/commons/events/test.utils.d.ts +5 -11
- package/dist/commons/events/transactions.d.ts +1 -1
- package/dist/commons/events/utils.d.ts +359 -49444
- package/dist/commons/notification/UserNotifications.d.ts +636 -55
- package/dist/conditionals/index.d.ts.map +1 -1
- package/dist/conditionals/index.js +5 -38
- package/dist/events/deduplication.d.ts +3 -3
- package/dist/events/index.js +1360 -1502
- package/dist/notification/index.d.ts.map +1 -1
- package/dist/notification/index.js +1279 -1276
- package/dist/scopes/index.d.ts +136 -106
- package/dist/scopes/index.d.ts.map +1 -1
- package/dist/scopes/index.js +93 -116
- package/package.json +5 -5
- package/dist/commons/events/Flag.d.ts +0 -43
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import * as z from 'zod/v4';
|
|
2
|
-
export declare const InherentFlags: {
|
|
3
|
-
readonly PENDING_CERTIFICATION: "pending-certification";
|
|
4
|
-
readonly INCOMPLETE: "incomplete";
|
|
5
|
-
readonly REJECTED: "rejected";
|
|
6
|
-
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
7
|
-
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
8
|
-
};
|
|
9
|
-
export type InherentFlags = (typeof InherentFlags)[keyof typeof InherentFlags];
|
|
10
|
-
export declare const ActionFlag: z.ZodString;
|
|
11
|
-
export type ActionFlag = z.infer<typeof ActionFlag>;
|
|
12
|
-
/** Custom flag identifier defined by the country config. These may not match any InherentFlags or ActionFlag patterns. */
|
|
13
|
-
export declare const CustomFlag: z.ZodString;
|
|
14
|
-
export type CustomFlag = z.infer<typeof CustomFlag>;
|
|
15
|
-
export declare const Flag: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
16
|
-
readonly PENDING_CERTIFICATION: "pending-certification";
|
|
17
|
-
readonly INCOMPLETE: "incomplete";
|
|
18
|
-
readonly REJECTED: "rejected";
|
|
19
|
-
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
20
|
-
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
21
|
-
}>]>, z.ZodString]>;
|
|
22
|
-
export type Flag = z.infer<typeof Flag>;
|
|
23
|
-
/**
|
|
24
|
-
* Configuration of a custom flag that can be associated with a certain event type.
|
|
25
|
-
*/
|
|
26
|
-
export declare const FlagConfig: z.ZodObject<{
|
|
27
|
-
id: z.ZodString;
|
|
28
|
-
requiresAction: z.ZodBoolean;
|
|
29
|
-
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
30
|
-
}, z.core.$strip>;
|
|
31
|
-
export type FlagConfig = z.infer<typeof FlagConfig>;
|
|
32
|
-
/**
|
|
33
|
-
* Configuration for a flag action, which is executed when the action is performed.
|
|
34
|
-
*/
|
|
35
|
-
export declare const ActionFlagConfig: z.ZodObject<{
|
|
36
|
-
id: z.ZodString;
|
|
37
|
-
operation: z.ZodEnum<{
|
|
38
|
-
add: "add";
|
|
39
|
-
remove: "remove";
|
|
40
|
-
}>;
|
|
41
|
-
conditional: z.ZodOptional<z.ZodAny>;
|
|
42
|
-
}, z.core.$strip>;
|
|
43
|
-
//# sourceMappingURL=Flag.d.ts.map
|