@adrekic/zod-fieldsjson 0.0.2-schema-improvements.0 → 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.
Files changed (45) hide show
  1. package/dist/conditions/base.d.ts +1 -1
  2. package/dist/conditions/boolean.d.ts +31 -5
  3. package/dist/conditions/checkbox-list.d.ts +79 -5
  4. package/dist/conditions/date.d.ts +115 -7
  5. package/dist/conditions/index.d.ts +443 -47
  6. package/dist/conditions/multi-select.d.ts +79 -5
  7. package/dist/conditions/multi-string.d.ts +79 -5
  8. package/dist/conditions/number.d.ts +147 -7
  9. package/dist/conditions/otp.d.ts +63 -5
  10. package/dist/conditions/pass-fail.d.ts +64 -6
  11. package/dist/conditions/radio.d.ts +64 -6
  12. package/dist/conditions/rating.d.ts +147 -7
  13. package/dist/conditions/scan.d.ts +63 -5
  14. package/dist/conditions/select.d.ts +64 -6
  15. package/dist/conditions/string.d.ts +63 -5
  16. package/dist/conditions/text.d.ts +63 -5
  17. package/dist/conditions/time.d.ts +115 -7
  18. package/dist/conditions/upload.d.ts +31 -5
  19. package/dist/conditions/url.d.ts +63 -5
  20. package/dist/elements/base.d.ts +1 -1
  21. package/dist/elements/index.d.ts +494 -98
  22. package/dist/elements/section.d.ts +912 -120
  23. package/dist/fields/base.d.ts +5 -5
  24. package/dist/fields/boolean.d.ts +1 -1
  25. package/dist/fields/checkbox-list.d.ts +1 -1
  26. package/dist/fields/date.d.ts +1 -1
  27. package/dist/fields/index.d.ts +25 -25
  28. package/dist/fields/multi-select.d.ts +1 -1
  29. package/dist/fields/multi-string.d.ts +3 -3
  30. package/dist/fields/number.d.ts +1 -1
  31. package/dist/fields/otp.d.ts +1 -1
  32. package/dist/fields/pass-fail.d.ts +1 -1
  33. package/dist/fields/radio.d.ts +1 -1
  34. package/dist/fields/rating.d.ts +1 -1
  35. package/dist/fields/scan.d.ts +1 -1
  36. package/dist/fields/select.d.ts +1 -1
  37. package/dist/fields/string.d.ts +3 -3
  38. package/dist/fields/text.d.ts +3 -3
  39. package/dist/fields/time.d.ts +1 -1
  40. package/dist/fields/upload.d.ts +3 -3
  41. package/dist/fields/url.d.ts +1 -1
  42. package/dist/index.cjs +1 -1
  43. package/dist/index.js +347 -257
  44. package/dist/schema.d.ts +469 -73
  45. package/package.json +3 -3
