@adrekic/zod-fieldsjson 1.0.0 → 1.0.1-compound-conditions.0
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/conditions/base.d.ts +13 -2
- package/dist/conditions/boolean.d.ts +7 -7
- package/dist/conditions/checkbox-list.d.ts +16 -16
- package/dist/conditions/date.d.ts +19 -19
- package/dist/conditions/index.d.ts +108 -99
- package/dist/conditions/multi-select.d.ts +16 -16
- package/dist/conditions/multi-string.d.ts +16 -16
- package/dist/conditions/number.d.ts +25 -25
- package/dist/conditions/operator.d.ts +95 -0
- package/dist/conditions/otp.d.ts +13 -13
- package/dist/conditions/pass-fail.d.ts +13 -13
- package/dist/conditions/radio.d.ts +13 -13
- package/dist/conditions/rating.d.ts +25 -25
- package/dist/conditions/scan.d.ts +13 -13
- package/dist/conditions/select.d.ts +13 -13
- package/dist/conditions/string.d.ts +13 -13
- package/dist/conditions/text.d.ts +13 -13
- package/dist/conditions/time.d.ts +19 -19
- package/dist/conditions/upload.d.ts +7 -7
- package/dist/conditions/url.d.ts +13 -13
- package/dist/elements/index.d.ts +6 -810
- package/dist/elements/section.d.ts +8 -1190
- package/dist/index.cjs +1 -1
- package/dist/index.js +325 -276
- package/dist/schema.d.ts +2 -670
- package/package.json +2 -2
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { JSONCompoundConditionSchema } from './operator';
|
|
1
2
|
import * as z from "zod/v4";
|
|
2
3
|
export * from './base';
|
|
3
4
|
export * from './boolean';
|
|
@@ -17,77 +18,76 @@ export * from './text';
|
|
|
17
18
|
export * from './time';
|
|
18
19
|
export * from './upload';
|
|
19
20
|
export * from './url';
|
|
20
|
-
export
|
|
21
|
-
export
|
|
22
|
-
export
|
|
23
|
-
|
|
24
|
-
type: z.ZodLiteral<"boolean">;
|
|
21
|
+
export * from './operator';
|
|
22
|
+
export declare const JSONAtomicConditionTypeSchema: z.ZodUnion<readonly [z.ZodLiteral<"boolean">, z.ZodLiteral<"checkbox-list">, z.ZodLiteral<"date">, z.ZodLiteral<"multi-select">, z.ZodLiteral<"multi-string">, z.ZodLiteral<"number">, z.ZodLiteral<"otp">, z.ZodLiteral<"pass-fail">, z.ZodLiteral<"radio">, z.ZodLiteral<"rating">, z.ZodLiteral<"qr">, z.ZodLiteral<"select">, z.ZodLiteral<"string">, z.ZodLiteral<"text">, z.ZodLiteral<"time">, z.ZodLiteral<"upload">, z.ZodLiteral<"url">]>;
|
|
23
|
+
export type JSONAtomicConditionTypeSchemaType = z.infer<typeof JSONAtomicConditionTypeSchema>;
|
|
24
|
+
export declare const JSONAtomicConditionSchema: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
25
25
|
field: z.ZodString;
|
|
26
26
|
value: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
|
|
27
27
|
modifier: z.ZodLiteral<"equals">;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
28
|
id: z.ZodString;
|
|
30
29
|
type: z.ZodLiteral<"boolean">;
|
|
30
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
31
31
|
field: z.ZodString;
|
|
32
32
|
value: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
|
|
33
33
|
modifier: z.ZodLiteral<"notEquals">;
|
|
34
|
-
}, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
35
34
|
id: z.ZodString;
|
|
36
|
-
type: z.ZodLiteral<"
|
|
35
|
+
type: z.ZodLiteral<"boolean">;
|
|
36
|
+
}, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
37
37
|
field: z.ZodString;
|
|
38
38
|
value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
|
|
39
39
|
modifier: z.ZodLiteral<"equals">;
|
|
40
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
41
40
|
id: z.ZodString;
|
|
42
41
|
type: z.ZodLiteral<"checkbox-list">;
|
|
42
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
43
43
|
field: z.ZodString;
|
|
44
44
|
value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
|
|
45
45
|
modifier: z.ZodLiteral<"notEquals">;
|
|
46
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
47
46
|
id: z.ZodString;
|
|
48
47
|
type: z.ZodLiteral<"checkbox-list">;
|
|
48
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
49
49
|
field: z.ZodString;
|
|
50
50
|
value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
|
|
51
51
|
modifier: z.ZodLiteral<"every">;
|
|
52
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
53
52
|
id: z.ZodString;
|
|
54
53
|
type: z.ZodLiteral<"checkbox-list">;
|
|
54
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
55
55
|
field: z.ZodString;
|
|
56
56
|
value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
|
|
57
57
|
modifier: z.ZodLiteral<"some">;
|
|
58
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
59
58
|
id: z.ZodString;
|
|
60
59
|
type: z.ZodLiteral<"checkbox-list">;
|
|
60
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
61
61
|
field: z.ZodString;
|
|
62
62
|
value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
|
|
63
63
|
modifier: z.ZodLiteral<"none">;
|
|
64
|
-
}, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
65
64
|
id: z.ZodString;
|
|
66
|
-
type: z.ZodLiteral<"
|
|
65
|
+
type: z.ZodLiteral<"checkbox-list">;
|
|
66
|
+
}, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
67
67
|
field: z.ZodString;
|
|
68
68
|
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
69
69
|
modifier: z.ZodLiteral<"equals">;
|
|
70
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
71
70
|
id: z.ZodString;
|
|
72
71
|
type: z.ZodLiteral<"date">;
|
|
72
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
73
73
|
field: z.ZodString;
|
|
74
74
|
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
75
75
|
modifier: z.ZodLiteral<"notEquals">;
|
|
76
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
77
76
|
id: z.ZodString;
|
|
78
77
|
type: z.ZodLiteral<"date">;
|
|
78
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
79
79
|
field: z.ZodString;
|
|
80
80
|
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
81
81
|
modifier: z.ZodLiteral<"before">;
|
|
82
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
83
82
|
id: z.ZodString;
|
|
84
83
|
type: z.ZodLiteral<"date">;
|
|
84
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
85
85
|
field: z.ZodString;
|
|
86
86
|
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
87
87
|
modifier: z.ZodLiteral<"after">;
|
|
88
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
89
88
|
id: z.ZodString;
|
|
90
89
|
type: z.ZodLiteral<"date">;
|
|
90
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
91
91
|
field: z.ZodString;
|
|
92
92
|
value: z.ZodType<{
|
|
93
93
|
from: string | null;
|
|
@@ -97,9 +97,9 @@ export declare const JSONConditionSchema: z.ZodDiscriminatedUnion<[z.ZodDiscrimi
|
|
|
97
97
|
to: string | null;
|
|
98
98
|
}, unknown>>;
|
|
99
99
|
modifier: z.ZodLiteral<"in">;
|
|
100
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
101
100
|
id: z.ZodString;
|
|
102
101
|
type: z.ZodLiteral<"date">;
|
|
102
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
103
103
|
field: z.ZodString;
|
|
104
104
|
value: z.ZodType<{
|
|
105
105
|
from: string | null;
|
|
@@ -109,105 +109,105 @@ export declare const JSONConditionSchema: z.ZodDiscriminatedUnion<[z.ZodDiscrimi
|
|
|
109
109
|
to: string | null;
|
|
110
110
|
}, unknown>>;
|
|
111
111
|
modifier: z.ZodLiteral<"notIn">;
|
|
112
|
-
}, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
113
112
|
id: z.ZodString;
|
|
114
|
-
type: z.ZodLiteral<"
|
|
113
|
+
type: z.ZodLiteral<"date">;
|
|
114
|
+
}, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
115
115
|
field: z.ZodString;
|
|
116
116
|
value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
|
|
117
117
|
modifier: z.ZodLiteral<"equals">;
|
|
118
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
119
118
|
id: z.ZodString;
|
|
120
119
|
type: z.ZodLiteral<"multi-select">;
|
|
120
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
121
121
|
field: z.ZodString;
|
|
122
122
|
value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
|
|
123
123
|
modifier: z.ZodLiteral<"notEquals">;
|
|
124
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
125
124
|
id: z.ZodString;
|
|
126
125
|
type: z.ZodLiteral<"multi-select">;
|
|
126
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
127
127
|
field: z.ZodString;
|
|
128
128
|
value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
|
|
129
129
|
modifier: z.ZodLiteral<"every">;
|
|
130
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
131
130
|
id: z.ZodString;
|
|
132
131
|
type: z.ZodLiteral<"multi-select">;
|
|
132
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
133
133
|
field: z.ZodString;
|
|
134
134
|
value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
|
|
135
135
|
modifier: z.ZodLiteral<"some">;
|
|
136
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
137
136
|
id: z.ZodString;
|
|
138
137
|
type: z.ZodLiteral<"multi-select">;
|
|
138
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
139
139
|
field: z.ZodString;
|
|
140
140
|
value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
|
|
141
141
|
modifier: z.ZodLiteral<"none">;
|
|
142
|
-
}, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
143
142
|
id: z.ZodString;
|
|
144
|
-
type: z.ZodLiteral<"multi-
|
|
143
|
+
type: z.ZodLiteral<"multi-select">;
|
|
144
|
+
}, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
145
145
|
field: z.ZodString;
|
|
146
146
|
value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
|
|
147
147
|
modifier: z.ZodLiteral<"equals">;
|
|
148
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
149
148
|
id: z.ZodString;
|
|
150
149
|
type: z.ZodLiteral<"multi-string">;
|
|
150
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
151
151
|
field: z.ZodString;
|
|
152
152
|
value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
|
|
153
153
|
modifier: z.ZodLiteral<"notEquals">;
|
|
154
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
155
154
|
id: z.ZodString;
|
|
156
155
|
type: z.ZodLiteral<"multi-string">;
|
|
156
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
157
157
|
field: z.ZodString;
|
|
158
158
|
value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
|
|
159
159
|
modifier: z.ZodLiteral<"every">;
|
|
160
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
161
160
|
id: z.ZodString;
|
|
162
161
|
type: z.ZodLiteral<"multi-string">;
|
|
162
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
163
163
|
field: z.ZodString;
|
|
164
164
|
value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
|
|
165
165
|
modifier: z.ZodLiteral<"some">;
|
|
166
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
167
166
|
id: z.ZodString;
|
|
168
167
|
type: z.ZodLiteral<"multi-string">;
|
|
168
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
169
169
|
field: z.ZodString;
|
|
170
170
|
value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
|
|
171
171
|
modifier: z.ZodLiteral<"none">;
|
|
172
|
-
}, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
173
172
|
id: z.ZodString;
|
|
174
|
-
type: z.ZodLiteral<"
|
|
173
|
+
type: z.ZodLiteral<"multi-string">;
|
|
174
|
+
}, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
175
175
|
field: z.ZodString;
|
|
176
176
|
value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
|
|
177
177
|
modifier: z.ZodLiteral<"equals">;
|
|
178
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
179
178
|
id: z.ZodString;
|
|
180
179
|
type: z.ZodLiteral<"number">;
|
|
180
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
181
181
|
field: z.ZodString;
|
|
182
182
|
value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
|
|
183
183
|
modifier: z.ZodLiteral<"notEquals">;
|
|
184
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
185
184
|
id: z.ZodString;
|
|
186
185
|
type: z.ZodLiteral<"number">;
|
|
186
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
187
187
|
field: z.ZodString;
|
|
188
188
|
value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
|
|
189
189
|
modifier: z.ZodLiteral<"lessThan">;
|
|
190
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
191
190
|
id: z.ZodString;
|
|
192
191
|
type: z.ZodLiteral<"number">;
|
|
192
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
193
193
|
field: z.ZodString;
|
|
194
194
|
value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
|
|
195
195
|
modifier: z.ZodLiteral<"lessThanOrEquals">;
|
|
196
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
197
196
|
id: z.ZodString;
|
|
198
197
|
type: z.ZodLiteral<"number">;
|
|
198
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
199
199
|
field: z.ZodString;
|
|
200
200
|
value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
|
|
201
201
|
modifier: z.ZodLiteral<"greaterThan">;
|
|
202
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
203
202
|
id: z.ZodString;
|
|
204
203
|
type: z.ZodLiteral<"number">;
|
|
204
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
205
205
|
field: z.ZodString;
|
|
206
206
|
value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
|
|
207
207
|
modifier: z.ZodLiteral<"greaterThanOrEquals">;
|
|
208
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
209
208
|
id: z.ZodString;
|
|
210
209
|
type: z.ZodLiteral<"number">;
|
|
210
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
211
211
|
field: z.ZodString;
|
|
212
212
|
value: z.ZodType<{
|
|
213
213
|
from: number | null;
|
|
@@ -217,9 +217,9 @@ export declare const JSONConditionSchema: z.ZodDiscriminatedUnion<[z.ZodDiscrimi
|
|
|
217
217
|
to: number | null;
|
|
218
218
|
}, unknown>>;
|
|
219
219
|
modifier: z.ZodLiteral<"inRange">;
|
|
220
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
221
220
|
id: z.ZodString;
|
|
222
221
|
type: z.ZodLiteral<"number">;
|
|
222
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
223
223
|
field: z.ZodString;
|
|
224
224
|
value: z.ZodType<{
|
|
225
225
|
from: number | null;
|
|
@@ -229,117 +229,117 @@ export declare const JSONConditionSchema: z.ZodDiscriminatedUnion<[z.ZodDiscrimi
|
|
|
229
229
|
to: number | null;
|
|
230
230
|
}, unknown>>;
|
|
231
231
|
modifier: z.ZodLiteral<"notInRange">;
|
|
232
|
-
}, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
233
232
|
id: z.ZodString;
|
|
234
|
-
type: z.ZodLiteral<"
|
|
233
|
+
type: z.ZodLiteral<"number">;
|
|
234
|
+
}, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
235
235
|
field: z.ZodString;
|
|
236
236
|
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
237
237
|
modifier: z.ZodLiteral<"equals">;
|
|
238
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
239
238
|
id: z.ZodString;
|
|
240
239
|
type: z.ZodLiteral<"otp">;
|
|
240
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
241
241
|
field: z.ZodString;
|
|
242
242
|
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
243
243
|
modifier: z.ZodLiteral<"notEquals">;
|
|
244
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
245
244
|
id: z.ZodString;
|
|
246
245
|
type: z.ZodLiteral<"otp">;
|
|
246
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
247
247
|
field: z.ZodString;
|
|
248
248
|
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
249
249
|
modifier: z.ZodLiteral<"includes">;
|
|
250
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
251
250
|
id: z.ZodString;
|
|
252
251
|
type: z.ZodLiteral<"otp">;
|
|
252
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
253
253
|
field: z.ZodString;
|
|
254
254
|
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
255
255
|
modifier: z.ZodLiteral<"excludes">;
|
|
256
|
-
}, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
257
256
|
id: z.ZodString;
|
|
258
|
-
type: z.ZodLiteral<"
|
|
257
|
+
type: z.ZodLiteral<"otp">;
|
|
258
|
+
}, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
259
259
|
field: z.ZodString;
|
|
260
260
|
value: z.ZodType<"pass" | "fail" | "na", unknown, z.core.$ZodTypeInternals<"pass" | "fail" | "na", unknown>>;
|
|
261
261
|
modifier: z.ZodLiteral<"equals">;
|
|
262
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
263
262
|
id: z.ZodString;
|
|
264
263
|
type: z.ZodLiteral<"pass-fail">;
|
|
264
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
265
265
|
field: z.ZodString;
|
|
266
266
|
value: z.ZodType<"pass" | "fail" | "na", unknown, z.core.$ZodTypeInternals<"pass" | "fail" | "na", unknown>>;
|
|
267
267
|
modifier: z.ZodLiteral<"notEquals">;
|
|
268
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
269
268
|
id: z.ZodString;
|
|
270
269
|
type: z.ZodLiteral<"pass-fail">;
|
|
270
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
271
271
|
field: z.ZodString;
|
|
272
272
|
value: z.ZodType<("pass" | "fail" | "na")[], unknown, z.core.$ZodTypeInternals<("pass" | "fail" | "na")[], unknown>>;
|
|
273
273
|
modifier: z.ZodLiteral<"includes">;
|
|
274
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
275
274
|
id: z.ZodString;
|
|
276
275
|
type: z.ZodLiteral<"pass-fail">;
|
|
276
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
277
277
|
field: z.ZodString;
|
|
278
278
|
value: z.ZodType<("pass" | "fail" | "na")[], unknown, z.core.$ZodTypeInternals<("pass" | "fail" | "na")[], unknown>>;
|
|
279
279
|
modifier: z.ZodLiteral<"excludes">;
|
|
280
|
-
}, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
281
280
|
id: z.ZodString;
|
|
282
|
-
type: z.ZodLiteral<"
|
|
281
|
+
type: z.ZodLiteral<"pass-fail">;
|
|
282
|
+
}, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
283
283
|
field: z.ZodString;
|
|
284
284
|
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
285
285
|
modifier: z.ZodLiteral<"equals">;
|
|
286
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
287
286
|
id: z.ZodString;
|
|
288
287
|
type: z.ZodLiteral<"radio">;
|
|
288
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
289
289
|
field: z.ZodString;
|
|
290
290
|
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
291
291
|
modifier: z.ZodLiteral<"notEquals">;
|
|
292
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
293
292
|
id: z.ZodString;
|
|
294
293
|
type: z.ZodLiteral<"radio">;
|
|
294
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
295
295
|
field: z.ZodString;
|
|
296
296
|
value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
|
|
297
297
|
modifier: z.ZodLiteral<"includes">;
|
|
298
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
299
298
|
id: z.ZodString;
|
|
300
299
|
type: z.ZodLiteral<"radio">;
|
|
300
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
301
301
|
field: z.ZodString;
|
|
302
302
|
value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
|
|
303
303
|
modifier: z.ZodLiteral<"excludes">;
|
|
304
|
-
}, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
305
304
|
id: z.ZodString;
|
|
306
|
-
type: z.ZodLiteral<"
|
|
305
|
+
type: z.ZodLiteral<"radio">;
|
|
306
|
+
}, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
307
307
|
field: z.ZodString;
|
|
308
308
|
value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
|
|
309
309
|
modifier: z.ZodLiteral<"equals">;
|
|
310
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
311
310
|
id: z.ZodString;
|
|
312
311
|
type: z.ZodLiteral<"rating">;
|
|
312
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
313
313
|
field: z.ZodString;
|
|
314
314
|
value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
|
|
315
315
|
modifier: z.ZodLiteral<"notEquals">;
|
|
316
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
317
316
|
id: z.ZodString;
|
|
318
317
|
type: z.ZodLiteral<"rating">;
|
|
318
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
319
319
|
field: z.ZodString;
|
|
320
320
|
value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
|
|
321
321
|
modifier: z.ZodLiteral<"lessThan">;
|
|
322
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
323
322
|
id: z.ZodString;
|
|
324
323
|
type: z.ZodLiteral<"rating">;
|
|
324
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
325
325
|
field: z.ZodString;
|
|
326
326
|
value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
|
|
327
327
|
modifier: z.ZodLiteral<"lessThanOrEquals">;
|
|
328
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
329
328
|
id: z.ZodString;
|
|
330
329
|
type: z.ZodLiteral<"rating">;
|
|
330
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
331
331
|
field: z.ZodString;
|
|
332
332
|
value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
|
|
333
333
|
modifier: z.ZodLiteral<"greaterThan">;
|
|
334
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
335
334
|
id: z.ZodString;
|
|
336
335
|
type: z.ZodLiteral<"rating">;
|
|
336
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
337
337
|
field: z.ZodString;
|
|
338
338
|
value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
|
|
339
339
|
modifier: z.ZodLiteral<"greaterThanOrEquals">;
|
|
340
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
341
340
|
id: z.ZodString;
|
|
342
341
|
type: z.ZodLiteral<"rating">;
|
|
342
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
343
343
|
field: z.ZodString;
|
|
344
344
|
value: z.ZodType<{
|
|
345
345
|
from: number | null;
|
|
@@ -349,9 +349,9 @@ export declare const JSONConditionSchema: z.ZodDiscriminatedUnion<[z.ZodDiscrimi
|
|
|
349
349
|
to: number | null;
|
|
350
350
|
}, unknown>>;
|
|
351
351
|
modifier: z.ZodLiteral<"inRange">;
|
|
352
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
353
352
|
id: z.ZodString;
|
|
354
353
|
type: z.ZodLiteral<"rating">;
|
|
354
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
355
355
|
field: z.ZodString;
|
|
356
356
|
value: z.ZodType<{
|
|
357
357
|
from: number | null;
|
|
@@ -361,129 +361,129 @@ export declare const JSONConditionSchema: z.ZodDiscriminatedUnion<[z.ZodDiscrimi
|
|
|
361
361
|
to: number | null;
|
|
362
362
|
}, unknown>>;
|
|
363
363
|
modifier: z.ZodLiteral<"notInRange">;
|
|
364
|
-
}, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
365
364
|
id: z.ZodString;
|
|
366
|
-
type: z.ZodLiteral<"
|
|
365
|
+
type: z.ZodLiteral<"rating">;
|
|
366
|
+
}, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
367
367
|
field: z.ZodString;
|
|
368
368
|
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
369
369
|
modifier: z.ZodLiteral<"equals">;
|
|
370
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
371
370
|
id: z.ZodString;
|
|
372
371
|
type: z.ZodLiteral<"qr">;
|
|
372
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
373
373
|
field: z.ZodString;
|
|
374
374
|
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
375
375
|
modifier: z.ZodLiteral<"notEquals">;
|
|
376
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
377
376
|
id: z.ZodString;
|
|
378
377
|
type: z.ZodLiteral<"qr">;
|
|
378
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
379
379
|
field: z.ZodString;
|
|
380
380
|
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
381
381
|
modifier: z.ZodLiteral<"includes">;
|
|
382
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
383
382
|
id: z.ZodString;
|
|
384
383
|
type: z.ZodLiteral<"qr">;
|
|
384
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
385
385
|
field: z.ZodString;
|
|
386
386
|
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
387
387
|
modifier: z.ZodLiteral<"excludes">;
|
|
388
|
-
}, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
389
388
|
id: z.ZodString;
|
|
390
|
-
type: z.ZodLiteral<"
|
|
389
|
+
type: z.ZodLiteral<"qr">;
|
|
390
|
+
}, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
391
391
|
field: z.ZodString;
|
|
392
392
|
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
393
393
|
modifier: z.ZodLiteral<"equals">;
|
|
394
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
395
394
|
id: z.ZodString;
|
|
396
395
|
type: z.ZodLiteral<"select">;
|
|
396
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
397
397
|
field: z.ZodString;
|
|
398
398
|
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
399
399
|
modifier: z.ZodLiteral<"notEquals">;
|
|
400
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
401
400
|
id: z.ZodString;
|
|
402
401
|
type: z.ZodLiteral<"select">;
|
|
402
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
403
403
|
field: z.ZodString;
|
|
404
404
|
value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
|
|
405
405
|
modifier: z.ZodLiteral<"includes">;
|
|
406
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
407
406
|
id: z.ZodString;
|
|
408
407
|
type: z.ZodLiteral<"select">;
|
|
408
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
409
409
|
field: z.ZodString;
|
|
410
410
|
value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
|
|
411
411
|
modifier: z.ZodLiteral<"excludes">;
|
|
412
|
-
}, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
413
412
|
id: z.ZodString;
|
|
414
|
-
type: z.ZodLiteral<"
|
|
413
|
+
type: z.ZodLiteral<"select">;
|
|
414
|
+
}, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
415
415
|
field: z.ZodString;
|
|
416
416
|
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
417
417
|
modifier: z.ZodLiteral<"equals">;
|
|
418
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
419
418
|
id: z.ZodString;
|
|
420
419
|
type: z.ZodLiteral<"string">;
|
|
420
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
421
421
|
field: z.ZodString;
|
|
422
422
|
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
423
423
|
modifier: z.ZodLiteral<"notEquals">;
|
|
424
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
425
424
|
id: z.ZodString;
|
|
426
425
|
type: z.ZodLiteral<"string">;
|
|
426
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
427
427
|
field: z.ZodString;
|
|
428
428
|
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
429
429
|
modifier: z.ZodLiteral<"includes">;
|
|
430
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
431
430
|
id: z.ZodString;
|
|
432
431
|
type: z.ZodLiteral<"string">;
|
|
432
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
433
433
|
field: z.ZodString;
|
|
434
434
|
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
435
435
|
modifier: z.ZodLiteral<"excludes">;
|
|
436
|
-
}, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
437
436
|
id: z.ZodString;
|
|
438
|
-
type: z.ZodLiteral<"
|
|
437
|
+
type: z.ZodLiteral<"string">;
|
|
438
|
+
}, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
439
439
|
field: z.ZodString;
|
|
440
440
|
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
441
441
|
modifier: z.ZodLiteral<"equals">;
|
|
442
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
443
442
|
id: z.ZodString;
|
|
444
443
|
type: z.ZodLiteral<"text">;
|
|
444
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
445
445
|
field: z.ZodString;
|
|
446
446
|
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
447
447
|
modifier: z.ZodLiteral<"notEquals">;
|
|
448
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
449
448
|
id: z.ZodString;
|
|
450
449
|
type: z.ZodLiteral<"text">;
|
|
450
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
451
451
|
field: z.ZodString;
|
|
452
452
|
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
453
453
|
modifier: z.ZodLiteral<"includes">;
|
|
454
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
455
454
|
id: z.ZodString;
|
|
456
455
|
type: z.ZodLiteral<"text">;
|
|
456
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
457
457
|
field: z.ZodString;
|
|
458
458
|
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
459
459
|
modifier: z.ZodLiteral<"excludes">;
|
|
460
|
-
}, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
461
460
|
id: z.ZodString;
|
|
462
|
-
type: z.ZodLiteral<"
|
|
461
|
+
type: z.ZodLiteral<"text">;
|
|
462
|
+
}, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
463
463
|
field: z.ZodString;
|
|
464
464
|
value: z.ZodType<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}`, unknown, z.core.$ZodTypeInternals<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}`, unknown>>;
|
|
465
465
|
modifier: z.ZodLiteral<"equals">;
|
|
466
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
467
466
|
id: z.ZodString;
|
|
468
467
|
type: z.ZodLiteral<"time">;
|
|
468
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
469
469
|
field: z.ZodString;
|
|
470
470
|
value: z.ZodType<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}`, unknown, z.core.$ZodTypeInternals<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}`, unknown>>;
|
|
471
471
|
modifier: z.ZodLiteral<"notEquals">;
|
|
472
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
473
472
|
id: z.ZodString;
|
|
474
473
|
type: z.ZodLiteral<"time">;
|
|
474
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
475
475
|
field: z.ZodString;
|
|
476
476
|
value: z.ZodType<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}`, unknown, z.core.$ZodTypeInternals<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}`, unknown>>;
|
|
477
477
|
modifier: z.ZodLiteral<"before">;
|
|
478
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
479
478
|
id: z.ZodString;
|
|
480
479
|
type: z.ZodLiteral<"time">;
|
|
480
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
481
481
|
field: z.ZodString;
|
|
482
482
|
value: z.ZodType<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}`, unknown, z.core.$ZodTypeInternals<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}`, unknown>>;
|
|
483
483
|
modifier: z.ZodLiteral<"after">;
|
|
484
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
485
484
|
id: z.ZodString;
|
|
486
485
|
type: z.ZodLiteral<"time">;
|
|
486
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
487
487
|
field: z.ZodString;
|
|
488
488
|
value: z.ZodType<{
|
|
489
489
|
from: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
|
|
@@ -493,9 +493,9 @@ export declare const JSONConditionSchema: z.ZodDiscriminatedUnion<[z.ZodDiscrimi
|
|
|
493
493
|
to: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
|
|
494
494
|
}, unknown>>;
|
|
495
495
|
modifier: z.ZodLiteral<"in">;
|
|
496
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
497
496
|
id: z.ZodString;
|
|
498
497
|
type: z.ZodLiteral<"time">;
|
|
498
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
499
499
|
field: z.ZodString;
|
|
500
500
|
value: z.ZodType<{
|
|
501
501
|
from: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
|
|
@@ -505,41 +505,50 @@ export declare const JSONConditionSchema: z.ZodDiscriminatedUnion<[z.ZodDiscrimi
|
|
|
505
505
|
to: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
|
|
506
506
|
}, unknown>>;
|
|
507
507
|
modifier: z.ZodLiteral<"notIn">;
|
|
508
|
-
}, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
509
508
|
id: z.ZodString;
|
|
510
|
-
type: z.ZodLiteral<"
|
|
509
|
+
type: z.ZodLiteral<"time">;
|
|
510
|
+
}, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
511
511
|
field: z.ZodString;
|
|
512
512
|
value: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
|
|
513
513
|
modifier: z.ZodLiteral<"equals">;
|
|
514
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
515
514
|
id: z.ZodString;
|
|
516
515
|
type: z.ZodLiteral<"upload">;
|
|
516
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
517
517
|
field: z.ZodString;
|
|
518
518
|
value: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
|
|
519
519
|
modifier: z.ZodLiteral<"notEquals">;
|
|
520
|
-
}, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
521
520
|
id: z.ZodString;
|
|
522
|
-
type: z.ZodLiteral<"
|
|
521
|
+
type: z.ZodLiteral<"upload">;
|
|
522
|
+
}, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
523
523
|
field: z.ZodString;
|
|
524
524
|
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
525
525
|
modifier: z.ZodLiteral<"equals">;
|
|
526
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
527
526
|
id: z.ZodString;
|
|
528
527
|
type: z.ZodLiteral<"url">;
|
|
528
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
529
529
|
field: z.ZodString;
|
|
530
530
|
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
531
531
|
modifier: z.ZodLiteral<"notEquals">;
|
|
532
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
533
532
|
id: z.ZodString;
|
|
534
533
|
type: z.ZodLiteral<"url">;
|
|
534
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
535
535
|
field: z.ZodString;
|
|
536
536
|
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
537
537
|
modifier: z.ZodLiteral<"includes">;
|
|
538
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
539
538
|
id: z.ZodString;
|
|
540
539
|
type: z.ZodLiteral<"url">;
|
|
540
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
541
541
|
field: z.ZodString;
|
|
542
542
|
value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
543
543
|
modifier: z.ZodLiteral<"excludes">;
|
|
544
|
+
id: z.ZodString;
|
|
545
|
+
type: z.ZodLiteral<"url">;
|
|
544
546
|
}, z.core.$strip>], "modifier">], "type">;
|
|
547
|
+
export type JSONAtomicConditionSchemaType = z.infer<typeof JSONAtomicConditionSchema>;
|
|
548
|
+
export declare const JSONConditionTypeSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodLiteral<"boolean">, z.ZodLiteral<"checkbox-list">, z.ZodLiteral<"date">, z.ZodLiteral<"multi-select">, z.ZodLiteral<"multi-string">, z.ZodLiteral<"number">, z.ZodLiteral<"otp">, z.ZodLiteral<"pass-fail">, z.ZodLiteral<"radio">, z.ZodLiteral<"rating">, z.ZodLiteral<"qr">, z.ZodLiteral<"select">, z.ZodLiteral<"string">, z.ZodLiteral<"text">, z.ZodLiteral<"time">, z.ZodLiteral<"upload">, z.ZodLiteral<"url">]>, z.ZodLiteral<"compound">]>;
|
|
549
|
+
export type JSONConditionTypeSchemaType = z.infer<typeof JSONConditionTypeSchema>;
|
|
550
|
+
export declare const JSONConditionSchema: z.ZodDiscriminatedUnion<[
|
|
551
|
+
typeof JSONAtomicConditionSchema,
|
|
552
|
+
typeof JSONCompoundConditionSchema
|
|
553
|
+
], "type">;
|
|
545
554
|
export type JSONConditionSchemaType = z.infer<typeof JSONConditionSchema>;
|