@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.
@@ -1,1198 +1,16 @@
1
+ import { JSONConditionSchema } from '../conditions';
2
+ import { JSONFieldSchema } from '../fields';
1
3
  import * as z from "zod/v4";
2
4
  export declare const JSONFieldSectionTypeSchema: z.ZodLiteral<"section">;
3
5
  export type JSONFieldSectionTypeSchemaType = z.infer<typeof JSONFieldSectionTypeSchema>;
4
- export declare const JSONFieldSectionConditionsSchema: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[z.ZodObject<{
5
- id: z.ZodString;
6
- type: z.ZodLiteral<"boolean">;
7
- field: z.ZodString;
8
- value: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
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">;
28
- }, z.core.$strip>, z.ZodObject<{
29
- id: z.ZodString;
30
- type: z.ZodLiteral<"checkbox-list">;
31
- field: z.ZodString;
32
- value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
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">;
70
- }, z.core.$strip>, z.ZodObject<{
71
- id: z.ZodString;
72
- type: z.ZodLiteral<"date">;
73
- field: z.ZodString;
74
- value: z.ZodType<{
75
- from: string | null;
76
- to: string | null;
77
- }, unknown, z.core.$ZodTypeInternals<{
78
- from: string | null;
79
- to: string | null;
80
- }, unknown>>;
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">;
112
- }, z.core.$strip>, z.ZodObject<{
113
- id: z.ZodString;
114
- type: z.ZodLiteral<"multi-select">;
115
- field: z.ZodString;
116
- value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
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">;
142
- }, z.core.$strip>, z.ZodObject<{
143
- id: z.ZodString;
144
- type: z.ZodLiteral<"multi-string">;
145
- field: z.ZodString;
146
- value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
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">;
184
- }, z.core.$strip>, z.ZodObject<{
185
- id: z.ZodString;
186
- type: z.ZodLiteral<"number">;
187
- field: z.ZodString;
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<{
195
- from: number | null;
196
- to: number | null;
197
- }, unknown, z.core.$ZodTypeInternals<{
198
- from: number | null;
199
- to: number | null;
200
- }, unknown>>;
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">;
226
- }, z.core.$strip>, z.ZodObject<{
227
- id: z.ZodString;
228
- type: z.ZodLiteral<"otp">;
229
- field: z.ZodString;
230
- value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
231
- modifier: z.ZodLiteral<"includes">;
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<{
239
- id: z.ZodString;
240
- type: z.ZodLiteral<"pass-fail">;
241
- field: z.ZodString;
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">;
268
- }, z.core.$strip>, z.ZodObject<{
269
- id: z.ZodString;
270
- type: z.ZodLiteral<"radio">;
271
- field: z.ZodString;
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">;
298
- }, z.core.$strip>, z.ZodObject<{
299
- id: z.ZodString;
300
- type: z.ZodLiteral<"rating">;
301
- field: z.ZodString;
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<{
327
- from: number | null;
328
- to: number | null;
329
- }, unknown, z.core.$ZodTypeInternals<{
330
- from: number | null;
331
- to: number | null;
332
- }, unknown>>;
333
- modifier: z.ZodLiteral<"inRange">;
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<{
347
- id: z.ZodString;
348
- type: z.ZodLiteral<"qr">;
349
- field: z.ZodString;
350
- value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
351
- modifier: z.ZodLiteral<"equals">;
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<{
371
- id: z.ZodString;
372
- type: z.ZodLiteral<"select">;
373
- field: z.ZodString;
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">;
412
- }, z.core.$strip>, z.ZodObject<{
413
- id: z.ZodString;
414
- type: z.ZodLiteral<"string">;
415
- field: z.ZodString;
416
- value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
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">;
424
- }, z.core.$strip>, z.ZodObject<{
425
- id: z.ZodString;
426
- type: z.ZodLiteral<"text">;
427
- field: z.ZodString;
428
- value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
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">;
448
- }, z.core.$strip>, z.ZodObject<{
449
- id: z.ZodString;
450
- type: z.ZodLiteral<"time">;
451
- field: z.ZodString;
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<{
483
- from: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
484
- to: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
485
- }, unknown, z.core.$ZodTypeInternals<{
486
- from: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
487
- to: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
488
- }, unknown>>;
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">;
496
- }, z.core.$strip>, z.ZodObject<{
497
- id: z.ZodString;
498
- type: z.ZodLiteral<"upload">;
499
- field: z.ZodString;
500
- value: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
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">;
508
- }, z.core.$strip>, z.ZodObject<{
509
- id: z.ZodString;
510
- type: z.ZodLiteral<"url">;
511
- field: z.ZodString;
512
- value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
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">>>;
6
+ export declare const JSONFieldSectionConditionsSchema: z.ZodRecord<z.ZodString, z.ZodArray<typeof JSONConditionSchema>>;
527
7
  export type JSONFieldSectionConditionsSchemaType = z.infer<typeof JSONFieldSectionConditionsSchema>;
528
8
  export declare const JSONFieldSectionSchema: z.ZodObject<{
9
+ id: z.ZodString;
10
+ type: typeof JSONFieldSectionTypeSchema;
529
11
  label: z.ZodOptional<z.ZodString>;
530
12
  description: z.ZodOptional<z.ZodString>;
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<{
592
- id: z.ZodString;
593
- type: z.ZodLiteral<"date">;
594
- field: z.ZodString;
595
- value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
596
- modifier: z.ZodLiteral<"after">;
597
- }, z.core.$strip>, z.ZodObject<{
598
- id: z.ZodString;
599
- type: z.ZodLiteral<"date">;
600
- field: z.ZodString;
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">;
609
- }, z.core.$strip>, z.ZodObject<{
610
- id: z.ZodString;
611
- type: z.ZodLiteral<"date">;
612
- field: z.ZodString;
613
- value: z.ZodType<{
614
- from: string | null;
615
- to: string | null;
616
- }, unknown, z.core.$ZodTypeInternals<{
617
- from: string | null;
618
- to: string | null;
619
- }, unknown>>;
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">;
645
- }, z.core.$strip>, z.ZodObject<{
646
- id: z.ZodString;
647
- type: z.ZodLiteral<"multi-select">;
648
- field: z.ZodString;
649
- value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
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">;
669
- }, z.core.$strip>, z.ZodObject<{
670
- id: z.ZodString;
671
- type: z.ZodLiteral<"multi-string">;
672
- field: z.ZodString;
673
- value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
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">;
699
- }, z.core.$strip>, z.ZodObject<{
700
- id: z.ZodString;
701
- type: z.ZodLiteral<"number">;
702
- field: z.ZodString;
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<{
734
- from: number | null;
735
- to: number | null;
736
- }, unknown, z.core.$ZodTypeInternals<{
737
- from: number | null;
738
- to: number | null;
739
- }, unknown>>;
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">;
759
- }, z.core.$strip>, z.ZodObject<{
760
- id: z.ZodString;
761
- type: z.ZodLiteral<"otp">;
762
- field: z.ZodString;
763
- value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
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">;
783
- }, z.core.$strip>, z.ZodObject<{
784
- id: z.ZodString;
785
- type: z.ZodLiteral<"pass-fail">;
786
- field: z.ZodString;
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">;
807
- }, z.core.$strip>, z.ZodObject<{
808
- id: z.ZodString;
809
- type: z.ZodLiteral<"radio">;
810
- field: z.ZodString;
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">;
819
- }, z.core.$strip>, z.ZodObject<{
820
- id: z.ZodString;
821
- type: z.ZodLiteral<"rating">;
822
- field: z.ZodString;
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<{
866
- from: number | null;
867
- to: number | null;
868
- }, unknown, z.core.$ZodTypeInternals<{
869
- from: number | null;
870
- to: number | null;
871
- }, unknown>>;
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">;
891
- }, z.core.$strip>, z.ZodObject<{
892
- id: z.ZodString;
893
- type: z.ZodLiteral<"qr">;
894
- field: z.ZodString;
895
- value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
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">;
915
- }, z.core.$strip>, z.ZodObject<{
916
- id: z.ZodString;
917
- type: z.ZodLiteral<"select">;
918
- field: z.ZodString;
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">;
939
- }, z.core.$strip>, z.ZodObject<{
940
- id: z.ZodString;
941
- type: z.ZodLiteral<"string">;
942
- field: z.ZodString;
943
- value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
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">;
963
- }, z.core.$strip>, z.ZodObject<{
964
- id: z.ZodString;
965
- type: z.ZodLiteral<"text">;
966
- field: z.ZodString;
967
- value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
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">;
1005
- }, z.core.$strip>, z.ZodObject<{
1006
- id: z.ZodString;
1007
- type: z.ZodLiteral<"time">;
1008
- field: z.ZodString;
1009
- value: z.ZodType<{
1010
- from: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
1011
- to: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
1012
- }, unknown, z.core.$ZodTypeInternals<{
1013
- from: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
1014
- to: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
1015
- }, unknown>>;
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">;
1023
- }, z.core.$strip>, z.ZodObject<{
1024
- id: z.ZodString;
1025
- type: z.ZodLiteral<"upload">;
1026
- field: z.ZodString;
1027
- value: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
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">;
1047
- }, z.core.$strip>, z.ZodObject<{
1048
- id: z.ZodString;
1049
- type: z.ZodLiteral<"url">;
1050
- field: z.ZodString;
1051
- value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
1052
- modifier: z.ZodLiteral<"excludes">;
1053
- }, z.core.$strip>], "modifier">], "type">>>>;
1054
- fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1055
- label: z.ZodOptional<z.ZodString>;
1056
- description: z.ZodOptional<z.ZodString>;
1057
- required: z.ZodOptional<z.ZodBoolean>;
1058
- id: z.ZodString;
1059
- type: z.ZodLiteral<"boolean">;
1060
- }, z.core.$strip>, z.ZodObject<{
1061
- options: z.ZodArray<z.ZodObject<{
1062
- value: z.ZodString;
1063
- label: z.ZodString;
1064
- }, z.core.$strip>>;
1065
- label: z.ZodOptional<z.ZodString>;
1066
- description: z.ZodOptional<z.ZodString>;
1067
- required: z.ZodOptional<z.ZodBoolean>;
1068
- id: z.ZodString;
1069
- type: z.ZodLiteral<"checkbox-list">;
1070
- }, z.core.$strip>, z.ZodObject<{
1071
- label: z.ZodOptional<z.ZodString>;
1072
- description: z.ZodOptional<z.ZodString>;
1073
- required: z.ZodOptional<z.ZodBoolean>;
1074
- id: z.ZodString;
1075
- type: z.ZodLiteral<"date">;
1076
- }, z.core.$strip>, z.ZodObject<{
1077
- placeholder: z.ZodOptional<z.ZodString>;
1078
- options: z.ZodArray<z.ZodObject<{
1079
- value: z.ZodString;
1080
- label: z.ZodString;
1081
- }, z.core.$strip>>;
1082
- label: z.ZodOptional<z.ZodString>;
1083
- description: z.ZodOptional<z.ZodString>;
1084
- required: z.ZodOptional<z.ZodBoolean>;
1085
- id: z.ZodString;
1086
- type: z.ZodLiteral<"multi-select">;
1087
- }, z.core.$strip>, z.ZodObject<{
1088
- minLength: z.ZodOptional<z.ZodInt>;
1089
- maxLength: z.ZodOptional<z.ZodInt>;
1090
- placeholder: z.ZodOptional<z.ZodString>;
1091
- label: z.ZodOptional<z.ZodString>;
1092
- description: z.ZodOptional<z.ZodString>;
1093
- required: z.ZodOptional<z.ZodBoolean>;
1094
- id: z.ZodString;
1095
- type: z.ZodLiteral<"multi-string">;
1096
- }, z.core.$strip>, z.ZodObject<{
1097
- minimum: z.ZodOptional<z.ZodNumber>;
1098
- maximum: z.ZodOptional<z.ZodNumber>;
1099
- integers: z.ZodOptional<z.ZodBoolean>;
1100
- placeholder: z.ZodOptional<z.ZodString>;
1101
- label: z.ZodOptional<z.ZodString>;
1102
- description: z.ZodOptional<z.ZodString>;
1103
- required: z.ZodOptional<z.ZodBoolean>;
1104
- id: z.ZodString;
1105
- type: z.ZodLiteral<"number">;
1106
- }, z.core.$strip>, z.ZodObject<{
1107
- length: z.ZodInt;
1108
- label: z.ZodOptional<z.ZodString>;
1109
- description: z.ZodOptional<z.ZodString>;
1110
- required: z.ZodOptional<z.ZodBoolean>;
1111
- id: z.ZodString;
1112
- type: z.ZodLiteral<"otp">;
1113
- }, z.core.$strip>, z.ZodObject<{
1114
- showNotesAndFilesOn: z.ZodArray<z.ZodLiteral<"pass" | "fail" | "na">>;
1115
- label: z.ZodOptional<z.ZodString>;
1116
- description: z.ZodOptional<z.ZodString>;
1117
- required: z.ZodOptional<z.ZodBoolean>;
1118
- id: z.ZodString;
1119
- type: z.ZodLiteral<"pass-fail">;
1120
- }, z.core.$strip>, z.ZodObject<{
1121
- options: z.ZodArray<z.ZodObject<{
1122
- value: z.ZodString;
1123
- label: z.ZodString;
1124
- }, z.core.$strip>>;
1125
- label: z.ZodOptional<z.ZodString>;
1126
- description: z.ZodOptional<z.ZodString>;
1127
- required: z.ZodOptional<z.ZodBoolean>;
1128
- id: z.ZodString;
1129
- type: z.ZodLiteral<"radio">;
1130
- }, z.core.$strip>, z.ZodObject<{
1131
- maxRating: z.ZodInt;
1132
- label: z.ZodOptional<z.ZodString>;
1133
- description: z.ZodOptional<z.ZodString>;
1134
- required: z.ZodOptional<z.ZodBoolean>;
1135
- id: z.ZodString;
1136
- type: z.ZodLiteral<"rating">;
1137
- }, z.core.$strip>, z.ZodObject<{
1138
- label: z.ZodOptional<z.ZodString>;
1139
- description: z.ZodOptional<z.ZodString>;
1140
- required: z.ZodOptional<z.ZodBoolean>;
1141
- id: z.ZodString;
1142
- type: z.ZodLiteral<"qr">;
1143
- }, z.core.$strip>, z.ZodObject<{
1144
- placeholder: z.ZodOptional<z.ZodString>;
1145
- options: z.ZodArray<z.ZodObject<{
1146
- value: z.ZodString;
1147
- label: z.ZodString;
1148
- }, z.core.$strip>>;
1149
- label: z.ZodOptional<z.ZodString>;
1150
- description: z.ZodOptional<z.ZodString>;
1151
- required: z.ZodOptional<z.ZodBoolean>;
1152
- id: z.ZodString;
1153
- type: z.ZodLiteral<"select">;
1154
- }, z.core.$strip>, z.ZodObject<{
1155
- minLength: z.ZodOptional<z.ZodInt>;
1156
- maxLength: z.ZodOptional<z.ZodInt>;
1157
- placeholder: z.ZodOptional<z.ZodString>;
1158
- label: z.ZodOptional<z.ZodString>;
1159
- description: z.ZodOptional<z.ZodString>;
1160
- required: z.ZodOptional<z.ZodBoolean>;
1161
- id: z.ZodString;
1162
- type: z.ZodLiteral<"string">;
1163
- }, z.core.$strip>, z.ZodObject<{
1164
- minLength: z.ZodOptional<z.ZodInt>;
1165
- maxLength: z.ZodOptional<z.ZodInt>;
1166
- placeholder: z.ZodOptional<z.ZodString>;
1167
- label: z.ZodOptional<z.ZodString>;
1168
- description: z.ZodOptional<z.ZodString>;
1169
- required: z.ZodOptional<z.ZodBoolean>;
1170
- id: z.ZodString;
1171
- type: z.ZodLiteral<"text">;
1172
- }, z.core.$strip>, z.ZodObject<{
1173
- label: z.ZodOptional<z.ZodString>;
1174
- description: z.ZodOptional<z.ZodString>;
1175
- required: z.ZodOptional<z.ZodBoolean>;
1176
- id: z.ZodString;
1177
- type: z.ZodLiteral<"time">;
1178
- }, z.core.$strip>, z.ZodObject<{
1179
- extensions: z.ZodOptional<z.ZodArray<z.ZodString>>;
1180
- maxSize: z.ZodOptional<z.ZodInt>;
1181
- maxFiles: z.ZodOptional<z.ZodInt>;
1182
- label: z.ZodOptional<z.ZodString>;
1183
- description: z.ZodOptional<z.ZodString>;
1184
- required: z.ZodOptional<z.ZodBoolean>;
1185
- id: z.ZodString;
1186
- type: z.ZodLiteral<"upload">;
1187
- }, z.core.$strip>, z.ZodObject<{
1188
- placeholder: z.ZodOptional<z.ZodString>;
1189
- label: z.ZodOptional<z.ZodString>;
1190
- description: z.ZodOptional<z.ZodString>;
1191
- required: z.ZodOptional<z.ZodBoolean>;
1192
- id: z.ZodString;
1193
- type: z.ZodLiteral<"url">;
1194
- }, z.core.$strip>], "type">>;
1195
- id: z.ZodString;
1196
- type: z.ZodLiteral<"section">;
1197
- }, z.core.$strip>;
13
+ conditions: z.ZodOptional<typeof JSONFieldSectionConditionsSchema>;
14
+ fields: z.ZodArray<typeof JSONFieldSchema>;
15
+ }>;
1198
16
  export type JSONFieldSectionSchemaType = z.infer<typeof JSONFieldSectionSchema>;