@@ -1,269 +1,1061 @@
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
- fieldId: z.ZodString;
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">;
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">;
10
34
  }, z.core.$strip>, z.ZodObject<{
11
35
  id: z.ZodString;
12
36
  type: z.ZodLiteral<"checkbox-list">;
13
- fieldId: z.ZodString;
37
+ field: z.ZodString;
14
38
  value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
15
- modifier: z.ZodLiteral<"equals" | "notEquals" | "every" | "some" | "none">;
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">;
16
64
  }, z.core.$strip>, z.ZodObject<{
17
65
  id: z.ZodString;
18
66
  type: z.ZodLiteral<"date">;
19
- fieldId: z.ZodString;
20
- value: z.ZodType<string | {
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<{
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">;
28
100
  }, z.core.$strip>, z.ZodObject<{
29
101
  id: z.ZodString;
30
102
  type: z.ZodLiteral<"multi-select">;
31
- fieldId: z.ZodString;
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;
32
128
  value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
33
- modifier: z.ZodLiteral<"equals" | "notEquals" | "every" | "some" | "none">;
129
+ modifier: z.ZodLiteral<"equals">;
34
130
  }, z.core.$strip>, z.ZodObject<{
35
131
  id: z.ZodString;
36
132
  type: z.ZodLiteral<"multi-string">;
37
- fieldId: z.ZodString;
133
+ field: z.ZodString;
38
134
  value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
39
- modifier: z.ZodLiteral<"equals" | "notEquals" | "every" | "some" | "none">;
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">;
40
202
  }, z.core.$strip>, z.ZodObject<{
41
203
  id: z.ZodString;
42
204
  type: z.ZodLiteral<"number">;
43
- fieldId: z.ZodString;
44
- value: z.ZodType<number | {
205
+ field: z.ZodString;
206
+ value: z.ZodType<{
45
207
  from: number | null;
46
208
  to: number | null;
47
- }, unknown, z.core.$ZodTypeInternals<number | {
209
+ }, unknown, z.core.$ZodTypeInternals<{
48
210
  from: number | null;
49
211
  to: number | null;
50
212
  }, unknown>>;
51
- modifier: z.ZodLiteral<"equals" | "notEquals" | "lessThan" | "lessThanOrEquals" | "greaterThan" | "greaterThanOrEquals" | "inRange" | "notInRange">;
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">;
52
232
  }, z.core.$strip>, z.ZodObject<{
53
233
  id: z.ZodString;
54
234
  type: z.ZodLiteral<"otp">;
55
- fieldId: z.ZodString;
235
+ field: z.ZodString;
56
236
  value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
57
- modifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
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">;
58
250
  }, z.core.$strip>, z.ZodObject<{
59
251
  id: z.ZodString;
60
252
  type: z.ZodLiteral<"pass-fail">;
61
- fieldId: 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">;
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">;
64
280
  }, z.core.$strip>, z.ZodObject<{
65
281
  id: z.ZodString;
66
282
  type: z.ZodLiteral<"radio">;
67
- fieldId: z.ZodString;
68
- value: z.ZodType<string | string[], unknown, z.core.$ZodTypeInternals<string | string[], unknown>>;
69
- modifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
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">;
70
334
  }, z.core.$strip>, z.ZodObject<{
71
335
  id: z.ZodString;
72
336
  type: z.ZodLiteral<"rating">;
73
- fieldId: z.ZodString;
74
- value: z.ZodType<number | {
337
+ field: z.ZodString;
338
+ value: z.ZodType<{
75
339
  from: number | null;
76
340
  to: number | null;
77
- }, unknown, z.core.$ZodTypeInternals<number | {
341
+ }, unknown, z.core.$ZodTypeInternals<{
78
342
  from: number | null;
79
343
  to: number | null;
80
344
  }, unknown>>;
81
- modifier: z.ZodLiteral<"equals" | "notEquals" | "lessThan" | "lessThanOrEquals" | "greaterThan" | "greaterThanOrEquals" | "inRange" | "notInRange">;
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">;
82
352
  }, z.core.$strip>, z.ZodObject<{
83
353
  id: z.ZodString;
84
354
  type: z.ZodLiteral<"qr">;
85
- fieldId: z.ZodString;
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;
86
380
  value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
87
- modifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
381
+ modifier: z.ZodLiteral<"notEquals">;
88
382
  }, z.core.$strip>, z.ZodObject<{
89
383
  id: z.ZodString;
90
384
  type: z.ZodLiteral<"select">;
91
- fieldId: z.ZodString;
92
- value: z.ZodType<string | string[], unknown, z.core.$ZodTypeInternals<string | string[], unknown>>;
93
- modifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
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
- fieldId: z.ZodString;
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;
98
434
  value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
99
- modifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
435
+ modifier: z.ZodLiteral<"includes">;
100
436
  }, z.core.$strip>, z.ZodObject<{
101
437
  id: z.ZodString;
102
438
  type: z.ZodLiteral<"text">;
103
- fieldId: z.ZodString;
439
+ field: z.ZodString;
104
440
  value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
105
- modifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
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">;
106
478
  }, z.core.$strip>, z.ZodObject<{
107
479
  id: z.ZodString;
108
480
  type: z.ZodLiteral<"time">;
109
- fieldId: z.ZodString;
110
- value: z.ZodType<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | {
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
- fieldId: z.ZodString;
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">;
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">;
124
520
  }, z.core.$strip>, z.ZodObject<{
125
521
  id: z.ZodString;
126
522
  type: z.ZodLiteral<"url">;
127
- fieldId: z.ZodString;
523
+ field: z.ZodString;
128
524
  value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
129
- modifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
130
- }, z.core.$strip>], "type">>>;
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<{
136
532
  id: z.ZodString;
137
533
  type: z.ZodLiteral<"boolean">;
138
- fieldId: z.ZodString;
534
+ field: z.ZodString;
139
535
  value: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
140
- modifier: z.ZodLiteral<"equals" | "notEquals">;
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">;
141
561
  }, z.core.$strip>, z.ZodObject<{
142
562
  id: z.ZodString;
143
563
  type: z.ZodLiteral<"checkbox-list">;
144
- fieldId: z.ZodString;
564
+ field: z.ZodString;
145
565
  value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
146
- modifier: z.ZodLiteral<"equals" | "notEquals" | "every" | "some" | "none">;
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">;
147
609
  }, z.core.$strip>, z.ZodObject<{
148
610
  id: z.ZodString;
149
611
  type: z.ZodLiteral<"date">;
150
- fieldId: z.ZodString;
151
- value: z.ZodType<string | {
612
+ field: z.ZodString;
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
- fieldId: z.ZodString;
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;
163
673
  value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
164
- modifier: z.ZodLiteral<"equals" | "notEquals" | "every" | "some" | "none">;
674
+ modifier: z.ZodLiteral<"some">;
165
675
  }, z.core.$strip>, z.ZodObject<{
166
676
  id: z.ZodString;
167
677
  type: z.ZodLiteral<"multi-string">;
168
- fieldId: z.ZodString;
678
+ field: z.ZodString;
169
679
  value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
170
- modifier: z.ZodLiteral<"equals" | "notEquals" | "every" | "some" | "none">;
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">;
171
717
  }, z.core.$strip>, z.ZodObject<{
172
718
  id: z.ZodString;
173
719
  type: z.ZodLiteral<"number">;
174
- fieldId: z.ZodString;
175
- value: z.ZodType<number | {
720
+ field: z.ZodString;
721
+ value: z.ZodType<{
176
722
  from: number | null;
177
723
  to: number | null;
178
- }, unknown, z.core.$ZodTypeInternals<number | {
724
+ }, unknown, z.core.$ZodTypeInternals<{
179
725
  from: number | null;
180
726
  to: number | null;
181
727
  }, unknown>>;
182
- modifier: z.ZodLiteral<"equals" | "notEquals" | "lessThan" | "lessThanOrEquals" | "greaterThan" | "greaterThanOrEquals" | "inRange" | "notInRange">;
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">;
183
753
  }, z.core.$strip>, z.ZodObject<{
184
754
  id: z.ZodString;
185
755
  type: z.ZodLiteral<"otp">;
186
- fieldId: z.ZodString;
756
+ field: z.ZodString;
187
757
  value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
188
- modifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
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">;
189
783
  }, z.core.$strip>, z.ZodObject<{
190
784
  id: z.ZodString;
191
785
  type: z.ZodLiteral<"pass-fail">;
192
- fieldId: 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">;
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">;
195
795
  }, z.core.$strip>, z.ZodObject<{
196
796
  id: z.ZodString;
197
797
  type: z.ZodLiteral<"radio">;
198
- fieldId: z.ZodString;
199
- value: z.ZodType<string | string[], unknown, z.core.$ZodTypeInternals<string | string[], unknown>>;
200
- modifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
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">;
201
849
  }, z.core.$strip>, z.ZodObject<{
202
850
  id: z.ZodString;
203
851
  type: z.ZodLiteral<"rating">;
204
- fieldId: z.ZodString;
205
- value: z.ZodType<number | {
852
+ field: z.ZodString;
853
+ value: z.ZodType<{
206
854
  from: number | null;
207
855
  to: number | null;
208
- }, unknown, z.core.$ZodTypeInternals<number | {
856
+ }, unknown, z.core.$ZodTypeInternals<{
209
857
  from: number | null;
210
858
  to: number | null;
211
859
  }, unknown>>;
212
- modifier: z.ZodLiteral<"equals" | "notEquals" | "lessThan" | "lessThanOrEquals" | "greaterThan" | "greaterThanOrEquals" | "inRange" | "notInRange">;
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">;
213
891
  }, z.core.$strip>, z.ZodObject<{
214
892
  id: z.ZodString;
215
893
  type: z.ZodLiteral<"qr">;
216
- fieldId: z.ZodString;
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;
217
901
  value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
218
- modifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
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
- fieldId: z.ZodString;
223
- value: z.ZodType<string | string[], unknown, z.core.$ZodTypeInternals<string | string[], unknown>>;
224
- modifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
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">;
225
927
  }, z.core.$strip>, z.ZodObject<{
226
928
  id: z.ZodString;
227
929
  type: z.ZodLiteral<"string">;
228
- fieldId: z.ZodString;
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;
229
955
  value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
230
- modifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
956
+ modifier: z.ZodLiteral<"notEquals">;
231
957
  }, z.core.$strip>, z.ZodObject<{
232
958
  id: z.ZodString;
233
959
  type: z.ZodLiteral<"text">;
234
- fieldId: z.ZodString;
960
+ field: z.ZodString;
235
961
  value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
236
- modifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
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">;
237
993
  }, z.core.$strip>, z.ZodObject<{
238
994
  id: z.ZodString;
239
995
  type: z.ZodLiteral<"time">;
240
- fieldId: z.ZodString;
241
- value: z.ZodType<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | {
996
+ field: z.ZodString;
997
+ value: z.ZodType<{
242
998
  from: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
243
999
  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}` | {
1000
+ }, unknown, z.core.$ZodTypeInternals<{
245
1001
  from: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
246
1002
  to: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
247
1003
  }, unknown>>;
248
- modifier: z.ZodLiteral<"equals" | "notEquals" | "in" | "before" | "after" | "notIn">;
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">;
249
1023
  }, z.core.$strip>, z.ZodObject<{
250
1024
  id: z.ZodString;
251
1025
  type: z.ZodLiteral<"upload">;
252
- fieldId: z.ZodString;
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">;
255
1041
  }, z.core.$strip>, z.ZodObject<{
256
1042
  id: z.ZodString;
257
1043
  type: z.ZodLiteral<"url">;
258
- fieldId: z.ZodString;
1044
+ field: z.ZodString;
259
1045
  value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
260
- modifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
261
- }, z.core.$strip>], "type">>>>;
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">>>>;
262
1054
  fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
263
1055
  label: z.ZodOptional<z.ZodString>;
264
1056
  description: z.ZodOptional<z.ZodString>;
265
1057
  required: z.ZodOptional<z.ZodBoolean>;
266
- identifier: z.ZodString;
1058
+ id: z.ZodString;
267
1059
  type: z.ZodLiteral<"boolean">;
268
1060
  }, z.core.$strip>, z.ZodObject<{
269
1061
  options: z.ZodArray<z.ZodObject<{
@@ -273,13 +1065,13 @@ export declare const JSONFieldSectionSchema: z.ZodObject<{
273
1065
  label: z.ZodOptional<z.ZodString>;
274
1066
  description: z.ZodOptional<z.ZodString>;
275
1067
  required: z.ZodOptional<z.ZodBoolean>;
276
- identifier: z.ZodString;
1068
+ id: z.ZodString;
277
1069
  type: z.ZodLiteral<"checkbox-list">;
278
1070
  }, z.core.$strip>, z.ZodObject<{
279
1071
  label: z.ZodOptional<z.ZodString>;
280
1072
  description: z.ZodOptional<z.ZodString>;
281
1073
  required: z.ZodOptional<z.ZodBoolean>;
282
- identifier: z.ZodString;
1074
+ id: z.ZodString;
283
1075
  type: z.ZodLiteral<"date">;
284
1076
  }, z.core.$strip>, z.ZodObject<{
285
1077
  placeholder: z.ZodOptional<z.ZodString>;
@@ -290,16 +1082,16 @@ export declare const JSONFieldSectionSchema: z.ZodObject<{
290
1082
  label: z.ZodOptional<z.ZodString>;
291
1083
  description: z.ZodOptional<z.ZodString>;
292
1084
  required: z.ZodOptional<z.ZodBoolean>;
293
- identifier: z.ZodString;
1085
+ id: z.ZodString;
294
1086
  type: z.ZodLiteral<"multi-select">;
295
1087
  }, z.core.$strip>, z.ZodObject<{
296
- minimum_length: z.ZodOptional<z.ZodInt>;
297
- maximum_length: z.ZodOptional<z.ZodInt>;
1088
+ minLength: z.ZodOptional<z.ZodInt>;
1089
+ maxLength: z.ZodOptional<z.ZodInt>;
298
1090
  placeholder: z.ZodOptional<z.ZodString>;
299
1091
  label: z.ZodOptional<z.ZodString>;
300
1092
  description: z.ZodOptional<z.ZodString>;
301
1093
  required: z.ZodOptional<z.ZodBoolean>;
302
- identifier: z.ZodString;
1094
+ id: z.ZodString;
303
1095
  type: z.ZodLiteral<"multi-string">;
304
1096
  }, z.core.$strip>, z.ZodObject<{
305
1097
  minimum: z.ZodOptional<z.ZodNumber>;
@@ -309,21 +1101,21 @@ export declare const JSONFieldSectionSchema: z.ZodObject<{
309
1101
  label: z.ZodOptional<z.ZodString>;
310
1102
  description: z.ZodOptional<z.ZodString>;
311
1103
  required: z.ZodOptional<z.ZodBoolean>;
312
- identifier: z.ZodString;
1104
+ id: z.ZodString;
313
1105
  type: z.ZodLiteral<"number">;
314
1106
  }, z.core.$strip>, z.ZodObject<{
315
1107
  length: z.ZodInt;
316
1108
  label: z.ZodOptional<z.ZodString>;
317
1109
  description: z.ZodOptional<z.ZodString>;
318
1110
  required: z.ZodOptional<z.ZodBoolean>;
319
- identifier: z.ZodString;
1111
+ id: z.ZodString;
320
1112
  type: z.ZodLiteral<"otp">;
321
1113
  }, z.core.$strip>, z.ZodObject<{
322
1114
  showNotesAndFilesOn: z.ZodArray<z.ZodLiteral<"pass" | "fail" | "na">>;
323
1115
  label: z.ZodOptional<z.ZodString>;
324
1116
  description: z.ZodOptional<z.ZodString>;
325
1117
  required: z.ZodOptional<z.ZodBoolean>;
326
- identifier: z.ZodString;
1118
+ id: z.ZodString;
327
1119
  type: z.ZodLiteral<"pass-fail">;
328
1120
  }, z.core.$strip>, z.ZodObject<{
329
1121
  options: z.ZodArray<z.ZodObject<{
@@ -333,20 +1125,20 @@ export declare const JSONFieldSectionSchema: z.ZodObject<{
333
1125
  label: z.ZodOptional<z.ZodString>;
334
1126
  description: z.ZodOptional<z.ZodString>;
335
1127
  required: z.ZodOptional<z.ZodBoolean>;
336
- identifier: z.ZodString;
1128
+ id: z.ZodString;
337
1129
  type: z.ZodLiteral<"radio">;
338
1130
  }, z.core.$strip>, z.ZodObject<{
339
1131
  maxRating: z.ZodInt;
340
1132
  label: z.ZodOptional<z.ZodString>;
341
1133
  description: z.ZodOptional<z.ZodString>;
342
1134
  required: z.ZodOptional<z.ZodBoolean>;
343
- identifier: z.ZodString;
1135
+ id: z.ZodString;
344
1136
  type: z.ZodLiteral<"rating">;
345
1137
  }, z.core.$strip>, z.ZodObject<{
346
1138
  label: z.ZodOptional<z.ZodString>;
347
1139
  description: z.ZodOptional<z.ZodString>;
348
1140
  required: z.ZodOptional<z.ZodBoolean>;
349
- identifier: z.ZodString;
1141
+ id: z.ZodString;
350
1142
  type: z.ZodLiteral<"qr">;
351
1143
  }, z.core.$strip>, z.ZodObject<{
352
1144
  placeholder: z.ZodOptional<z.ZodString>;
@@ -357,50 +1149,50 @@ export declare const JSONFieldSectionSchema: z.ZodObject<{
357
1149
  label: z.ZodOptional<z.ZodString>;
358
1150
  description: z.ZodOptional<z.ZodString>;
359
1151
  required: z.ZodOptional<z.ZodBoolean>;
360
- identifier: z.ZodString;
1152
+ id: z.ZodString;
361
1153
  type: z.ZodLiteral<"select">;
362
1154
  }, z.core.$strip>, z.ZodObject<{
363
- minimum_length: z.ZodOptional<z.ZodInt>;
364
- maximum_length: z.ZodOptional<z.ZodInt>;
1155
+ minLength: z.ZodOptional<z.ZodInt>;
1156
+ maxLength: z.ZodOptional<z.ZodInt>;
365
1157
  placeholder: z.ZodOptional<z.ZodString>;
366
1158
  label: z.ZodOptional<z.ZodString>;
367
1159
  description: z.ZodOptional<z.ZodString>;
368
1160
  required: z.ZodOptional<z.ZodBoolean>;
369
- identifier: z.ZodString;
1161
+ id: z.ZodString;
370
1162
  type: z.ZodLiteral<"string">;
371
1163
  }, z.core.$strip>, z.ZodObject<{
372
- minimum_length: z.ZodOptional<z.ZodInt>;
373
- maximum_length: z.ZodOptional<z.ZodInt>;
1164
+ minLength: z.ZodOptional<z.ZodInt>;
1165
+ maxLength: z.ZodOptional<z.ZodInt>;
374
1166
  placeholder: z.ZodOptional<z.ZodString>;
375
1167
  label: z.ZodOptional<z.ZodString>;
376
1168
  description: z.ZodOptional<z.ZodString>;
377
1169
  required: z.ZodOptional<z.ZodBoolean>;
378
- identifier: z.ZodString;
1170
+ id: z.ZodString;
379
1171
  type: z.ZodLiteral<"text">;
380
1172
  }, z.core.$strip>, z.ZodObject<{
381
1173
  label: z.ZodOptional<z.ZodString>;
382
1174
  description: z.ZodOptional<z.ZodString>;
383
1175
  required: z.ZodOptional<z.ZodBoolean>;
384
- identifier: z.ZodString;
1176
+ id: z.ZodString;
385
1177
  type: z.ZodLiteral<"time">;
386
1178
  }, z.core.$strip>, z.ZodObject<{
387
1179
  extensions: z.ZodOptional<z.ZodArray<z.ZodString>>;
388
- maximum_size: z.ZodOptional<z.ZodInt>;
389
- maximum_files: z.ZodOptional<z.ZodInt>;
1180
+ maxSize: z.ZodOptional<z.ZodInt>;
1181
+ maxFiles: z.ZodOptional<z.ZodInt>;
390
1182
  label: z.ZodOptional<z.ZodString>;
391
1183
  description: z.ZodOptional<z.ZodString>;
392
1184
  required: z.ZodOptional<z.ZodBoolean>;
393
- identifier: z.ZodString;
1185
+ id: z.ZodString;
394
1186
  type: z.ZodLiteral<"upload">;
395
1187
  }, z.core.$strip>, z.ZodObject<{
396
1188
  placeholder: z.ZodOptional<z.ZodString>;
397
1189
  label: z.ZodOptional<z.ZodString>;
398
1190
  description: z.ZodOptional<z.ZodString>;
399
1191
  required: z.ZodOptional<z.ZodBoolean>;
400
- identifier: z.ZodString;
1192
+ id: z.ZodString;
401
1193
  type: z.ZodLiteral<"url">;
402
1194
  }, z.core.$strip>], "type">>;
403
- identifier: z.ZodString;
1195
+ id: z.ZodString;
404
1196
  type: z.ZodLiteral<"section">;
405
1197
  }, z.core.$strip>;
406
1198
  export type JSONFieldSectionSchemaType = z.infer<typeof JSONFieldSectionSchema>;