@opencrvs/toolkit 1.8.0-rc.fef85f2 → 1.8.0-rc.ff0a1b5
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 +7684 -4215
- package/dist/commons/conditionals/conditionals.d.ts +9 -6
- package/dist/commons/events/ActionConfig.d.ts +90025 -1680
- package/dist/commons/events/ActionDocument.d.ts +542 -211
- package/dist/commons/events/ActionInput.d.ts +248 -240
- package/dist/commons/events/AdvancedSearchConfig.d.ts +369 -25
- package/dist/commons/events/Draft.d.ts +33 -20
- package/dist/commons/events/EventConfig.d.ts +42730 -1400
- package/dist/commons/events/EventDocument.d.ts +337 -159
- package/dist/commons/events/EventIndex.d.ts +1462 -16
- package/dist/commons/events/EventInput.d.ts +13 -0
- package/dist/commons/events/EventMetadata.d.ts +273 -14
- package/dist/commons/events/FieldConfig.d.ts +3682 -714
- package/dist/commons/events/FieldType.d.ts +3 -3
- package/dist/commons/events/FieldTypeMapping.d.ts +11 -4
- package/dist/commons/events/FieldValue.d.ts +7 -4
- package/dist/commons/events/FormConfig.d.ts +40417 -439
- package/dist/commons/events/PageConfig.d.ts +10077 -203
- package/dist/commons/events/SummaryConfig.d.ts +17 -47
- package/dist/commons/events/WorkqueueConfig.d.ts +1257 -19
- package/dist/commons/events/defineConfig.d.ts +6952 -32
- package/dist/commons/events/event.d.ts +27 -0
- package/dist/commons/events/field.d.ts +68 -0
- package/dist/commons/events/index.d.ts +2 -0
- package/dist/commons/events/scopes.d.ts +1 -0
- package/dist/commons/events/test.utils.d.ts +7 -44
- package/dist/commons/events/utils.d.ts +3550 -67
- package/dist/conditionals/index.js +36 -33
- package/dist/events/index.js +1446 -949
- package/dist/scopes/index.d.ts +70 -1
- package/dist/scopes/index.js +130 -0
- package/package.json +3 -2
@@ -1,35 +1,6 @@
|
|
1
1
|
import { z } from 'zod';
|
2
2
|
import { TranslationConfig } from './TranslationConfig';
|
3
3
|
export declare const SummaryConfig: z.ZodObject<{
|
4
|
-
title: z.ZodObject<{
|
5
|
-
id: z.ZodString;
|
6
|
-
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
7
|
-
id: string;
|
8
|
-
description: string;
|
9
|
-
defaultMessage: string;
|
10
|
-
}>;
|
11
|
-
emptyValueMessage: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
12
|
-
id: string;
|
13
|
-
description: string;
|
14
|
-
defaultMessage: string;
|
15
|
-
}>>;
|
16
|
-
}, "strip", z.ZodTypeAny, {
|
17
|
-
id: string;
|
18
|
-
label: TranslationConfig;
|
19
|
-
emptyValueMessage?: TranslationConfig | undefined;
|
20
|
-
}, {
|
21
|
-
id: string;
|
22
|
-
label: {
|
23
|
-
id: string;
|
24
|
-
description: string;
|
25
|
-
defaultMessage: string;
|
26
|
-
};
|
27
|
-
emptyValueMessage?: {
|
28
|
-
id: string;
|
29
|
-
description: string;
|
30
|
-
defaultMessage: string;
|
31
|
-
} | undefined;
|
32
|
-
}>;
|
33
4
|
fields: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
34
5
|
emptyValueMessage: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
35
6
|
id: string;
|
@@ -111,12 +82,18 @@ export declare const SummaryConfig: z.ZodObject<{
|
|
111
82
|
}>, "many">>>;
|
112
83
|
}, {
|
113
84
|
fieldId: z.ZodString;
|
85
|
+
label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
86
|
+
id: string;
|
87
|
+
description: string;
|
88
|
+
defaultMessage: string;
|
89
|
+
}>>;
|
114
90
|
}>, "strip", z.ZodTypeAny, {
|
115
91
|
fieldId: string;
|
116
92
|
conditionals?: {
|
117
93
|
type: "SHOW";
|
118
94
|
conditional: import(".").JSONSchema;
|
119
95
|
}[] | undefined;
|
96
|
+
label?: TranslationConfig | undefined;
|
120
97
|
emptyValueMessage?: TranslationConfig | undefined;
|
121
98
|
}, {
|
122
99
|
fieldId: string;
|
@@ -124,6 +101,11 @@ export declare const SummaryConfig: z.ZodObject<{
|
|
124
101
|
type: "SHOW";
|
125
102
|
conditional: import(".").JSONSchema;
|
126
103
|
}[] | undefined;
|
104
|
+
label?: {
|
105
|
+
id: string;
|
106
|
+
description: string;
|
107
|
+
defaultMessage: string;
|
108
|
+
} | undefined;
|
127
109
|
emptyValueMessage?: {
|
128
110
|
id: string;
|
129
111
|
description: string;
|
@@ -131,17 +113,13 @@ export declare const SummaryConfig: z.ZodObject<{
|
|
131
113
|
} | undefined;
|
132
114
|
}>]>, "many">;
|
133
115
|
}, "strip", z.ZodTypeAny, {
|
134
|
-
title: {
|
135
|
-
id: string;
|
136
|
-
label: TranslationConfig;
|
137
|
-
emptyValueMessage?: TranslationConfig | undefined;
|
138
|
-
};
|
139
116
|
fields: ({
|
140
117
|
fieldId: string;
|
141
118
|
conditionals?: {
|
142
119
|
type: "SHOW";
|
143
120
|
conditional: import(".").JSONSchema;
|
144
121
|
}[] | undefined;
|
122
|
+
label?: TranslationConfig | undefined;
|
145
123
|
emptyValueMessage?: TranslationConfig | undefined;
|
146
124
|
} | {
|
147
125
|
id: string;
|
@@ -154,25 +132,17 @@ export declare const SummaryConfig: z.ZodObject<{
|
|
154
132
|
emptyValueMessage?: TranslationConfig | undefined;
|
155
133
|
})[];
|
156
134
|
}, {
|
157
|
-
title: {
|
158
|
-
id: string;
|
159
|
-
label: {
|
160
|
-
id: string;
|
161
|
-
description: string;
|
162
|
-
defaultMessage: string;
|
163
|
-
};
|
164
|
-
emptyValueMessage?: {
|
165
|
-
id: string;
|
166
|
-
description: string;
|
167
|
-
defaultMessage: string;
|
168
|
-
} | undefined;
|
169
|
-
};
|
170
135
|
fields: ({
|
171
136
|
fieldId: string;
|
172
137
|
conditionals?: {
|
173
138
|
type: "SHOW";
|
174
139
|
conditional: import(".").JSONSchema;
|
175
140
|
}[] | undefined;
|
141
|
+
label?: {
|
142
|
+
id: string;
|
143
|
+
description: string;
|
144
|
+
defaultMessage: string;
|
145
|
+
} | undefined;
|
176
146
|
emptyValueMessage?: {
|
177
147
|
id: string;
|
178
148
|
description: string;
|