@opencrvs/toolkit 1.9.4-rc.0e695b2 → 1.9.4-rc.469f912
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 +2440 -28495
- 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 +1552 -23416
- package/dist/commons/events/ActionDocument.d.ts +1856 -803
- package/dist/commons/events/ActionInput.d.ts +1073 -277
- package/dist/commons/events/ActionType.d.ts +9 -86
- package/dist/commons/events/AdvancedSearchConfig.d.ts +1238 -228
- package/dist/commons/events/CompositeFieldValue.d.ts +176 -27
- 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 -931
- 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 +2120 -18663
- package/dist/commons/events/EventConfigInput.d.ts +1 -1
- package/dist/commons/events/EventDocument.d.ts +1332 -320
- package/dist/commons/events/EventIndex.d.ts +967 -197
- package/dist/commons/events/EventInput.d.ts +8 -2
- package/dist/commons/events/EventMetadata.d.ts +346 -106
- package/dist/commons/events/FieldConfig.d.ts +11774 -4259
- package/dist/commons/events/FieldType.d.ts +4 -20
- package/dist/commons/events/FieldTypeMapping.d.ts +813 -181
- package/dist/commons/events/FieldValue.d.ts +356 -83
- package/dist/commons/events/FormConfig.d.ts +721 -13140
- package/dist/commons/events/PageConfig.d.ts +319 -8780
- package/dist/commons/events/SummaryConfig.d.ts +161 -14
- package/dist/commons/events/TemplateConfig.d.ts +3 -3
- package/dist/commons/events/TranslationConfig.d.ts +2 -2
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +37 -74
- package/dist/commons/events/WorkqueueConfig.d.ts +7080 -1615
- package/dist/commons/events/deduplication.d.ts +3 -3
- package/dist/commons/events/defineConfig.d.ts +163 -25639
- package/dist/commons/events/event.d.ts +4 -4
- 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 +4 -5
- 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 -23
- package/dist/commons/events/state/utils.d.ts +112 -130
- package/dist/commons/events/test.utils.d.ts +8 -17
- package/dist/commons/events/transactions.d.ts +1 -1
- package/dist/commons/events/utils.d.ts +373 -51350
- 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 +1545 -1805
- package/dist/notification/index.d.ts.map +1 -1
- package/dist/notification/index.js +1412 -1430
- package/dist/scopes/index.d.ts +132 -167
- package/dist/scopes/index.d.ts.map +1 -1
- package/dist/scopes/index.js +94 -133
- package/package.json +5 -5
- package/dist/commons/events/Flag.d.ts +0 -70
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { z } from 'zod';
|
|
2
2
|
/**
|
|
3
3
|
* Composite field value consists of multiple field values.
|
|
4
4
|
*/
|
|
@@ -11,99 +11,248 @@ export declare const AddressType: {
|
|
|
11
11
|
readonly INTERNATIONAL: "INTERNATIONAL";
|
|
12
12
|
};
|
|
13
13
|
export declare const FileFieldValue: z.ZodObject<{
|
|
14
|
-
path: z.ZodString
|
|
14
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
|
15
15
|
originalFilename: z.ZodString;
|
|
16
16
|
type: z.ZodString;
|
|
17
|
-
}, z.
|
|
17
|
+
}, "strip", z.ZodTypeAny, {
|
|
18
|
+
type: string;
|
|
19
|
+
path: string;
|
|
20
|
+
originalFilename: string;
|
|
21
|
+
}, {
|
|
22
|
+
type: string;
|
|
23
|
+
path: string;
|
|
24
|
+
originalFilename: string;
|
|
25
|
+
}>;
|
|
18
26
|
export type FileFieldValue = z.infer<typeof FileFieldValue>;
|
|
19
27
|
export declare const NameFieldValue: z.ZodObject<{
|
|
20
28
|
firstname: z.ZodString;
|
|
21
29
|
surname: z.ZodString;
|
|
22
30
|
middlename: z.ZodOptional<z.ZodString>;
|
|
23
|
-
}, z.
|
|
31
|
+
}, "strip", z.ZodTypeAny, {
|
|
32
|
+
firstname: string;
|
|
33
|
+
surname: string;
|
|
34
|
+
middlename?: string | undefined;
|
|
35
|
+
}, {
|
|
36
|
+
firstname: string;
|
|
37
|
+
surname: string;
|
|
38
|
+
middlename?: string | undefined;
|
|
39
|
+
}>;
|
|
24
40
|
export declare const NameFieldUpdateValue: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
25
41
|
firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
42
|
surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
43
|
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
-
},
|
|
44
|
+
}, "strip", z.ZodTypeAny, {
|
|
45
|
+
firstname?: string | null | undefined;
|
|
46
|
+
surname?: string | null | undefined;
|
|
47
|
+
middlename?: string | null | undefined;
|
|
48
|
+
}, {
|
|
49
|
+
firstname?: string | null | undefined;
|
|
50
|
+
surname?: string | null | undefined;
|
|
51
|
+
middlename?: string | null | undefined;
|
|
52
|
+
}>, z.ZodNull]>, z.ZodUndefined]>;
|
|
29
53
|
export type NameFieldValue = z.infer<typeof NameFieldValue>;
|
|
30
54
|
export type NameFieldUpdateValue = z.infer<typeof NameFieldUpdateValue>;
|
|
31
55
|
export declare const StreetLevelDetailsUpdateValue: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>>>;
|
|
32
|
-
export declare const DomesticAddressFieldValue: z.ZodObject<{
|
|
56
|
+
export declare const DomesticAddressFieldValue: z.ZodObject<z.objectUtil.extendShape<{
|
|
33
57
|
country: z.ZodString;
|
|
34
58
|
streetLevelDetails: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
59
|
+
}, {
|
|
35
60
|
addressType: z.ZodLiteral<"DOMESTIC">;
|
|
36
61
|
administrativeArea: z.ZodString;
|
|
37
|
-
}, z.
|
|
62
|
+
}>, "strip", z.ZodTypeAny, {
|
|
63
|
+
country: string;
|
|
64
|
+
addressType: "DOMESTIC";
|
|
65
|
+
administrativeArea: string;
|
|
66
|
+
streetLevelDetails?: Record<string, string> | undefined;
|
|
67
|
+
}, {
|
|
68
|
+
country: string;
|
|
69
|
+
addressType: "DOMESTIC";
|
|
70
|
+
administrativeArea: string;
|
|
71
|
+
streetLevelDetails?: Record<string, string> | undefined;
|
|
72
|
+
}>;
|
|
38
73
|
export type DomesticAddressFieldValue = z.infer<typeof DomesticAddressFieldValue>;
|
|
39
|
-
export declare const AddressFieldValue: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
74
|
+
export declare const AddressFieldValue: z.ZodDiscriminatedUnion<"addressType", [z.ZodObject<z.objectUtil.extendShape<{
|
|
40
75
|
country: z.ZodString;
|
|
41
76
|
streetLevelDetails: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
77
|
+
}, {
|
|
42
78
|
addressType: z.ZodLiteral<"DOMESTIC">;
|
|
43
79
|
administrativeArea: z.ZodString;
|
|
44
|
-
}, z.
|
|
80
|
+
}>, "strip", z.ZodTypeAny, {
|
|
81
|
+
country: string;
|
|
82
|
+
addressType: "DOMESTIC";
|
|
83
|
+
administrativeArea: string;
|
|
84
|
+
streetLevelDetails?: Record<string, string> | undefined;
|
|
85
|
+
}, {
|
|
86
|
+
country: string;
|
|
87
|
+
addressType: "DOMESTIC";
|
|
88
|
+
administrativeArea: string;
|
|
89
|
+
streetLevelDetails?: Record<string, string> | undefined;
|
|
90
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
45
91
|
country: z.ZodString;
|
|
46
92
|
streetLevelDetails: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
93
|
+
}, {
|
|
47
94
|
addressType: z.ZodLiteral<"INTERNATIONAL">;
|
|
48
|
-
}, z.
|
|
95
|
+
}>, "strip", z.ZodTypeAny, {
|
|
96
|
+
country: string;
|
|
97
|
+
addressType: "INTERNATIONAL";
|
|
98
|
+
streetLevelDetails?: Record<string, string> | undefined;
|
|
99
|
+
}, {
|
|
100
|
+
country: string;
|
|
101
|
+
addressType: "INTERNATIONAL";
|
|
102
|
+
streetLevelDetails?: Record<string, string> | undefined;
|
|
103
|
+
}>]>;
|
|
49
104
|
export type AddressFieldValue = z.infer<typeof AddressFieldValue>;
|
|
50
|
-
export declare const AddressFieldUpdateValue: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
105
|
+
export declare const AddressFieldUpdateValue: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"addressType", [z.ZodObject<z.objectUtil.extendShape<{
|
|
51
106
|
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
107
|
streetLevelDetails: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>>>;
|
|
108
|
+
}, {
|
|
53
109
|
addressType: z.ZodLiteral<"DOMESTIC">;
|
|
54
110
|
administrativeArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55
|
-
}, z.
|
|
111
|
+
}>, "strip", z.ZodTypeAny, {
|
|
112
|
+
addressType: "DOMESTIC";
|
|
113
|
+
country?: string | null | undefined;
|
|
114
|
+
streetLevelDetails?: Record<string, string | null> | null | undefined;
|
|
115
|
+
administrativeArea?: string | null | undefined;
|
|
116
|
+
}, {
|
|
117
|
+
addressType: "DOMESTIC";
|
|
118
|
+
country?: string | null | undefined;
|
|
119
|
+
streetLevelDetails?: Record<string, string | null> | null | undefined;
|
|
120
|
+
administrativeArea?: string | null | undefined;
|
|
121
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
56
122
|
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
57
123
|
streetLevelDetails: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>>>;
|
|
124
|
+
}, {
|
|
58
125
|
addressType: z.ZodLiteral<"INTERNATIONAL">;
|
|
59
|
-
}, z.
|
|
126
|
+
}>, "strip", z.ZodTypeAny, {
|
|
127
|
+
addressType: "INTERNATIONAL";
|
|
128
|
+
country?: string | null | undefined;
|
|
129
|
+
streetLevelDetails?: Record<string, string | null> | null | undefined;
|
|
130
|
+
}, {
|
|
131
|
+
addressType: "INTERNATIONAL";
|
|
132
|
+
country?: string | null | undefined;
|
|
133
|
+
streetLevelDetails?: Record<string, string | null> | null | undefined;
|
|
134
|
+
}>]>>>;
|
|
60
135
|
export type AddressFieldUpdateValue = z.infer<typeof AddressFieldUpdateValue>;
|
|
61
136
|
export declare const FileFieldValueWithOption: z.ZodObject<{
|
|
62
|
-
path: z.ZodString
|
|
137
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
|
63
138
|
originalFilename: z.ZodString;
|
|
64
139
|
type: z.ZodString;
|
|
65
140
|
option: z.ZodString;
|
|
66
|
-
}, z.
|
|
141
|
+
}, "strip", z.ZodTypeAny, {
|
|
142
|
+
type: string;
|
|
143
|
+
option: string;
|
|
144
|
+
path: string;
|
|
145
|
+
originalFilename: string;
|
|
146
|
+
}, {
|
|
147
|
+
type: string;
|
|
148
|
+
option: string;
|
|
149
|
+
path: string;
|
|
150
|
+
originalFilename: string;
|
|
151
|
+
}>;
|
|
67
152
|
export type FileFieldValueWithOption = z.infer<typeof FileFieldValueWithOption>;
|
|
68
153
|
export declare const FileFieldWithOptionValue: z.ZodArray<z.ZodObject<{
|
|
69
|
-
path: z.ZodString
|
|
154
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
|
70
155
|
originalFilename: z.ZodString;
|
|
71
156
|
type: z.ZodString;
|
|
72
157
|
option: z.ZodString;
|
|
73
|
-
}, z.
|
|
158
|
+
}, "strip", z.ZodTypeAny, {
|
|
159
|
+
type: string;
|
|
160
|
+
option: string;
|
|
161
|
+
path: string;
|
|
162
|
+
originalFilename: string;
|
|
163
|
+
}, {
|
|
164
|
+
type: string;
|
|
165
|
+
option: string;
|
|
166
|
+
path: string;
|
|
167
|
+
originalFilename: string;
|
|
168
|
+
}>, "many">;
|
|
74
169
|
export type FileFieldWithOptionValue = z.infer<typeof FileFieldWithOptionValue>;
|
|
75
170
|
export declare const HttpFieldValue: z.ZodObject<{
|
|
76
171
|
loading: z.ZodBoolean;
|
|
77
172
|
error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
78
173
|
statusCode: z.ZodNumber;
|
|
79
174
|
message: z.ZodString;
|
|
80
|
-
}, z.
|
|
175
|
+
}, "strip", z.ZodTypeAny, {
|
|
176
|
+
message: string;
|
|
177
|
+
statusCode: number;
|
|
178
|
+
}, {
|
|
179
|
+
message: string;
|
|
180
|
+
statusCode: number;
|
|
181
|
+
}>>>;
|
|
81
182
|
data: z.ZodAny;
|
|
82
|
-
}, z.
|
|
183
|
+
}, "strip", z.ZodTypeAny, {
|
|
184
|
+
loading: boolean;
|
|
185
|
+
data?: any;
|
|
186
|
+
error?: {
|
|
187
|
+
message: string;
|
|
188
|
+
statusCode: number;
|
|
189
|
+
} | null | undefined;
|
|
190
|
+
}, {
|
|
191
|
+
loading: boolean;
|
|
192
|
+
data?: any;
|
|
193
|
+
error?: {
|
|
194
|
+
message: string;
|
|
195
|
+
statusCode: number;
|
|
196
|
+
} | null | undefined;
|
|
197
|
+
}>;
|
|
83
198
|
export type HttpFieldValue = z.infer<typeof HttpFieldValue>;
|
|
84
199
|
export declare const HttpFieldUpdateValue: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
85
200
|
loading: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
86
201
|
error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
87
202
|
statusCode: z.ZodNumber;
|
|
88
203
|
message: z.ZodString;
|
|
89
|
-
}, z.
|
|
204
|
+
}, "strip", z.ZodTypeAny, {
|
|
205
|
+
message: string;
|
|
206
|
+
statusCode: number;
|
|
207
|
+
}, {
|
|
208
|
+
message: string;
|
|
209
|
+
statusCode: number;
|
|
210
|
+
}>>>;
|
|
90
211
|
data: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
91
|
-
},
|
|
212
|
+
}, "strip", z.ZodTypeAny, {
|
|
213
|
+
data?: any;
|
|
214
|
+
error?: {
|
|
215
|
+
message: string;
|
|
216
|
+
statusCode: number;
|
|
217
|
+
} | null | undefined;
|
|
218
|
+
loading?: boolean | null | undefined;
|
|
219
|
+
}, {
|
|
220
|
+
data?: any;
|
|
221
|
+
error?: {
|
|
222
|
+
message: string;
|
|
223
|
+
statusCode: number;
|
|
224
|
+
} | null | undefined;
|
|
225
|
+
loading?: boolean | null | undefined;
|
|
226
|
+
}>, z.ZodNull]>, z.ZodUndefined]>;
|
|
92
227
|
export declare const QueryParamReaderFieldValue: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
93
228
|
data: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
94
|
-
}, z.
|
|
229
|
+
}, "strip", z.ZodTypeAny, {
|
|
230
|
+
data: Record<string, string>;
|
|
231
|
+
}, {
|
|
232
|
+
data: Record<string, string>;
|
|
233
|
+
}>>>;
|
|
95
234
|
export type QueryParamReaderFieldValue = z.infer<typeof QueryParamReaderFieldValue>;
|
|
96
235
|
export declare const QueryParamReaderFieldUpdateValue: z.ZodObject<{
|
|
97
236
|
data: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
98
|
-
}, z.
|
|
237
|
+
}, "strip", z.ZodTypeAny, {
|
|
238
|
+
data: Record<string, string>;
|
|
239
|
+
}, {
|
|
240
|
+
data: Record<string, string>;
|
|
241
|
+
}>;
|
|
99
242
|
export declare const QrReaderFieldValue: z.ZodObject<{
|
|
100
243
|
data: z.ZodAny;
|
|
101
|
-
}, z.
|
|
244
|
+
}, "strip", z.ZodTypeAny, {
|
|
245
|
+
data?: any;
|
|
246
|
+
}, {
|
|
247
|
+
data?: any;
|
|
248
|
+
}>;
|
|
102
249
|
export type QrReaderFieldValue = z.infer<typeof QrReaderFieldValue>;
|
|
103
250
|
export declare const IdReaderFieldValue: z.ZodObject<{
|
|
104
251
|
data: z.ZodAny;
|
|
105
|
-
}, z.
|
|
252
|
+
}, "strip", z.ZodTypeAny, {
|
|
253
|
+
data?: any;
|
|
254
|
+
}, {
|
|
255
|
+
data?: any;
|
|
256
|
+
}>;
|
|
106
257
|
export type IdReaderFieldValue = z.infer<typeof IdReaderFieldValue>;
|
|
107
|
-
export declare const CustomFieldValue: z.core.$ZodBranded<z.ZodUnknown, "CustomFieldValue">;
|
|
108
|
-
export type CustomFieldValue = z.infer<typeof CustomFieldValue>;
|
|
109
258
|
//# sourceMappingURL=CompositeFieldValue.d.ts.map
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { JSONSchema } from '../conditionals/conditionals';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
export declare const Conditional: z.ZodType<JSONSchema, z.ZodTypeDef, JSONSchema>;
|
|
3
4
|
/**
|
|
4
5
|
* By default, when conditionals are undefined, action is visible and enabled to everyone.
|
|
5
6
|
*/
|
|
@@ -11,33 +12,44 @@ export declare const ConditionalType: {
|
|
|
11
12
|
export type ConditionalType = (typeof ConditionalType)[keyof typeof ConditionalType];
|
|
12
13
|
export declare const ShowConditional: z.ZodObject<{
|
|
13
14
|
type: z.ZodLiteral<"SHOW">;
|
|
14
|
-
conditional: z.
|
|
15
|
-
}, z.
|
|
15
|
+
conditional: z.ZodType<JSONSchema, z.ZodTypeDef, JSONSchema>;
|
|
16
|
+
}, "strip", z.ZodTypeAny, {
|
|
17
|
+
type: "SHOW";
|
|
18
|
+
conditional: JSONSchema;
|
|
19
|
+
}, {
|
|
20
|
+
type: "SHOW";
|
|
21
|
+
conditional: JSONSchema;
|
|
22
|
+
}>;
|
|
16
23
|
export declare const EnableConditional: z.ZodObject<{
|
|
17
24
|
type: z.ZodLiteral<"ENABLE">;
|
|
18
|
-
conditional: z.
|
|
19
|
-
}, z.
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
export type
|
|
25
|
+
conditional: z.ZodType<JSONSchema, z.ZodTypeDef, JSONSchema>;
|
|
26
|
+
}, "strip", z.ZodTypeAny, {
|
|
27
|
+
type: "ENABLE";
|
|
28
|
+
conditional: JSONSchema;
|
|
29
|
+
}, {
|
|
30
|
+
type: "ENABLE";
|
|
31
|
+
conditional: JSONSchema;
|
|
32
|
+
}>;
|
|
33
|
+
/** @knipignore */
|
|
34
|
+
export type ActionConditionalType = typeof ShowConditional | typeof EnableConditional;
|
|
35
|
+
/** @knipignore */
|
|
36
|
+
export type InferredActionConditional = z.infer<typeof ShowConditional> | z.infer<typeof EnableConditional>;
|
|
37
|
+
export declare const ActionConditional: z.ZodDiscriminatedUnion<"type", ActionConditionalType[]>;
|
|
38
|
+
export type ActionConditional = InferredActionConditional;
|
|
28
39
|
export declare const DisplayOnReviewConditional: z.ZodObject<{
|
|
29
40
|
type: z.ZodLiteral<"DISPLAY_ON_REVIEW">;
|
|
30
|
-
conditional: z.
|
|
31
|
-
}, z.
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
41
|
+
conditional: z.ZodType<JSONSchema, z.ZodTypeDef, JSONSchema>;
|
|
42
|
+
}, "strip", z.ZodTypeAny, {
|
|
43
|
+
type: "DISPLAY_ON_REVIEW";
|
|
44
|
+
conditional: JSONSchema;
|
|
45
|
+
}, {
|
|
46
|
+
type: "DISPLAY_ON_REVIEW";
|
|
47
|
+
conditional: JSONSchema;
|
|
48
|
+
}>;
|
|
49
|
+
/** @knipignore */
|
|
50
|
+
export type FieldConditionalType = typeof ShowConditional | typeof EnableConditional | typeof DisplayOnReviewConditional;
|
|
51
|
+
/** @knipignore */
|
|
52
|
+
export type InferredFieldConditional = z.infer<typeof ShowConditional> | z.infer<typeof EnableConditional> | z.infer<typeof DisplayOnReviewConditional>;
|
|
53
|
+
export declare const FieldConditional: z.ZodDiscriminatedUnion<"type", FieldConditionalType[]>;
|
|
42
54
|
export type FieldConditional = z.infer<typeof FieldConditional>;
|
|
43
55
|
//# sourceMappingURL=Conditional.d.ts.map
|