@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
@@ -1,149 +1,102 @@
|
|
1
1
|
import { z } from 'zod';
|
2
2
|
import { TranslationConfig } from './TranslationConfig';
|
3
3
|
export declare const SummaryConfig: z.ZodObject<{
|
4
|
-
|
5
|
-
emptyValueMessage: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
6
|
-
id: string;
|
7
|
-
description: string;
|
8
|
-
defaultMessage: string;
|
9
|
-
}>>;
|
10
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
11
|
-
type: z.ZodLiteral<"SHOW">;
|
12
|
-
conditional: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
13
|
-
}, "strip", z.ZodTypeAny, {
|
14
|
-
type: "SHOW";
|
15
|
-
conditional: import(".").JSONSchema;
|
16
|
-
}, {
|
17
|
-
type: "SHOW";
|
18
|
-
conditional: import(".").JSONSchema;
|
19
|
-
}>, "many">>>;
|
20
|
-
}, {
|
4
|
+
title: z.ZodObject<{
|
21
5
|
id: z.ZodString;
|
22
|
-
|
6
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
23
7
|
id: string;
|
24
8
|
description: string;
|
25
9
|
defaultMessage: string;
|
26
10
|
}>;
|
27
|
-
|
11
|
+
emptyValueMessage: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
28
12
|
id: string;
|
29
13
|
description: string;
|
30
14
|
defaultMessage: string;
|
31
|
-
}
|
32
|
-
}
|
15
|
+
}>>;
|
16
|
+
}, "strip", z.ZodTypeAny, {
|
33
17
|
id: string;
|
34
|
-
value: TranslationConfig;
|
35
18
|
label: TranslationConfig;
|
36
|
-
conditionals?: {
|
37
|
-
type: "SHOW";
|
38
|
-
conditional: import(".").JSONSchema;
|
39
|
-
}[] | undefined;
|
40
19
|
emptyValueMessage?: TranslationConfig | undefined;
|
41
20
|
}, {
|
42
21
|
id: string;
|
43
|
-
value: {
|
44
|
-
id: string;
|
45
|
-
description: string;
|
46
|
-
defaultMessage: string;
|
47
|
-
};
|
48
22
|
label: {
|
49
23
|
id: string;
|
50
24
|
description: string;
|
51
25
|
defaultMessage: string;
|
52
26
|
};
|
53
|
-
conditionals?: {
|
54
|
-
type: "SHOW";
|
55
|
-
conditional: import(".").JSONSchema;
|
56
|
-
}[] | undefined;
|
57
27
|
emptyValueMessage?: {
|
58
28
|
id: string;
|
59
29
|
description: string;
|
60
30
|
defaultMessage: string;
|
61
31
|
} | undefined;
|
62
|
-
}
|
63
|
-
|
32
|
+
}>;
|
33
|
+
fields: z.ZodArray<z.ZodObject<{
|
34
|
+
id: z.ZodString;
|
35
|
+
value: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
64
36
|
id: string;
|
65
37
|
description: string;
|
66
38
|
defaultMessage: string;
|
67
|
-
}
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
}, {
|
75
|
-
type: "SHOW";
|
76
|
-
conditional: import(".").JSONSchema;
|
77
|
-
}>, "many">>>;
|
78
|
-
}, {
|
79
|
-
fieldId: z.ZodString;
|
80
|
-
label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
39
|
+
}>;
|
40
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
41
|
+
id: string;
|
42
|
+
description: string;
|
43
|
+
defaultMessage: string;
|
44
|
+
}>;
|
45
|
+
emptyValueMessage: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
81
46
|
id: string;
|
82
47
|
description: string;
|
83
48
|
defaultMessage: string;
|
84
49
|
}>>;
|
85
|
-
}
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
type: "SHOW";
|
90
|
-
conditional: import(".").JSONSchema;
|
91
|
-
}[] | undefined;
|
50
|
+
}, "strip", z.ZodTypeAny, {
|
51
|
+
id: string;
|
52
|
+
value: TranslationConfig;
|
53
|
+
label: TranslationConfig;
|
92
54
|
emptyValueMessage?: TranslationConfig | undefined;
|
93
55
|
}, {
|
94
|
-
|
95
|
-
|
56
|
+
id: string;
|
57
|
+
value: {
|
96
58
|
id: string;
|
97
59
|
description: string;
|
98
60
|
defaultMessage: string;
|
99
|
-
}
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
61
|
+
};
|
62
|
+
label: {
|
63
|
+
id: string;
|
64
|
+
description: string;
|
65
|
+
defaultMessage: string;
|
66
|
+
};
|
104
67
|
emptyValueMessage?: {
|
105
68
|
id: string;
|
106
69
|
description: string;
|
107
70
|
defaultMessage: string;
|
108
71
|
} | undefined;
|
109
|
-
}
|
72
|
+
}>, "many">;
|
110
73
|
}, "strip", z.ZodTypeAny, {
|
111
|
-
|
112
|
-
|
113
|
-
label
|
114
|
-
conditionals?: {
|
115
|
-
type: "SHOW";
|
116
|
-
conditional: import(".").JSONSchema;
|
117
|
-
}[] | undefined;
|
74
|
+
title: {
|
75
|
+
id: string;
|
76
|
+
label: TranslationConfig;
|
118
77
|
emptyValueMessage?: TranslationConfig | undefined;
|
119
|
-
}
|
78
|
+
};
|
79
|
+
fields: {
|
120
80
|
id: string;
|
121
81
|
value: TranslationConfig;
|
122
82
|
label: TranslationConfig;
|
123
|
-
conditionals?: {
|
124
|
-
type: "SHOW";
|
125
|
-
conditional: import(".").JSONSchema;
|
126
|
-
}[] | undefined;
|
127
83
|
emptyValueMessage?: TranslationConfig | undefined;
|
128
|
-
}
|
84
|
+
}[];
|
129
85
|
}, {
|
130
|
-
|
131
|
-
|
132
|
-
label
|
86
|
+
title: {
|
87
|
+
id: string;
|
88
|
+
label: {
|
133
89
|
id: string;
|
134
90
|
description: string;
|
135
91
|
defaultMessage: string;
|
136
|
-
}
|
137
|
-
conditionals?: {
|
138
|
-
type: "SHOW";
|
139
|
-
conditional: import(".").JSONSchema;
|
140
|
-
}[] | undefined;
|
92
|
+
};
|
141
93
|
emptyValueMessage?: {
|
142
94
|
id: string;
|
143
95
|
description: string;
|
144
96
|
defaultMessage: string;
|
145
97
|
} | undefined;
|
146
|
-
}
|
98
|
+
};
|
99
|
+
fields: {
|
147
100
|
id: string;
|
148
101
|
value: {
|
149
102
|
id: string;
|
@@ -155,16 +108,12 @@ export declare const SummaryConfig: z.ZodObject<{
|
|
155
108
|
description: string;
|
156
109
|
defaultMessage: string;
|
157
110
|
};
|
158
|
-
conditionals?: {
|
159
|
-
type: "SHOW";
|
160
|
-
conditional: import(".").JSONSchema;
|
161
|
-
}[] | undefined;
|
162
111
|
emptyValueMessage?: {
|
163
112
|
id: string;
|
164
113
|
description: string;
|
165
114
|
defaultMessage: string;
|
166
115
|
} | undefined;
|
167
|
-
}
|
116
|
+
}[];
|
168
117
|
}>;
|
169
118
|
export type SummaryConfig = z.infer<typeof SummaryConfig>;
|
170
119
|
//# sourceMappingURL=SummaryConfig.d.ts.map
|
@@ -1,33 +1,4 @@
|
|
1
|
-
|
2
|
-
export declare const User: z.ZodObject<{
|
3
|
-
id: z.ZodString;
|
4
|
-
name: z.ZodArray<z.ZodObject<{
|
5
|
-
use: z.ZodString;
|
6
|
-
given: z.ZodArray<z.ZodString, "many">;
|
7
|
-
family: z.ZodString;
|
8
|
-
}, "strip", z.ZodTypeAny, {
|
9
|
-
use: string;
|
10
|
-
given: string[];
|
11
|
-
family: string;
|
12
|
-
}, {
|
13
|
-
use: string;
|
14
|
-
given: string[];
|
15
|
-
family: string;
|
16
|
-
}>, "many">;
|
17
|
-
role: z.ZodString;
|
18
|
-
avatar: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
19
|
-
signature: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
20
|
-
}, "strip", z.ZodTypeAny, {
|
21
|
-
id: string;
|
22
|
-
name: {
|
23
|
-
use: string;
|
24
|
-
given: string[];
|
25
|
-
family: string;
|
26
|
-
}[];
|
27
|
-
role: string;
|
28
|
-
signature?: string | undefined;
|
29
|
-
avatar?: string | undefined;
|
30
|
-
}, {
|
1
|
+
export type User = {
|
31
2
|
id: string;
|
32
3
|
name: {
|
33
4
|
use: string;
|
@@ -35,8 +6,5 @@ export declare const User: z.ZodObject<{
|
|
35
6
|
family: string;
|
36
7
|
}[];
|
37
8
|
role: string;
|
38
|
-
|
39
|
-
avatar?: string | undefined;
|
40
|
-
}>;
|
41
|
-
export type User = z.infer<typeof User>;
|
9
|
+
};
|
42
10
|
//# sourceMappingURL=User.d.ts.map
|