@opencrvs/toolkit 1.8.0-rc.ffe24c3 → 1.8.1-rc.1e3e9b5
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 +1742 -14918
- 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 +3159 -1626
- package/dist/commons/events/ActionInput.d.ts +2280 -1380
- package/dist/commons/events/ActionType.d.ts +7 -4
- package/dist/commons/events/AdvancedSearchConfig.d.ts +100 -51
- package/dist/commons/events/CompositeFieldValue.d.ts +15 -15
- package/dist/commons/events/CountryConfigQueryInput.d.ts +1162 -760
- package/dist/commons/events/Draft.d.ts +190 -118
- package/dist/commons/events/EventConfig.d.ts +20824 -22965
- package/dist/commons/events/EventDocument.d.ts +1669 -1021
- package/dist/commons/events/EventIndex.d.ts +394 -175
- package/dist/commons/events/EventMetadata.d.ts +6 -4
- package/dist/commons/events/FieldConfig.d.ts +1528 -449
- 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 +2153 -1337
- package/dist/commons/events/defineConfig.d.ts +2759 -3250
- package/dist/commons/events/event.d.ts +10 -18
- package/dist/commons/events/field.d.ts +13 -1
- package/dist/commons/events/scopes.d.ts +2 -1
- package/dist/commons/events/test.utils.d.ts +58 -34
- package/dist/commons/events/utils.d.ts +8848 -6794
- package/dist/conditionals/index.js +23 -53
- package/dist/events/index.js +1594 -1341
- package/dist/scopes/index.d.ts +92 -6
- package/dist/scopes/index.js +38 -9
- package/package.json +3 -3
@@ -84,23 +84,23 @@ export declare const SummaryConfig: z.ZodObject<{
|
|
84
84
|
}>>;
|
85
85
|
}>, "strip", z.ZodTypeAny, {
|
86
86
|
fieldId: string;
|
87
|
+
label?: TranslationConfig | undefined;
|
87
88
|
conditionals?: {
|
88
89
|
type: "SHOW";
|
89
90
|
conditional: import(".").JSONSchema;
|
90
91
|
}[] | undefined;
|
91
|
-
label?: TranslationConfig | undefined;
|
92
92
|
emptyValueMessage?: TranslationConfig | undefined;
|
93
93
|
}, {
|
94
94
|
fieldId: string;
|
95
|
-
conditionals?: {
|
96
|
-
type: "SHOW";
|
97
|
-
conditional: import(".").JSONSchema;
|
98
|
-
}[] | undefined;
|
99
95
|
label?: {
|
100
96
|
id: string;
|
101
97
|
description: string;
|
102
98
|
defaultMessage: string;
|
103
99
|
} | undefined;
|
100
|
+
conditionals?: {
|
101
|
+
type: "SHOW";
|
102
|
+
conditional: import(".").JSONSchema;
|
103
|
+
}[] | undefined;
|
104
104
|
emptyValueMessage?: {
|
105
105
|
id: string;
|
106
106
|
description: string;
|
@@ -110,11 +110,11 @@ export declare const SummaryConfig: z.ZodObject<{
|
|
110
110
|
}, "strip", z.ZodTypeAny, {
|
111
111
|
fields: ({
|
112
112
|
fieldId: string;
|
113
|
+
label?: TranslationConfig | undefined;
|
113
114
|
conditionals?: {
|
114
115
|
type: "SHOW";
|
115
116
|
conditional: import(".").JSONSchema;
|
116
117
|
}[] | undefined;
|
117
|
-
label?: TranslationConfig | undefined;
|
118
118
|
emptyValueMessage?: TranslationConfig | undefined;
|
119
119
|
} | {
|
120
120
|
id: string;
|
@@ -129,15 +129,15 @@ export declare const SummaryConfig: z.ZodObject<{
|
|
129
129
|
}, {
|
130
130
|
fields: ({
|
131
131
|
fieldId: string;
|
132
|
-
conditionals?: {
|
133
|
-
type: "SHOW";
|
134
|
-
conditional: import(".").JSONSchema;
|
135
|
-
}[] | undefined;
|
136
132
|
label?: {
|
137
133
|
id: string;
|
138
134
|
description: string;
|
139
135
|
defaultMessage: string;
|
140
136
|
} | undefined;
|
137
|
+
conditionals?: {
|
138
|
+
type: "SHOW";
|
139
|
+
conditional: import(".").JSONSchema;
|
140
|
+
}[] | undefined;
|
141
141
|
emptyValueMessage?: {
|
142
142
|
id: string;
|
143
143
|
description: string;
|
@@ -15,7 +15,8 @@ export declare const User: z.ZodObject<{
|
|
15
15
|
family: string;
|
16
16
|
}>, "many">;
|
17
17
|
role: z.ZodString;
|
18
|
-
|
18
|
+
avatar: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
19
|
+
signature: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
19
20
|
}, "strip", z.ZodTypeAny, {
|
20
21
|
id: string;
|
21
22
|
name: {
|
@@ -24,7 +25,8 @@ export declare const User: z.ZodObject<{
|
|
24
25
|
family: string;
|
25
26
|
}[];
|
26
27
|
role: string;
|
27
|
-
|
28
|
+
signature?: string | undefined;
|
29
|
+
avatar?: string | undefined;
|
28
30
|
}, {
|
29
31
|
id: string;
|
30
32
|
name: {
|
@@ -33,7 +35,8 @@ export declare const User: z.ZodObject<{
|
|
33
35
|
family: string;
|
34
36
|
}[];
|
35
37
|
role: string;
|
36
|
-
|
38
|
+
signature?: string | undefined;
|
39
|
+
avatar?: string | undefined;
|
37
40
|
}>;
|
38
41
|
export type User = z.infer<typeof User>;
|
39
42
|
//# sourceMappingURL=User.d.ts.map
|