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