@adrekic/zod-fieldsjson 0.0.2-schema-improvements.1 → 1.0.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.
@@ -1,264 +1,1056 @@
1
1
  import * as z from "zod/v4";
2
2
  export declare const JSONFieldSectionTypeSchema: z.ZodLiteral<"section">;
3
3
  export type JSONFieldSectionTypeSchemaType = z.infer<typeof JSONFieldSectionTypeSchema>;
4
- export declare const JSONFieldSectionConditionsSchema: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4
+ export declare const JSONFieldSectionConditionsSchema: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[z.ZodObject<{
5
5
  id: z.ZodString;
6
6
  type: z.ZodLiteral<"boolean">;
7
7
  field: z.ZodString;
8
8
  value: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
9
- modifier: z.ZodLiteral<"equals" | "notEquals">;
9
+ modifier: z.ZodLiteral<"equals">;
10
+ }, z.core.$strip>, z.ZodObject<{
11
+ id: z.ZodString;
12
+ type: z.ZodLiteral<"boolean">;
13
+ field: z.ZodString;
14
+ value: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
15
+ modifier: z.ZodLiteral<"notEquals">;
16
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
17
+ id: z.ZodString;
18
+ type: z.ZodLiteral<"checkbox-list">;
19
+ field: z.ZodString;
20
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
21
+ modifier: z.ZodLiteral<"equals">;
22
+ }, z.core.$strip>, z.ZodObject<{
23
+ id: z.ZodString;
24
+ type: z.ZodLiteral<"checkbox-list">;
25
+ field: z.ZodString;
26
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
27
+ modifier: z.ZodLiteral<"notEquals">;
10
28
  }, z.core.$strip>, z.ZodObject<{
11
29
  id: z.ZodString;
12
30
  type: z.ZodLiteral<"checkbox-list">;
13
31
  field: z.ZodString;
14
32
  value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
15
- modifier: z.ZodLiteral<"equals" | "notEquals" | "every" | "some" | "none">;
33
+ modifier: z.ZodLiteral<"every">;
34
+ }, z.core.$strip>, z.ZodObject<{
35
+ id: z.ZodString;
36
+ type: z.ZodLiteral<"checkbox-list">;
37
+ field: z.ZodString;
38
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
39
+ modifier: z.ZodLiteral<"some">;
40
+ }, z.core.$strip>, z.ZodObject<{
41
+ id: z.ZodString;
42
+ type: z.ZodLiteral<"checkbox-list">;
43
+ field: z.ZodString;
44
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
45
+ modifier: z.ZodLiteral<"none">;
46
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
47
+ id: z.ZodString;
48
+ type: z.ZodLiteral<"date">;
49
+ field: z.ZodString;
50
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
51
+ modifier: z.ZodLiteral<"equals">;
52
+ }, z.core.$strip>, z.ZodObject<{
53
+ id: z.ZodString;
54
+ type: z.ZodLiteral<"date">;
55
+ field: z.ZodString;
56
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
57
+ modifier: z.ZodLiteral<"notEquals">;
58
+ }, z.core.$strip>, z.ZodObject<{
59
+ id: z.ZodString;
60
+ type: z.ZodLiteral<"date">;
61
+ field: z.ZodString;
62
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
63
+ modifier: z.ZodLiteral<"before">;
64
+ }, z.core.$strip>, z.ZodObject<{
65
+ id: z.ZodString;
66
+ type: z.ZodLiteral<"date">;
67
+ field: z.ZodString;
68
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
69
+ modifier: z.ZodLiteral<"after">;
16
70
  }, z.core.$strip>, z.ZodObject<{
17
71
  id: z.ZodString;
18
72
  type: z.ZodLiteral<"date">;
19
73
  field: z.ZodString;
20
- value: z.ZodType<string | {
74
+ value: z.ZodType<{
21
75
  from: string | null;
22
76
  to: string | null;
23
- }, unknown, z.core.$ZodTypeInternals<string | {
77
+ }, unknown, z.core.$ZodTypeInternals<{
24
78
  from: string | null;
25
79
  to: string | null;
26
80
  }, unknown>>;
27
- modifier: z.ZodLiteral<"equals" | "notEquals" | "in" | "before" | "after" | "notIn">;
81
+ modifier: z.ZodLiteral<"in">;
82
+ }, z.core.$strip>, z.ZodObject<{
83
+ id: z.ZodString;
84
+ type: z.ZodLiteral<"date">;
85
+ field: z.ZodString;
86
+ value: z.ZodType<{
87
+ from: string | null;
88
+ to: string | null;
89
+ }, unknown, z.core.$ZodTypeInternals<{
90
+ from: string | null;
91
+ to: string | null;
92
+ }, unknown>>;
93
+ modifier: z.ZodLiteral<"notIn">;
94
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
95
+ id: z.ZodString;
96
+ type: z.ZodLiteral<"multi-select">;
97
+ field: z.ZodString;
98
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
99
+ modifier: z.ZodLiteral<"equals">;
100
+ }, z.core.$strip>, z.ZodObject<{
101
+ id: z.ZodString;
102
+ type: z.ZodLiteral<"multi-select">;
103
+ field: z.ZodString;
104
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
105
+ modifier: z.ZodLiteral<"notEquals">;
106
+ }, z.core.$strip>, z.ZodObject<{
107
+ id: z.ZodString;
108
+ type: z.ZodLiteral<"multi-select">;
109
+ field: z.ZodString;
110
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
111
+ modifier: z.ZodLiteral<"every">;
28
112
  }, z.core.$strip>, z.ZodObject<{
29
113
  id: z.ZodString;
30
114
  type: z.ZodLiteral<"multi-select">;
31
115
  field: z.ZodString;
32
116
  value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
33
- modifier: z.ZodLiteral<"equals" | "notEquals" | "every" | "some" | "none">;
117
+ modifier: z.ZodLiteral<"some">;
118
+ }, z.core.$strip>, z.ZodObject<{
119
+ id: z.ZodString;
120
+ type: z.ZodLiteral<"multi-select">;
121
+ field: z.ZodString;
122
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
123
+ modifier: z.ZodLiteral<"none">;
124
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
125
+ id: z.ZodString;
126
+ type: z.ZodLiteral<"multi-string">;
127
+ field: z.ZodString;
128
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
129
+ modifier: z.ZodLiteral<"equals">;
130
+ }, z.core.$strip>, z.ZodObject<{
131
+ id: z.ZodString;
132
+ type: z.ZodLiteral<"multi-string">;
133
+ field: z.ZodString;
134
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
135
+ modifier: z.ZodLiteral<"notEquals">;
136
+ }, z.core.$strip>, z.ZodObject<{
137
+ id: z.ZodString;
138
+ type: z.ZodLiteral<"multi-string">;
139
+ field: z.ZodString;
140
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
141
+ modifier: z.ZodLiteral<"every">;
34
142
  }, z.core.$strip>, z.ZodObject<{
35
143
  id: z.ZodString;
36
144
  type: z.ZodLiteral<"multi-string">;
37
145
  field: z.ZodString;
38
146
  value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
39
- modifier: z.ZodLiteral<"equals" | "notEquals" | "every" | "some" | "none">;
147
+ modifier: z.ZodLiteral<"some">;
148
+ }, z.core.$strip>, z.ZodObject<{
149
+ id: z.ZodString;
150
+ type: z.ZodLiteral<"multi-string">;
151
+ field: z.ZodString;
152
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
153
+ modifier: z.ZodLiteral<"none">;
154
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
155
+ id: z.ZodString;
156
+ type: z.ZodLiteral<"number">;
157
+ field: z.ZodString;
158
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
159
+ modifier: z.ZodLiteral<"equals">;
160
+ }, z.core.$strip>, z.ZodObject<{
161
+ id: z.ZodString;
162
+ type: z.ZodLiteral<"number">;
163
+ field: z.ZodString;
164
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
165
+ modifier: z.ZodLiteral<"notEquals">;
166
+ }, z.core.$strip>, z.ZodObject<{
167
+ id: z.ZodString;
168
+ type: z.ZodLiteral<"number">;
169
+ field: z.ZodString;
170
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
171
+ modifier: z.ZodLiteral<"lessThan">;
172
+ }, z.core.$strip>, z.ZodObject<{
173
+ id: z.ZodString;
174
+ type: z.ZodLiteral<"number">;
175
+ field: z.ZodString;
176
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
177
+ modifier: z.ZodLiteral<"lessThanOrEquals">;
178
+ }, z.core.$strip>, z.ZodObject<{
179
+ id: z.ZodString;
180
+ type: z.ZodLiteral<"number">;
181
+ field: z.ZodString;
182
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
183
+ modifier: z.ZodLiteral<"greaterThan">;
40
184
  }, z.core.$strip>, z.ZodObject<{
41
185
  id: z.ZodString;
42
186
  type: z.ZodLiteral<"number">;
43
187
  field: z.ZodString;
44
- value: z.ZodType<number | {
188
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
189
+ modifier: z.ZodLiteral<"greaterThanOrEquals">;
190
+ }, z.core.$strip>, z.ZodObject<{
191
+ id: z.ZodString;
192
+ type: z.ZodLiteral<"number">;
193
+ field: z.ZodString;
194
+ value: z.ZodType<{
45
195
  from: number | null;
46
196
  to: number | null;
47
- }, unknown, z.core.$ZodTypeInternals<number | {
197
+ }, unknown, z.core.$ZodTypeInternals<{
48
198
  from: number | null;
49
199
  to: number | null;
50
200
  }, unknown>>;
51
- modifier: z.ZodLiteral<"equals" | "notEquals" | "lessThan" | "lessThanOrEquals" | "greaterThan" | "greaterThanOrEquals" | "inRange" | "notInRange">;
201
+ modifier: z.ZodLiteral<"inRange">;
202
+ }, z.core.$strip>, z.ZodObject<{
203
+ id: z.ZodString;
204
+ type: z.ZodLiteral<"number">;
205
+ field: z.ZodString;
206
+ value: z.ZodType<{
207
+ from: number | null;
208
+ to: number | null;
209
+ }, unknown, z.core.$ZodTypeInternals<{
210
+ from: number | null;
211
+ to: number | null;
212
+ }, unknown>>;
213
+ modifier: z.ZodLiteral<"notInRange">;
214
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
215
+ id: z.ZodString;
216
+ type: z.ZodLiteral<"otp">;
217
+ field: z.ZodString;
218
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
219
+ modifier: z.ZodLiteral<"equals">;
220
+ }, z.core.$strip>, z.ZodObject<{
221
+ id: z.ZodString;
222
+ type: z.ZodLiteral<"otp">;
223
+ field: z.ZodString;
224
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
225
+ modifier: z.ZodLiteral<"notEquals">;
52
226
  }, z.core.$strip>, z.ZodObject<{
53
227
  id: z.ZodString;
54
228
  type: z.ZodLiteral<"otp">;
55
229
  field: z.ZodString;
56
230
  value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
57
- modifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
231
+ modifier: z.ZodLiteral<"includes">;
58
232
  }, z.core.$strip>, z.ZodObject<{
233
+ id: z.ZodString;
234
+ type: z.ZodLiteral<"otp">;
235
+ field: z.ZodString;
236
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
237
+ modifier: z.ZodLiteral<"excludes">;
238
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
59
239
  id: z.ZodString;
60
240
  type: z.ZodLiteral<"pass-fail">;
61
241
  field: z.ZodString;
62
- value: z.ZodType<"pass" | "fail" | "na" | ("pass" | "fail" | "na")[], unknown, z.core.$ZodTypeInternals<"pass" | "fail" | "na" | ("pass" | "fail" | "na")[], unknown>>;
63
- modifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
242
+ value: z.ZodType<"pass" | "fail" | "na", unknown, z.core.$ZodTypeInternals<"pass" | "fail" | "na", unknown>>;
243
+ modifier: z.ZodLiteral<"equals">;
244
+ }, z.core.$strip>, z.ZodObject<{
245
+ id: z.ZodString;
246
+ type: z.ZodLiteral<"pass-fail">;
247
+ field: z.ZodString;
248
+ value: z.ZodType<"pass" | "fail" | "na", unknown, z.core.$ZodTypeInternals<"pass" | "fail" | "na", unknown>>;
249
+ modifier: z.ZodLiteral<"notEquals">;
250
+ }, z.core.$strip>, z.ZodObject<{
251
+ id: z.ZodString;
252
+ type: z.ZodLiteral<"pass-fail">;
253
+ field: z.ZodString;
254
+ value: z.ZodType<("pass" | "fail" | "na")[], unknown, z.core.$ZodTypeInternals<("pass" | "fail" | "na")[], unknown>>;
255
+ modifier: z.ZodLiteral<"includes">;
256
+ }, z.core.$strip>, z.ZodObject<{
257
+ id: z.ZodString;
258
+ type: z.ZodLiteral<"pass-fail">;
259
+ field: z.ZodString;
260
+ value: z.ZodType<("pass" | "fail" | "na")[], unknown, z.core.$ZodTypeInternals<("pass" | "fail" | "na")[], unknown>>;
261
+ modifier: z.ZodLiteral<"excludes">;
262
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
263
+ id: z.ZodString;
264
+ type: z.ZodLiteral<"radio">;
265
+ field: z.ZodString;
266
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
267
+ modifier: z.ZodLiteral<"equals">;
64
268
  }, z.core.$strip>, z.ZodObject<{
65
269
  id: z.ZodString;
66
270
  type: z.ZodLiteral<"radio">;
67
271
  field: z.ZodString;
68
- value: z.ZodType<string | string[], unknown, z.core.$ZodTypeInternals<string | string[], unknown>>;
69
- modifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
272
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
273
+ modifier: z.ZodLiteral<"notEquals">;
274
+ }, z.core.$strip>, z.ZodObject<{
275
+ id: z.ZodString;
276
+ type: z.ZodLiteral<"radio">;
277
+ field: z.ZodString;
278
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
279
+ modifier: z.ZodLiteral<"includes">;
280
+ }, z.core.$strip>, z.ZodObject<{
281
+ id: z.ZodString;
282
+ type: z.ZodLiteral<"radio">;
283
+ field: z.ZodString;
284
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
285
+ modifier: z.ZodLiteral<"excludes">;
286
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
287
+ id: z.ZodString;
288
+ type: z.ZodLiteral<"rating">;
289
+ field: z.ZodString;
290
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
291
+ modifier: z.ZodLiteral<"equals">;
292
+ }, z.core.$strip>, z.ZodObject<{
293
+ id: z.ZodString;
294
+ type: z.ZodLiteral<"rating">;
295
+ field: z.ZodString;
296
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
297
+ modifier: z.ZodLiteral<"notEquals">;
70
298
  }, z.core.$strip>, z.ZodObject<{
71
299
  id: z.ZodString;
72
300
  type: z.ZodLiteral<"rating">;
73
301
  field: z.ZodString;
74
- value: z.ZodType<number | {
302
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
303
+ modifier: z.ZodLiteral<"lessThan">;
304
+ }, z.core.$strip>, z.ZodObject<{
305
+ id: z.ZodString;
306
+ type: z.ZodLiteral<"rating">;
307
+ field: z.ZodString;
308
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
309
+ modifier: z.ZodLiteral<"lessThanOrEquals">;
310
+ }, z.core.$strip>, z.ZodObject<{
311
+ id: z.ZodString;
312
+ type: z.ZodLiteral<"rating">;
313
+ field: z.ZodString;
314
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
315
+ modifier: z.ZodLiteral<"greaterThan">;
316
+ }, z.core.$strip>, z.ZodObject<{
317
+ id: z.ZodString;
318
+ type: z.ZodLiteral<"rating">;
319
+ field: z.ZodString;
320
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
321
+ modifier: z.ZodLiteral<"greaterThanOrEquals">;
322
+ }, z.core.$strip>, z.ZodObject<{
323
+ id: z.ZodString;
324
+ type: z.ZodLiteral<"rating">;
325
+ field: z.ZodString;
326
+ value: z.ZodType<{
75
327
  from: number | null;
76
328
  to: number | null;
77
- }, unknown, z.core.$ZodTypeInternals<number | {
329
+ }, unknown, z.core.$ZodTypeInternals<{
78
330
  from: number | null;
79
331
  to: number | null;
80
332
  }, unknown>>;
81
- modifier: z.ZodLiteral<"equals" | "notEquals" | "lessThan" | "lessThanOrEquals" | "greaterThan" | "greaterThanOrEquals" | "inRange" | "notInRange">;
333
+ modifier: z.ZodLiteral<"inRange">;
82
334
  }, z.core.$strip>, z.ZodObject<{
335
+ id: z.ZodString;
336
+ type: z.ZodLiteral<"rating">;
337
+ field: z.ZodString;
338
+ value: z.ZodType<{
339
+ from: number | null;
340
+ to: number | null;
341
+ }, unknown, z.core.$ZodTypeInternals<{
342
+ from: number | null;
343
+ to: number | null;
344
+ }, unknown>>;
345
+ modifier: z.ZodLiteral<"notInRange">;
346
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
83
347
  id: z.ZodString;
84
348
  type: z.ZodLiteral<"qr">;
85
349
  field: z.ZodString;
86
350
  value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
87
- modifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
351
+ modifier: z.ZodLiteral<"equals">;
88
352
  }, z.core.$strip>, z.ZodObject<{
353
+ id: z.ZodString;
354
+ type: z.ZodLiteral<"qr">;
355
+ field: z.ZodString;
356
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
357
+ modifier: z.ZodLiteral<"notEquals">;
358
+ }, z.core.$strip>, z.ZodObject<{
359
+ id: z.ZodString;
360
+ type: z.ZodLiteral<"qr">;
361
+ field: z.ZodString;
362
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
363
+ modifier: z.ZodLiteral<"includes">;
364
+ }, z.core.$strip>, z.ZodObject<{
365
+ id: z.ZodString;
366
+ type: z.ZodLiteral<"qr">;
367
+ field: z.ZodString;
368
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
369
+ modifier: z.ZodLiteral<"excludes">;
370
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
89
371
  id: z.ZodString;
90
372
  type: z.ZodLiteral<"select">;
91
373
  field: z.ZodString;
92
- value: z.ZodType<string | string[], unknown, z.core.$ZodTypeInternals<string | string[], unknown>>;
93
- modifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
374
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
375
+ modifier: z.ZodLiteral<"equals">;
376
+ }, z.core.$strip>, z.ZodObject<{
377
+ id: z.ZodString;
378
+ type: z.ZodLiteral<"select">;
379
+ field: z.ZodString;
380
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
381
+ modifier: z.ZodLiteral<"notEquals">;
382
+ }, z.core.$strip>, z.ZodObject<{
383
+ id: z.ZodString;
384
+ type: z.ZodLiteral<"select">;
385
+ field: z.ZodString;
386
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
387
+ modifier: z.ZodLiteral<"includes">;
388
+ }, z.core.$strip>, z.ZodObject<{
389
+ id: z.ZodString;
390
+ type: z.ZodLiteral<"select">;
391
+ field: z.ZodString;
392
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
393
+ modifier: z.ZodLiteral<"excludes">;
394
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
395
+ id: z.ZodString;
396
+ type: z.ZodLiteral<"string">;
397
+ field: z.ZodString;
398
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
399
+ modifier: z.ZodLiteral<"equals">;
400
+ }, z.core.$strip>, z.ZodObject<{
401
+ id: z.ZodString;
402
+ type: z.ZodLiteral<"string">;
403
+ field: z.ZodString;
404
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
405
+ modifier: z.ZodLiteral<"notEquals">;
406
+ }, z.core.$strip>, z.ZodObject<{
407
+ id: z.ZodString;
408
+ type: z.ZodLiteral<"string">;
409
+ field: z.ZodString;
410
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
411
+ modifier: z.ZodLiteral<"includes">;
94
412
  }, z.core.$strip>, z.ZodObject<{
95
413
  id: z.ZodString;
96
414
  type: z.ZodLiteral<"string">;
97
415
  field: z.ZodString;
98
416
  value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
99
- modifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
417
+ modifier: z.ZodLiteral<"excludes">;
418
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
419
+ id: z.ZodString;
420
+ type: z.ZodLiteral<"text">;
421
+ field: z.ZodString;
422
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
423
+ modifier: z.ZodLiteral<"equals">;
100
424
  }, z.core.$strip>, z.ZodObject<{
101
425
  id: z.ZodString;
102
426
  type: z.ZodLiteral<"text">;
103
427
  field: z.ZodString;
104
428
  value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
105
- modifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
429
+ modifier: z.ZodLiteral<"notEquals">;
430
+ }, z.core.$strip>, z.ZodObject<{
431
+ id: z.ZodString;
432
+ type: z.ZodLiteral<"text">;
433
+ field: z.ZodString;
434
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
435
+ modifier: z.ZodLiteral<"includes">;
436
+ }, z.core.$strip>, z.ZodObject<{
437
+ id: z.ZodString;
438
+ type: z.ZodLiteral<"text">;
439
+ field: z.ZodString;
440
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
441
+ modifier: z.ZodLiteral<"excludes">;
442
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
443
+ id: z.ZodString;
444
+ type: z.ZodLiteral<"time">;
445
+ field: z.ZodString;
446
+ 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>>;
447
+ modifier: z.ZodLiteral<"equals">;
106
448
  }, z.core.$strip>, z.ZodObject<{
107
449
  id: z.ZodString;
108
450
  type: z.ZodLiteral<"time">;
109
451
  field: z.ZodString;
110
- value: z.ZodType<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | {
452
+ 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>>;
453
+ modifier: z.ZodLiteral<"notEquals">;
454
+ }, z.core.$strip>, z.ZodObject<{
455
+ id: z.ZodString;
456
+ type: z.ZodLiteral<"time">;
457
+ field: z.ZodString;
458
+ 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>>;
459
+ modifier: z.ZodLiteral<"before">;
460
+ }, z.core.$strip>, z.ZodObject<{
461
+ id: z.ZodString;
462
+ type: z.ZodLiteral<"time">;
463
+ field: z.ZodString;
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
+ modifier: z.ZodLiteral<"after">;
466
+ }, z.core.$strip>, z.ZodObject<{
467
+ id: z.ZodString;
468
+ type: z.ZodLiteral<"time">;
469
+ field: z.ZodString;
470
+ value: z.ZodType<{
471
+ from: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
472
+ to: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
473
+ }, unknown, z.core.$ZodTypeInternals<{
474
+ from: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
475
+ to: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
476
+ }, unknown>>;
477
+ modifier: z.ZodLiteral<"in">;
478
+ }, z.core.$strip>, z.ZodObject<{
479
+ id: z.ZodString;
480
+ type: z.ZodLiteral<"time">;
481
+ field: z.ZodString;
482
+ value: z.ZodType<{
111
483
  from: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
112
484
  to: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
113
- }, unknown, z.core.$ZodTypeInternals<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | {
485
+ }, unknown, z.core.$ZodTypeInternals<{
114
486
  from: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
115
487
  to: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
116
488
  }, unknown>>;
117
- modifier: z.ZodLiteral<"equals" | "notEquals" | "in" | "before" | "after" | "notIn">;
489
+ modifier: z.ZodLiteral<"notIn">;
490
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
491
+ id: z.ZodString;
492
+ type: z.ZodLiteral<"upload">;
493
+ field: z.ZodString;
494
+ value: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
495
+ modifier: z.ZodLiteral<"equals">;
118
496
  }, z.core.$strip>, z.ZodObject<{
119
497
  id: z.ZodString;
120
498
  type: z.ZodLiteral<"upload">;
121
499
  field: z.ZodString;
122
500
  value: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
123
- modifier: z.ZodLiteral<"equals" | "notEquals">;
501
+ modifier: z.ZodLiteral<"notEquals">;
502
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
503
+ id: z.ZodString;
504
+ type: z.ZodLiteral<"url">;
505
+ field: z.ZodString;
506
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
507
+ modifier: z.ZodLiteral<"equals">;
124
508
  }, z.core.$strip>, z.ZodObject<{
125
509
  id: z.ZodString;
126
510
  type: z.ZodLiteral<"url">;
127
511
  field: z.ZodString;
128
512
  value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
129
- modifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
130
- }, z.core.$strip>], "type">>>;
513
+ modifier: z.ZodLiteral<"notEquals">;
514
+ }, z.core.$strip>, z.ZodObject<{
515
+ id: z.ZodString;
516
+ type: z.ZodLiteral<"url">;
517
+ field: z.ZodString;
518
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
519
+ modifier: z.ZodLiteral<"includes">;
520
+ }, z.core.$strip>, z.ZodObject<{
521
+ id: z.ZodString;
522
+ type: z.ZodLiteral<"url">;
523
+ field: z.ZodString;
524
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
525
+ modifier: z.ZodLiteral<"excludes">;
526
+ }, z.core.$strip>], "modifier">], "type">>>;
131
527
  export type JSONFieldSectionConditionsSchemaType = z.infer<typeof JSONFieldSectionConditionsSchema>;
132
528
  export declare const JSONFieldSectionSchema: z.ZodObject<{
133
529
  label: z.ZodOptional<z.ZodString>;
134
530
  description: z.ZodOptional<z.ZodString>;
135
- conditions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
531
+ conditions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[z.ZodObject<{
532
+ id: z.ZodString;
533
+ type: z.ZodLiteral<"boolean">;
534
+ field: z.ZodString;
535
+ value: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
536
+ modifier: z.ZodLiteral<"equals">;
537
+ }, z.core.$strip>, z.ZodObject<{
538
+ id: z.ZodString;
539
+ type: z.ZodLiteral<"boolean">;
540
+ field: z.ZodString;
541
+ value: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
542
+ modifier: z.ZodLiteral<"notEquals">;
543
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
544
+ id: z.ZodString;
545
+ type: z.ZodLiteral<"checkbox-list">;
546
+ field: z.ZodString;
547
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
548
+ modifier: z.ZodLiteral<"equals">;
549
+ }, z.core.$strip>, z.ZodObject<{
550
+ id: z.ZodString;
551
+ type: z.ZodLiteral<"checkbox-list">;
552
+ field: z.ZodString;
553
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
554
+ modifier: z.ZodLiteral<"notEquals">;
555
+ }, z.core.$strip>, z.ZodObject<{
556
+ id: z.ZodString;
557
+ type: z.ZodLiteral<"checkbox-list">;
558
+ field: z.ZodString;
559
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
560
+ modifier: z.ZodLiteral<"every">;
561
+ }, z.core.$strip>, z.ZodObject<{
562
+ id: z.ZodString;
563
+ type: z.ZodLiteral<"checkbox-list">;
564
+ field: z.ZodString;
565
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
566
+ modifier: z.ZodLiteral<"some">;
567
+ }, z.core.$strip>, z.ZodObject<{
568
+ id: z.ZodString;
569
+ type: z.ZodLiteral<"checkbox-list">;
570
+ field: z.ZodString;
571
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
572
+ modifier: z.ZodLiteral<"none">;
573
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
574
+ id: z.ZodString;
575
+ type: z.ZodLiteral<"date">;
576
+ field: z.ZodString;
577
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
578
+ modifier: z.ZodLiteral<"equals">;
579
+ }, z.core.$strip>, z.ZodObject<{
580
+ id: z.ZodString;
581
+ type: z.ZodLiteral<"date">;
582
+ field: z.ZodString;
583
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
584
+ modifier: z.ZodLiteral<"notEquals">;
585
+ }, z.core.$strip>, z.ZodObject<{
586
+ id: z.ZodString;
587
+ type: z.ZodLiteral<"date">;
588
+ field: z.ZodString;
589
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
590
+ modifier: z.ZodLiteral<"before">;
591
+ }, z.core.$strip>, z.ZodObject<{
136
592
  id: z.ZodString;
137
- type: z.ZodLiteral<"boolean">;
593
+ type: z.ZodLiteral<"date">;
138
594
  field: z.ZodString;
139
- value: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
140
- modifier: z.ZodLiteral<"equals" | "notEquals">;
595
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
596
+ modifier: z.ZodLiteral<"after">;
141
597
  }, z.core.$strip>, z.ZodObject<{
142
598
  id: z.ZodString;
143
- type: z.ZodLiteral<"checkbox-list">;
599
+ type: z.ZodLiteral<"date">;
144
600
  field: z.ZodString;
145
- value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
146
- modifier: z.ZodLiteral<"equals" | "notEquals" | "every" | "some" | "none">;
601
+ value: z.ZodType<{
602
+ from: string | null;
603
+ to: string | null;
604
+ }, unknown, z.core.$ZodTypeInternals<{
605
+ from: string | null;
606
+ to: string | null;
607
+ }, unknown>>;
608
+ modifier: z.ZodLiteral<"in">;
147
609
  }, z.core.$strip>, z.ZodObject<{
148
610
  id: z.ZodString;
149
611
  type: z.ZodLiteral<"date">;
150
612
  field: z.ZodString;
151
- value: z.ZodType<string | {
613
+ value: z.ZodType<{
152
614
  from: string | null;
153
615
  to: string | null;
154
- }, unknown, z.core.$ZodTypeInternals<string | {
616
+ }, unknown, z.core.$ZodTypeInternals<{
155
617
  from: string | null;
156
618
  to: string | null;
157
619
  }, unknown>>;
158
- modifier: z.ZodLiteral<"equals" | "notEquals" | "in" | "before" | "after" | "notIn">;
620
+ modifier: z.ZodLiteral<"notIn">;
621
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
622
+ id: z.ZodString;
623
+ type: z.ZodLiteral<"multi-select">;
624
+ field: z.ZodString;
625
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
626
+ modifier: z.ZodLiteral<"equals">;
627
+ }, z.core.$strip>, z.ZodObject<{
628
+ id: z.ZodString;
629
+ type: z.ZodLiteral<"multi-select">;
630
+ field: z.ZodString;
631
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
632
+ modifier: z.ZodLiteral<"notEquals">;
633
+ }, z.core.$strip>, z.ZodObject<{
634
+ id: z.ZodString;
635
+ type: z.ZodLiteral<"multi-select">;
636
+ field: z.ZodString;
637
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
638
+ modifier: z.ZodLiteral<"every">;
639
+ }, z.core.$strip>, z.ZodObject<{
640
+ id: z.ZodString;
641
+ type: z.ZodLiteral<"multi-select">;
642
+ field: z.ZodString;
643
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
644
+ modifier: z.ZodLiteral<"some">;
159
645
  }, z.core.$strip>, z.ZodObject<{
160
646
  id: z.ZodString;
161
647
  type: z.ZodLiteral<"multi-select">;
162
648
  field: z.ZodString;
163
649
  value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
164
- modifier: z.ZodLiteral<"equals" | "notEquals" | "every" | "some" | "none">;
650
+ modifier: z.ZodLiteral<"none">;
651
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
652
+ id: z.ZodString;
653
+ type: z.ZodLiteral<"multi-string">;
654
+ field: z.ZodString;
655
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
656
+ modifier: z.ZodLiteral<"equals">;
657
+ }, z.core.$strip>, z.ZodObject<{
658
+ id: z.ZodString;
659
+ type: z.ZodLiteral<"multi-string">;
660
+ field: z.ZodString;
661
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
662
+ modifier: z.ZodLiteral<"notEquals">;
663
+ }, z.core.$strip>, z.ZodObject<{
664
+ id: z.ZodString;
665
+ type: z.ZodLiteral<"multi-string">;
666
+ field: z.ZodString;
667
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
668
+ modifier: z.ZodLiteral<"every">;
165
669
  }, z.core.$strip>, z.ZodObject<{
166
670
  id: z.ZodString;
167
671
  type: z.ZodLiteral<"multi-string">;
168
672
  field: z.ZodString;
169
673
  value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
170
- modifier: z.ZodLiteral<"equals" | "notEquals" | "every" | "some" | "none">;
674
+ modifier: z.ZodLiteral<"some">;
675
+ }, z.core.$strip>, z.ZodObject<{
676
+ id: z.ZodString;
677
+ type: z.ZodLiteral<"multi-string">;
678
+ field: z.ZodString;
679
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
680
+ modifier: z.ZodLiteral<"none">;
681
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
682
+ id: z.ZodString;
683
+ type: z.ZodLiteral<"number">;
684
+ field: z.ZodString;
685
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
686
+ modifier: z.ZodLiteral<"equals">;
687
+ }, z.core.$strip>, z.ZodObject<{
688
+ id: z.ZodString;
689
+ type: z.ZodLiteral<"number">;
690
+ field: z.ZodString;
691
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
692
+ modifier: z.ZodLiteral<"notEquals">;
693
+ }, z.core.$strip>, z.ZodObject<{
694
+ id: z.ZodString;
695
+ type: z.ZodLiteral<"number">;
696
+ field: z.ZodString;
697
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
698
+ modifier: z.ZodLiteral<"lessThan">;
171
699
  }, z.core.$strip>, z.ZodObject<{
172
700
  id: z.ZodString;
173
701
  type: z.ZodLiteral<"number">;
174
702
  field: z.ZodString;
175
- value: z.ZodType<number | {
703
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
704
+ modifier: z.ZodLiteral<"lessThanOrEquals">;
705
+ }, z.core.$strip>, z.ZodObject<{
706
+ id: z.ZodString;
707
+ type: z.ZodLiteral<"number">;
708
+ field: z.ZodString;
709
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
710
+ modifier: z.ZodLiteral<"greaterThan">;
711
+ }, z.core.$strip>, z.ZodObject<{
712
+ id: z.ZodString;
713
+ type: z.ZodLiteral<"number">;
714
+ field: z.ZodString;
715
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
716
+ modifier: z.ZodLiteral<"greaterThanOrEquals">;
717
+ }, z.core.$strip>, z.ZodObject<{
718
+ id: z.ZodString;
719
+ type: z.ZodLiteral<"number">;
720
+ field: z.ZodString;
721
+ value: z.ZodType<{
722
+ from: number | null;
723
+ to: number | null;
724
+ }, unknown, z.core.$ZodTypeInternals<{
725
+ from: number | null;
726
+ to: number | null;
727
+ }, unknown>>;
728
+ modifier: z.ZodLiteral<"inRange">;
729
+ }, z.core.$strip>, z.ZodObject<{
730
+ id: z.ZodString;
731
+ type: z.ZodLiteral<"number">;
732
+ field: z.ZodString;
733
+ value: z.ZodType<{
176
734
  from: number | null;
177
735
  to: number | null;
178
- }, unknown, z.core.$ZodTypeInternals<number | {
736
+ }, unknown, z.core.$ZodTypeInternals<{
179
737
  from: number | null;
180
738
  to: number | null;
181
739
  }, unknown>>;
182
- modifier: z.ZodLiteral<"equals" | "notEquals" | "lessThan" | "lessThanOrEquals" | "greaterThan" | "greaterThanOrEquals" | "inRange" | "notInRange">;
740
+ modifier: z.ZodLiteral<"notInRange">;
741
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
742
+ id: z.ZodString;
743
+ type: z.ZodLiteral<"otp">;
744
+ field: z.ZodString;
745
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
746
+ modifier: z.ZodLiteral<"equals">;
747
+ }, z.core.$strip>, z.ZodObject<{
748
+ id: z.ZodString;
749
+ type: z.ZodLiteral<"otp">;
750
+ field: z.ZodString;
751
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
752
+ modifier: z.ZodLiteral<"notEquals">;
753
+ }, z.core.$strip>, z.ZodObject<{
754
+ id: z.ZodString;
755
+ type: z.ZodLiteral<"otp">;
756
+ field: z.ZodString;
757
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
758
+ modifier: z.ZodLiteral<"includes">;
183
759
  }, z.core.$strip>, z.ZodObject<{
184
760
  id: z.ZodString;
185
761
  type: z.ZodLiteral<"otp">;
186
762
  field: z.ZodString;
187
763
  value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
188
- modifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
764
+ modifier: z.ZodLiteral<"excludes">;
765
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
766
+ id: z.ZodString;
767
+ type: z.ZodLiteral<"pass-fail">;
768
+ field: z.ZodString;
769
+ value: z.ZodType<"pass" | "fail" | "na", unknown, z.core.$ZodTypeInternals<"pass" | "fail" | "na", unknown>>;
770
+ modifier: z.ZodLiteral<"equals">;
771
+ }, z.core.$strip>, z.ZodObject<{
772
+ id: z.ZodString;
773
+ type: z.ZodLiteral<"pass-fail">;
774
+ field: z.ZodString;
775
+ value: z.ZodType<"pass" | "fail" | "na", unknown, z.core.$ZodTypeInternals<"pass" | "fail" | "na", unknown>>;
776
+ modifier: z.ZodLiteral<"notEquals">;
777
+ }, z.core.$strip>, z.ZodObject<{
778
+ id: z.ZodString;
779
+ type: z.ZodLiteral<"pass-fail">;
780
+ field: z.ZodString;
781
+ value: z.ZodType<("pass" | "fail" | "na")[], unknown, z.core.$ZodTypeInternals<("pass" | "fail" | "na")[], unknown>>;
782
+ modifier: z.ZodLiteral<"includes">;
189
783
  }, z.core.$strip>, z.ZodObject<{
190
784
  id: z.ZodString;
191
785
  type: z.ZodLiteral<"pass-fail">;
192
786
  field: z.ZodString;
193
- value: z.ZodType<"pass" | "fail" | "na" | ("pass" | "fail" | "na")[], unknown, z.core.$ZodTypeInternals<"pass" | "fail" | "na" | ("pass" | "fail" | "na")[], unknown>>;
194
- modifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
787
+ value: z.ZodType<("pass" | "fail" | "na")[], unknown, z.core.$ZodTypeInternals<("pass" | "fail" | "na")[], unknown>>;
788
+ modifier: z.ZodLiteral<"excludes">;
789
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
790
+ id: z.ZodString;
791
+ type: z.ZodLiteral<"radio">;
792
+ field: z.ZodString;
793
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
794
+ modifier: z.ZodLiteral<"equals">;
795
+ }, z.core.$strip>, z.ZodObject<{
796
+ id: z.ZodString;
797
+ type: z.ZodLiteral<"radio">;
798
+ field: z.ZodString;
799
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
800
+ modifier: z.ZodLiteral<"notEquals">;
801
+ }, z.core.$strip>, z.ZodObject<{
802
+ id: z.ZodString;
803
+ type: z.ZodLiteral<"radio">;
804
+ field: z.ZodString;
805
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
806
+ modifier: z.ZodLiteral<"includes">;
195
807
  }, z.core.$strip>, z.ZodObject<{
196
808
  id: z.ZodString;
197
809
  type: z.ZodLiteral<"radio">;
198
810
  field: z.ZodString;
199
- value: z.ZodType<string | string[], unknown, z.core.$ZodTypeInternals<string | string[], unknown>>;
200
- modifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
811
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
812
+ modifier: z.ZodLiteral<"excludes">;
813
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
814
+ id: z.ZodString;
815
+ type: z.ZodLiteral<"rating">;
816
+ field: z.ZodString;
817
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
818
+ modifier: z.ZodLiteral<"equals">;
201
819
  }, z.core.$strip>, z.ZodObject<{
202
820
  id: z.ZodString;
203
821
  type: z.ZodLiteral<"rating">;
204
822
  field: z.ZodString;
205
- value: z.ZodType<number | {
823
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
824
+ modifier: z.ZodLiteral<"notEquals">;
825
+ }, z.core.$strip>, z.ZodObject<{
826
+ id: z.ZodString;
827
+ type: z.ZodLiteral<"rating">;
828
+ field: z.ZodString;
829
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
830
+ modifier: z.ZodLiteral<"lessThan">;
831
+ }, z.core.$strip>, z.ZodObject<{
832
+ id: z.ZodString;
833
+ type: z.ZodLiteral<"rating">;
834
+ field: z.ZodString;
835
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
836
+ modifier: z.ZodLiteral<"lessThanOrEquals">;
837
+ }, z.core.$strip>, z.ZodObject<{
838
+ id: z.ZodString;
839
+ type: z.ZodLiteral<"rating">;
840
+ field: z.ZodString;
841
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
842
+ modifier: z.ZodLiteral<"greaterThan">;
843
+ }, z.core.$strip>, z.ZodObject<{
844
+ id: z.ZodString;
845
+ type: z.ZodLiteral<"rating">;
846
+ field: z.ZodString;
847
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
848
+ modifier: z.ZodLiteral<"greaterThanOrEquals">;
849
+ }, z.core.$strip>, z.ZodObject<{
850
+ id: z.ZodString;
851
+ type: z.ZodLiteral<"rating">;
852
+ field: z.ZodString;
853
+ value: z.ZodType<{
854
+ from: number | null;
855
+ to: number | null;
856
+ }, unknown, z.core.$ZodTypeInternals<{
857
+ from: number | null;
858
+ to: number | null;
859
+ }, unknown>>;
860
+ modifier: z.ZodLiteral<"inRange">;
861
+ }, z.core.$strip>, z.ZodObject<{
862
+ id: z.ZodString;
863
+ type: z.ZodLiteral<"rating">;
864
+ field: z.ZodString;
865
+ value: z.ZodType<{
206
866
  from: number | null;
207
867
  to: number | null;
208
- }, unknown, z.core.$ZodTypeInternals<number | {
868
+ }, unknown, z.core.$ZodTypeInternals<{
209
869
  from: number | null;
210
870
  to: number | null;
211
871
  }, unknown>>;
212
- modifier: z.ZodLiteral<"equals" | "notEquals" | "lessThan" | "lessThanOrEquals" | "greaterThan" | "greaterThanOrEquals" | "inRange" | "notInRange">;
872
+ modifier: z.ZodLiteral<"notInRange">;
873
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
874
+ id: z.ZodString;
875
+ type: z.ZodLiteral<"qr">;
876
+ field: z.ZodString;
877
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
878
+ modifier: z.ZodLiteral<"equals">;
879
+ }, z.core.$strip>, z.ZodObject<{
880
+ id: z.ZodString;
881
+ type: z.ZodLiteral<"qr">;
882
+ field: z.ZodString;
883
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
884
+ modifier: z.ZodLiteral<"notEquals">;
885
+ }, z.core.$strip>, z.ZodObject<{
886
+ id: z.ZodString;
887
+ type: z.ZodLiteral<"qr">;
888
+ field: z.ZodString;
889
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
890
+ modifier: z.ZodLiteral<"includes">;
213
891
  }, z.core.$strip>, z.ZodObject<{
214
892
  id: z.ZodString;
215
893
  type: z.ZodLiteral<"qr">;
216
894
  field: z.ZodString;
217
895
  value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
218
- modifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
896
+ modifier: z.ZodLiteral<"excludes">;
897
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
898
+ id: z.ZodString;
899
+ type: z.ZodLiteral<"select">;
900
+ field: z.ZodString;
901
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
902
+ modifier: z.ZodLiteral<"equals">;
903
+ }, z.core.$strip>, z.ZodObject<{
904
+ id: z.ZodString;
905
+ type: z.ZodLiteral<"select">;
906
+ field: z.ZodString;
907
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
908
+ modifier: z.ZodLiteral<"notEquals">;
909
+ }, z.core.$strip>, z.ZodObject<{
910
+ id: z.ZodString;
911
+ type: z.ZodLiteral<"select">;
912
+ field: z.ZodString;
913
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
914
+ modifier: z.ZodLiteral<"includes">;
219
915
  }, z.core.$strip>, z.ZodObject<{
220
916
  id: z.ZodString;
221
917
  type: z.ZodLiteral<"select">;
222
918
  field: z.ZodString;
223
- value: z.ZodType<string | string[], unknown, z.core.$ZodTypeInternals<string | string[], unknown>>;
224
- modifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
919
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
920
+ modifier: z.ZodLiteral<"excludes">;
921
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
922
+ id: z.ZodString;
923
+ type: z.ZodLiteral<"string">;
924
+ field: z.ZodString;
925
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
926
+ modifier: z.ZodLiteral<"equals">;
927
+ }, z.core.$strip>, z.ZodObject<{
928
+ id: z.ZodString;
929
+ type: z.ZodLiteral<"string">;
930
+ field: z.ZodString;
931
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
932
+ modifier: z.ZodLiteral<"notEquals">;
933
+ }, z.core.$strip>, z.ZodObject<{
934
+ id: z.ZodString;
935
+ type: z.ZodLiteral<"string">;
936
+ field: z.ZodString;
937
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
938
+ modifier: z.ZodLiteral<"includes">;
225
939
  }, z.core.$strip>, z.ZodObject<{
226
940
  id: z.ZodString;
227
941
  type: z.ZodLiteral<"string">;
228
942
  field: z.ZodString;
229
943
  value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
230
- modifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
944
+ modifier: z.ZodLiteral<"excludes">;
945
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
946
+ id: z.ZodString;
947
+ type: z.ZodLiteral<"text">;
948
+ field: z.ZodString;
949
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
950
+ modifier: z.ZodLiteral<"equals">;
951
+ }, z.core.$strip>, z.ZodObject<{
952
+ id: z.ZodString;
953
+ type: z.ZodLiteral<"text">;
954
+ field: z.ZodString;
955
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
956
+ modifier: z.ZodLiteral<"notEquals">;
957
+ }, z.core.$strip>, z.ZodObject<{
958
+ id: z.ZodString;
959
+ type: z.ZodLiteral<"text">;
960
+ field: z.ZodString;
961
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
962
+ modifier: z.ZodLiteral<"includes">;
231
963
  }, z.core.$strip>, z.ZodObject<{
232
964
  id: z.ZodString;
233
965
  type: z.ZodLiteral<"text">;
234
966
  field: z.ZodString;
235
967
  value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
236
- modifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
968
+ modifier: z.ZodLiteral<"excludes">;
969
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
970
+ id: z.ZodString;
971
+ type: z.ZodLiteral<"time">;
972
+ field: z.ZodString;
973
+ 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>>;
974
+ modifier: z.ZodLiteral<"equals">;
975
+ }, z.core.$strip>, z.ZodObject<{
976
+ id: z.ZodString;
977
+ type: z.ZodLiteral<"time">;
978
+ field: z.ZodString;
979
+ 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>>;
980
+ modifier: z.ZodLiteral<"notEquals">;
981
+ }, z.core.$strip>, z.ZodObject<{
982
+ id: z.ZodString;
983
+ type: z.ZodLiteral<"time">;
984
+ field: z.ZodString;
985
+ 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>>;
986
+ modifier: z.ZodLiteral<"before">;
987
+ }, z.core.$strip>, z.ZodObject<{
988
+ id: z.ZodString;
989
+ type: z.ZodLiteral<"time">;
990
+ field: z.ZodString;
991
+ 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>>;
992
+ modifier: z.ZodLiteral<"after">;
993
+ }, z.core.$strip>, z.ZodObject<{
994
+ id: z.ZodString;
995
+ type: z.ZodLiteral<"time">;
996
+ field: z.ZodString;
997
+ value: z.ZodType<{
998
+ from: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
999
+ to: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
1000
+ }, unknown, z.core.$ZodTypeInternals<{
1001
+ from: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
1002
+ to: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
1003
+ }, unknown>>;
1004
+ modifier: z.ZodLiteral<"in">;
237
1005
  }, z.core.$strip>, z.ZodObject<{
238
1006
  id: z.ZodString;
239
1007
  type: z.ZodLiteral<"time">;
240
1008
  field: z.ZodString;
241
- value: z.ZodType<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | {
1009
+ value: z.ZodType<{
242
1010
  from: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
243
1011
  to: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
244
- }, unknown, z.core.$ZodTypeInternals<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | {
1012
+ }, unknown, z.core.$ZodTypeInternals<{
245
1013
  from: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
246
1014
  to: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
247
1015
  }, unknown>>;
248
- modifier: z.ZodLiteral<"equals" | "notEquals" | "in" | "before" | "after" | "notIn">;
1016
+ modifier: z.ZodLiteral<"notIn">;
1017
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
1018
+ id: z.ZodString;
1019
+ type: z.ZodLiteral<"upload">;
1020
+ field: z.ZodString;
1021
+ value: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
1022
+ modifier: z.ZodLiteral<"equals">;
249
1023
  }, z.core.$strip>, z.ZodObject<{
250
1024
  id: z.ZodString;
251
1025
  type: z.ZodLiteral<"upload">;
252
1026
  field: z.ZodString;
253
1027
  value: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
254
- modifier: z.ZodLiteral<"equals" | "notEquals">;
1028
+ modifier: z.ZodLiteral<"notEquals">;
1029
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
1030
+ id: z.ZodString;
1031
+ type: z.ZodLiteral<"url">;
1032
+ field: z.ZodString;
1033
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
1034
+ modifier: z.ZodLiteral<"equals">;
1035
+ }, z.core.$strip>, z.ZodObject<{
1036
+ id: z.ZodString;
1037
+ type: z.ZodLiteral<"url">;
1038
+ field: z.ZodString;
1039
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
1040
+ modifier: z.ZodLiteral<"notEquals">;
1041
+ }, z.core.$strip>, z.ZodObject<{
1042
+ id: z.ZodString;
1043
+ type: z.ZodLiteral<"url">;
1044
+ field: z.ZodString;
1045
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
1046
+ modifier: z.ZodLiteral<"includes">;
255
1047
  }, z.core.$strip>, z.ZodObject<{
256
1048
  id: z.ZodString;
257
1049
  type: z.ZodLiteral<"url">;
258
1050
  field: z.ZodString;
259
1051
  value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
260
- modifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
261
- }, z.core.$strip>], "type">>>>;
1052
+ modifier: z.ZodLiteral<"excludes">;
1053
+ }, z.core.$strip>], "modifier">], "type">>>>;
262
1054
  fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
263
1055
  label: z.ZodOptional<z.ZodString>;
264
1056
  description: z.ZodOptional<z.ZodString>;