@adrekic/zod-fieldsjson 0.0.1 → 0.0.2-condition-modifier-seperation.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 +3 -3
  2. package/dist/conditions/boolean.d.ts +32 -6
  3. package/dist/conditions/checkbox-list.d.ts +80 -6
  4. package/dist/conditions/date.d.ts +115 -7
  5. package/dist/conditions/index.d.ts +453 -57
  6. package/dist/conditions/multi-select.d.ts +80 -6
  7. package/dist/conditions/multi-string.d.ts +80 -6
  8. package/dist/conditions/number.d.ts +147 -7
  9. package/dist/conditions/otp.d.ts +64 -6
  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 +64 -6
  14. package/dist/conditions/select.d.ts +64 -6
  15. package/dist/conditions/string.d.ts +64 -6
  16. package/dist/conditions/text.d.ts +64 -6
  17. package/dist/conditions/time.d.ts +115 -7
  18. package/dist/conditions/upload.d.ts +32 -6
  19. package/dist/conditions/url.d.ts +64 -6
  20. package/dist/elements/base.d.ts +1 -1
  21. package/dist/elements/index.d.ts +612 -218
  22. package/dist/elements/section.d.ts +987 -196
  23. package/dist/fields/base.d.ts +14 -14
  24. package/dist/fields/boolean.d.ts +4 -4
  25. package/dist/fields/checkbox-list.d.ts +4 -4
  26. package/dist/fields/date.d.ts +4 -4
  27. package/dist/fields/index.d.ts +78 -79
  28. package/dist/fields/multi-select.d.ts +4 -4
  29. package/dist/fields/multi-string.d.ts +6 -6
  30. package/dist/fields/number.d.ts +4 -4
  31. package/dist/fields/otp.d.ts +5 -8
  32. package/dist/fields/pass-fail.d.ts +4 -4
  33. package/dist/fields/radio.d.ts +4 -4
  34. package/dist/fields/rating.d.ts +5 -5
  35. package/dist/fields/scan.d.ts +4 -4
  36. package/dist/fields/select.d.ts +4 -4
  37. package/dist/fields/string.d.ts +6 -6
  38. package/dist/fields/text.d.ts +6 -6
  39. package/dist/fields/time.d.ts +4 -4
  40. package/dist/fields/upload.d.ts +6 -6
  41. package/dist/fields/url.d.ts +4 -4
  42. package/dist/index.cjs +1 -1
  43. package/dist/index.js +360 -279
  44. package/dist/schema.d.ts +534 -139
  45. package/package.json +3 -3
package/dist/schema.d.ts CHANGED
@@ -1,155 +1,551 @@
1
1
  import * as z from "zod/v4";
2
2
  export declare const JSONFieldSchemaSchema: z.ZodArray<z.ZodObject<{
3
- label: z.ZodNullable<z.ZodString>;
4
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5
- conditions: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3
+ label: z.ZodOptional<z.ZodString>;
4
+ description: z.ZodOptional<z.ZodString>;
5
+ conditions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[z.ZodObject<{
6
6
  id: z.ZodString;
7
7
  type: z.ZodLiteral<"boolean">;
8
- fieldId: z.ZodString;
9
- conditionValue: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
10
- conditionModifier: z.ZodLiteral<"equals" | "notEquals">;
8
+ field: z.ZodString;
9
+ value: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
10
+ modifier: z.ZodLiteral<"equals">;
11
+ }, z.core.$strip>, z.ZodObject<{
12
+ id: z.ZodString;
13
+ type: z.ZodLiteral<"boolean">;
14
+ field: z.ZodString;
15
+ value: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
16
+ modifier: z.ZodLiteral<"notEquals">;
17
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
18
+ id: z.ZodString;
19
+ type: z.ZodLiteral<"checkbox-list">;
20
+ field: z.ZodString;
21
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
22
+ modifier: z.ZodLiteral<"equals">;
23
+ }, z.core.$strip>, z.ZodObject<{
24
+ id: z.ZodString;
25
+ type: z.ZodLiteral<"checkbox-list">;
26
+ field: z.ZodString;
27
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
28
+ modifier: z.ZodLiteral<"notEquals">;
29
+ }, z.core.$strip>, z.ZodObject<{
30
+ id: z.ZodString;
31
+ type: z.ZodLiteral<"checkbox-list">;
32
+ field: z.ZodString;
33
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
34
+ modifier: z.ZodLiteral<"every">;
35
+ }, z.core.$strip>, z.ZodObject<{
36
+ id: z.ZodString;
37
+ type: z.ZodLiteral<"checkbox-list">;
38
+ field: z.ZodString;
39
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
40
+ modifier: z.ZodLiteral<"some">;
11
41
  }, z.core.$strip>, z.ZodObject<{
12
42
  id: z.ZodString;
13
43
  type: z.ZodLiteral<"checkbox-list">;
14
- fieldId: z.ZodString;
15
- conditionValue: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
16
- conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "every" | "some" | "none">;
44
+ field: z.ZodString;
45
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
46
+ modifier: z.ZodLiteral<"none">;
47
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
48
+ id: z.ZodString;
49
+ type: z.ZodLiteral<"date">;
50
+ field: z.ZodString;
51
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
52
+ modifier: z.ZodLiteral<"equals">;
53
+ }, z.core.$strip>, z.ZodObject<{
54
+ id: z.ZodString;
55
+ type: z.ZodLiteral<"date">;
56
+ field: z.ZodString;
57
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
58
+ modifier: z.ZodLiteral<"notEquals">;
59
+ }, z.core.$strip>, z.ZodObject<{
60
+ id: z.ZodString;
61
+ type: z.ZodLiteral<"date">;
62
+ field: z.ZodString;
63
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
64
+ modifier: z.ZodLiteral<"before">;
65
+ }, z.core.$strip>, z.ZodObject<{
66
+ id: z.ZodString;
67
+ type: z.ZodLiteral<"date">;
68
+ field: z.ZodString;
69
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
70
+ modifier: z.ZodLiteral<"after">;
71
+ }, z.core.$strip>, z.ZodObject<{
72
+ id: z.ZodString;
73
+ type: z.ZodLiteral<"date">;
74
+ field: z.ZodString;
75
+ value: z.ZodType<{
76
+ from: string | null;
77
+ to: string | null;
78
+ }, unknown, z.core.$ZodTypeInternals<{
79
+ from: string | null;
80
+ to: string | null;
81
+ }, unknown>>;
82
+ modifier: z.ZodLiteral<"in">;
17
83
  }, z.core.$strip>, z.ZodObject<{
18
84
  id: z.ZodString;
19
85
  type: z.ZodLiteral<"date">;
20
- fieldId: z.ZodString;
21
- conditionValue: z.ZodType<string | {
86
+ field: z.ZodString;
87
+ value: z.ZodType<{
22
88
  from: string | null;
23
89
  to: string | null;
24
- }, unknown, z.core.$ZodTypeInternals<string | {
90
+ }, unknown, z.core.$ZodTypeInternals<{
25
91
  from: string | null;
26
92
  to: string | null;
27
93
  }, unknown>>;
28
- conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "in" | "before" | "after" | "notIn">;
94
+ modifier: z.ZodLiteral<"notIn">;
95
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
96
+ id: z.ZodString;
97
+ type: z.ZodLiteral<"multi-select">;
98
+ field: z.ZodString;
99
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
100
+ modifier: z.ZodLiteral<"equals">;
101
+ }, z.core.$strip>, z.ZodObject<{
102
+ id: z.ZodString;
103
+ type: z.ZodLiteral<"multi-select">;
104
+ field: z.ZodString;
105
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
106
+ modifier: z.ZodLiteral<"notEquals">;
107
+ }, z.core.$strip>, z.ZodObject<{
108
+ id: z.ZodString;
109
+ type: z.ZodLiteral<"multi-select">;
110
+ field: z.ZodString;
111
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
112
+ modifier: z.ZodLiteral<"every">;
29
113
  }, z.core.$strip>, z.ZodObject<{
30
114
  id: z.ZodString;
31
115
  type: z.ZodLiteral<"multi-select">;
32
- fieldId: z.ZodString;
33
- conditionValue: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
34
- conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "every" | "some" | "none">;
116
+ field: z.ZodString;
117
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
118
+ modifier: z.ZodLiteral<"some">;
119
+ }, z.core.$strip>, z.ZodObject<{
120
+ id: z.ZodString;
121
+ type: z.ZodLiteral<"multi-select">;
122
+ field: z.ZodString;
123
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
124
+ modifier: z.ZodLiteral<"none">;
125
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
126
+ id: z.ZodString;
127
+ type: z.ZodLiteral<"multi-string">;
128
+ field: z.ZodString;
129
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
130
+ modifier: z.ZodLiteral<"equals">;
131
+ }, z.core.$strip>, z.ZodObject<{
132
+ id: z.ZodString;
133
+ type: z.ZodLiteral<"multi-string">;
134
+ field: z.ZodString;
135
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
136
+ modifier: z.ZodLiteral<"notEquals">;
137
+ }, z.core.$strip>, z.ZodObject<{
138
+ id: z.ZodString;
139
+ type: z.ZodLiteral<"multi-string">;
140
+ field: z.ZodString;
141
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
142
+ modifier: z.ZodLiteral<"every">;
35
143
  }, z.core.$strip>, z.ZodObject<{
36
144
  id: z.ZodString;
37
145
  type: z.ZodLiteral<"multi-string">;
38
- fieldId: z.ZodString;
39
- conditionValue: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
40
- conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "every" | "some" | "none">;
146
+ field: z.ZodString;
147
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
148
+ modifier: z.ZodLiteral<"some">;
149
+ }, z.core.$strip>, z.ZodObject<{
150
+ id: z.ZodString;
151
+ type: z.ZodLiteral<"multi-string">;
152
+ field: z.ZodString;
153
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
154
+ modifier: z.ZodLiteral<"none">;
155
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
156
+ id: z.ZodString;
157
+ type: z.ZodLiteral<"number">;
158
+ field: z.ZodString;
159
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
160
+ modifier: z.ZodLiteral<"equals">;
161
+ }, z.core.$strip>, z.ZodObject<{
162
+ id: z.ZodString;
163
+ type: z.ZodLiteral<"number">;
164
+ field: z.ZodString;
165
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
166
+ modifier: z.ZodLiteral<"notEquals">;
167
+ }, z.core.$strip>, z.ZodObject<{
168
+ id: z.ZodString;
169
+ type: z.ZodLiteral<"number">;
170
+ field: z.ZodString;
171
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
172
+ modifier: z.ZodLiteral<"lessThan">;
173
+ }, z.core.$strip>, z.ZodObject<{
174
+ id: z.ZodString;
175
+ type: z.ZodLiteral<"number">;
176
+ field: z.ZodString;
177
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
178
+ modifier: z.ZodLiteral<"lessThanOrEquals">;
179
+ }, z.core.$strip>, z.ZodObject<{
180
+ id: z.ZodString;
181
+ type: z.ZodLiteral<"number">;
182
+ field: z.ZodString;
183
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
184
+ modifier: z.ZodLiteral<"greaterThan">;
185
+ }, z.core.$strip>, z.ZodObject<{
186
+ id: z.ZodString;
187
+ type: z.ZodLiteral<"number">;
188
+ field: z.ZodString;
189
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
190
+ modifier: z.ZodLiteral<"greaterThanOrEquals">;
191
+ }, z.core.$strip>, z.ZodObject<{
192
+ id: z.ZodString;
193
+ type: z.ZodLiteral<"number">;
194
+ field: z.ZodString;
195
+ value: z.ZodType<{
196
+ from: number | null;
197
+ to: number | null;
198
+ }, unknown, z.core.$ZodTypeInternals<{
199
+ from: number | null;
200
+ to: number | null;
201
+ }, unknown>>;
202
+ modifier: z.ZodLiteral<"inRange">;
41
203
  }, z.core.$strip>, z.ZodObject<{
42
204
  id: z.ZodString;
43
205
  type: z.ZodLiteral<"number">;
44
- fieldId: z.ZodString;
45
- conditionValue: z.ZodType<number | {
206
+ field: z.ZodString;
207
+ value: z.ZodType<{
46
208
  from: number | null;
47
209
  to: number | null;
48
- }, unknown, z.core.$ZodTypeInternals<number | {
210
+ }, unknown, z.core.$ZodTypeInternals<{
49
211
  from: number | null;
50
212
  to: number | null;
51
213
  }, unknown>>;
52
- conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "lessThan" | "lessThanOrEquals" | "greaterThan" | "greaterThanOrEquals" | "inRange" | "notInRange">;
214
+ modifier: z.ZodLiteral<"notInRange">;
215
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
216
+ id: z.ZodString;
217
+ type: z.ZodLiteral<"otp">;
218
+ field: z.ZodString;
219
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
220
+ modifier: z.ZodLiteral<"equals">;
221
+ }, z.core.$strip>, z.ZodObject<{
222
+ id: z.ZodString;
223
+ type: z.ZodLiteral<"otp">;
224
+ field: z.ZodString;
225
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
226
+ modifier: z.ZodLiteral<"notEquals">;
53
227
  }, z.core.$strip>, z.ZodObject<{
54
228
  id: z.ZodString;
55
229
  type: z.ZodLiteral<"otp">;
56
- fieldId: z.ZodString;
57
- conditionValue: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
58
- conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
230
+ field: z.ZodString;
231
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
232
+ modifier: z.ZodLiteral<"includes">;
233
+ }, z.core.$strip>, z.ZodObject<{
234
+ id: z.ZodString;
235
+ type: z.ZodLiteral<"otp">;
236
+ field: z.ZodString;
237
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
238
+ modifier: z.ZodLiteral<"excludes">;
239
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
240
+ id: z.ZodString;
241
+ type: z.ZodLiteral<"pass-fail">;
242
+ field: z.ZodString;
243
+ value: z.ZodType<"pass" | "fail" | "na", unknown, z.core.$ZodTypeInternals<"pass" | "fail" | "na", unknown>>;
244
+ modifier: z.ZodLiteral<"equals">;
245
+ }, z.core.$strip>, z.ZodObject<{
246
+ id: z.ZodString;
247
+ type: z.ZodLiteral<"pass-fail">;
248
+ field: z.ZodString;
249
+ value: z.ZodType<"pass" | "fail" | "na", unknown, z.core.$ZodTypeInternals<"pass" | "fail" | "na", unknown>>;
250
+ modifier: z.ZodLiteral<"notEquals">;
59
251
  }, z.core.$strip>, z.ZodObject<{
60
252
  id: z.ZodString;
61
253
  type: z.ZodLiteral<"pass-fail">;
62
- fieldId: z.ZodString;
63
- conditionValue: z.ZodType<"pass" | "fail" | "na" | ("pass" | "fail" | "na")[], unknown, z.core.$ZodTypeInternals<"pass" | "fail" | "na" | ("pass" | "fail" | "na")[], unknown>>;
64
- conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
254
+ field: z.ZodString;
255
+ value: z.ZodType<("pass" | "fail" | "na")[], unknown, z.core.$ZodTypeInternals<("pass" | "fail" | "na")[], unknown>>;
256
+ modifier: z.ZodLiteral<"includes">;
257
+ }, z.core.$strip>, z.ZodObject<{
258
+ id: z.ZodString;
259
+ type: z.ZodLiteral<"pass-fail">;
260
+ field: z.ZodString;
261
+ value: z.ZodType<("pass" | "fail" | "na")[], unknown, z.core.$ZodTypeInternals<("pass" | "fail" | "na")[], unknown>>;
262
+ modifier: z.ZodLiteral<"excludes">;
263
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
264
+ id: z.ZodString;
265
+ type: z.ZodLiteral<"radio">;
266
+ field: z.ZodString;
267
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
268
+ modifier: z.ZodLiteral<"equals">;
65
269
  }, z.core.$strip>, z.ZodObject<{
66
270
  id: z.ZodString;
67
271
  type: z.ZodLiteral<"radio">;
68
- fieldId: z.ZodString;
69
- conditionValue: z.ZodType<string | string[], unknown, z.core.$ZodTypeInternals<string | string[], unknown>>;
70
- conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
272
+ field: z.ZodString;
273
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
274
+ modifier: z.ZodLiteral<"notEquals">;
71
275
  }, z.core.$strip>, z.ZodObject<{
276
+ id: z.ZodString;
277
+ type: z.ZodLiteral<"radio">;
278
+ field: z.ZodString;
279
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
280
+ modifier: z.ZodLiteral<"includes">;
281
+ }, z.core.$strip>, z.ZodObject<{
282
+ id: z.ZodString;
283
+ type: z.ZodLiteral<"radio">;
284
+ field: z.ZodString;
285
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
286
+ modifier: z.ZodLiteral<"excludes">;
287
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
72
288
  id: z.ZodString;
73
289
  type: z.ZodLiteral<"rating">;
74
- fieldId: z.ZodString;
75
- conditionValue: z.ZodType<number | {
290
+ field: z.ZodString;
291
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
292
+ modifier: z.ZodLiteral<"equals">;
293
+ }, z.core.$strip>, z.ZodObject<{
294
+ id: z.ZodString;
295
+ type: z.ZodLiteral<"rating">;
296
+ field: z.ZodString;
297
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
298
+ modifier: z.ZodLiteral<"notEquals">;
299
+ }, z.core.$strip>, z.ZodObject<{
300
+ id: z.ZodString;
301
+ type: z.ZodLiteral<"rating">;
302
+ field: z.ZodString;
303
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
304
+ modifier: z.ZodLiteral<"lessThan">;
305
+ }, z.core.$strip>, z.ZodObject<{
306
+ id: z.ZodString;
307
+ type: z.ZodLiteral<"rating">;
308
+ field: z.ZodString;
309
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
310
+ modifier: z.ZodLiteral<"lessThanOrEquals">;
311
+ }, z.core.$strip>, z.ZodObject<{
312
+ id: z.ZodString;
313
+ type: z.ZodLiteral<"rating">;
314
+ field: z.ZodString;
315
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
316
+ modifier: z.ZodLiteral<"greaterThan">;
317
+ }, z.core.$strip>, z.ZodObject<{
318
+ id: z.ZodString;
319
+ type: z.ZodLiteral<"rating">;
320
+ field: z.ZodString;
321
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
322
+ modifier: z.ZodLiteral<"greaterThanOrEquals">;
323
+ }, z.core.$strip>, z.ZodObject<{
324
+ id: z.ZodString;
325
+ type: z.ZodLiteral<"rating">;
326
+ field: z.ZodString;
327
+ value: z.ZodType<{
76
328
  from: number | null;
77
329
  to: number | null;
78
- }, unknown, z.core.$ZodTypeInternals<number | {
330
+ }, unknown, z.core.$ZodTypeInternals<{
79
331
  from: number | null;
80
332
  to: number | null;
81
333
  }, unknown>>;
82
- conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "lessThan" | "lessThanOrEquals" | "greaterThan" | "greaterThanOrEquals" | "inRange" | "notInRange">;
334
+ modifier: z.ZodLiteral<"inRange">;
335
+ }, z.core.$strip>, z.ZodObject<{
336
+ id: z.ZodString;
337
+ type: z.ZodLiteral<"rating">;
338
+ field: z.ZodString;
339
+ value: z.ZodType<{
340
+ from: number | null;
341
+ to: number | null;
342
+ }, unknown, z.core.$ZodTypeInternals<{
343
+ from: number | null;
344
+ to: number | null;
345
+ }, unknown>>;
346
+ modifier: z.ZodLiteral<"notInRange">;
347
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
348
+ id: z.ZodString;
349
+ type: z.ZodLiteral<"qr">;
350
+ field: z.ZodString;
351
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
352
+ modifier: z.ZodLiteral<"equals">;
353
+ }, z.core.$strip>, z.ZodObject<{
354
+ id: z.ZodString;
355
+ type: z.ZodLiteral<"qr">;
356
+ field: z.ZodString;
357
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
358
+ modifier: z.ZodLiteral<"notEquals">;
359
+ }, z.core.$strip>, z.ZodObject<{
360
+ id: z.ZodString;
361
+ type: z.ZodLiteral<"qr">;
362
+ field: z.ZodString;
363
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
364
+ modifier: z.ZodLiteral<"includes">;
83
365
  }, z.core.$strip>, z.ZodObject<{
84
366
  id: z.ZodString;
85
367
  type: z.ZodLiteral<"qr">;
86
- fieldId: z.ZodString;
87
- conditionValue: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
88
- conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
368
+ field: z.ZodString;
369
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
370
+ modifier: z.ZodLiteral<"excludes">;
371
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
372
+ id: z.ZodString;
373
+ type: z.ZodLiteral<"select">;
374
+ field: z.ZodString;
375
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
376
+ modifier: z.ZodLiteral<"equals">;
377
+ }, z.core.$strip>, z.ZodObject<{
378
+ id: z.ZodString;
379
+ type: z.ZodLiteral<"select">;
380
+ field: z.ZodString;
381
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
382
+ modifier: z.ZodLiteral<"notEquals">;
383
+ }, z.core.$strip>, z.ZodObject<{
384
+ id: z.ZodString;
385
+ type: z.ZodLiteral<"select">;
386
+ field: z.ZodString;
387
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
388
+ modifier: z.ZodLiteral<"includes">;
89
389
  }, z.core.$strip>, z.ZodObject<{
90
390
  id: z.ZodString;
91
391
  type: z.ZodLiteral<"select">;
92
- fieldId: z.ZodString;
93
- conditionValue: z.ZodType<string | string[], unknown, z.core.$ZodTypeInternals<string | string[], unknown>>;
94
- conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
392
+ field: z.ZodString;
393
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
394
+ modifier: z.ZodLiteral<"excludes">;
395
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
396
+ id: z.ZodString;
397
+ type: z.ZodLiteral<"string">;
398
+ field: z.ZodString;
399
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
400
+ modifier: z.ZodLiteral<"equals">;
401
+ }, z.core.$strip>, z.ZodObject<{
402
+ id: z.ZodString;
403
+ type: z.ZodLiteral<"string">;
404
+ field: z.ZodString;
405
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
406
+ modifier: z.ZodLiteral<"notEquals">;
95
407
  }, z.core.$strip>, z.ZodObject<{
96
408
  id: z.ZodString;
97
409
  type: z.ZodLiteral<"string">;
98
- fieldId: z.ZodString;
99
- conditionValue: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
100
- conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
410
+ field: z.ZodString;
411
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
412
+ modifier: z.ZodLiteral<"includes">;
413
+ }, z.core.$strip>, z.ZodObject<{
414
+ id: z.ZodString;
415
+ type: z.ZodLiteral<"string">;
416
+ field: z.ZodString;
417
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
418
+ modifier: z.ZodLiteral<"excludes">;
419
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
420
+ id: z.ZodString;
421
+ type: z.ZodLiteral<"text">;
422
+ field: z.ZodString;
423
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
424
+ modifier: z.ZodLiteral<"equals">;
101
425
  }, z.core.$strip>, z.ZodObject<{
102
426
  id: z.ZodString;
103
427
  type: z.ZodLiteral<"text">;
104
- fieldId: z.ZodString;
105
- conditionValue: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
106
- conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
428
+ field: z.ZodString;
429
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
430
+ modifier: z.ZodLiteral<"notEquals">;
431
+ }, z.core.$strip>, z.ZodObject<{
432
+ id: z.ZodString;
433
+ type: z.ZodLiteral<"text">;
434
+ field: z.ZodString;
435
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
436
+ modifier: z.ZodLiteral<"includes">;
437
+ }, z.core.$strip>, z.ZodObject<{
438
+ id: z.ZodString;
439
+ type: z.ZodLiteral<"text">;
440
+ field: z.ZodString;
441
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
442
+ modifier: z.ZodLiteral<"excludes">;
443
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
444
+ id: z.ZodString;
445
+ type: z.ZodLiteral<"time">;
446
+ field: z.ZodString;
447
+ 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>>;
448
+ modifier: z.ZodLiteral<"equals">;
449
+ }, z.core.$strip>, z.ZodObject<{
450
+ id: z.ZodString;
451
+ type: z.ZodLiteral<"time">;
452
+ field: z.ZodString;
453
+ 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>>;
454
+ modifier: z.ZodLiteral<"notEquals">;
455
+ }, z.core.$strip>, z.ZodObject<{
456
+ id: z.ZodString;
457
+ type: z.ZodLiteral<"time">;
458
+ field: z.ZodString;
459
+ 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>>;
460
+ modifier: z.ZodLiteral<"before">;
107
461
  }, z.core.$strip>, z.ZodObject<{
108
462
  id: z.ZodString;
109
463
  type: z.ZodLiteral<"time">;
110
- fieldId: z.ZodString;
111
- conditionValue: z.ZodType<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | {
464
+ field: z.ZodString;
465
+ 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>>;
466
+ modifier: z.ZodLiteral<"after">;
467
+ }, z.core.$strip>, z.ZodObject<{
468
+ id: z.ZodString;
469
+ type: z.ZodLiteral<"time">;
470
+ field: z.ZodString;
471
+ value: z.ZodType<{
112
472
  from: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
113
473
  to: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
114
- }, unknown, z.core.$ZodTypeInternals<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | {
474
+ }, unknown, z.core.$ZodTypeInternals<{
115
475
  from: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
116
476
  to: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
117
477
  }, unknown>>;
118
- conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "in" | "before" | "after" | "notIn">;
478
+ modifier: z.ZodLiteral<"in">;
119
479
  }, z.core.$strip>, z.ZodObject<{
480
+ id: z.ZodString;
481
+ type: z.ZodLiteral<"time">;
482
+ field: z.ZodString;
483
+ value: z.ZodType<{
484
+ from: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
485
+ to: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
486
+ }, unknown, z.core.$ZodTypeInternals<{
487
+ from: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
488
+ to: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
489
+ }, unknown>>;
490
+ modifier: z.ZodLiteral<"notIn">;
491
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
120
492
  id: z.ZodString;
121
493
  type: z.ZodLiteral<"upload">;
122
- fieldId: z.ZodString;
123
- conditionValue: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
124
- conditionModifier: z.ZodLiteral<"equals" | "notEquals">;
494
+ field: z.ZodString;
495
+ value: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
496
+ modifier: z.ZodLiteral<"equals">;
125
497
  }, z.core.$strip>, z.ZodObject<{
498
+ id: z.ZodString;
499
+ type: z.ZodLiteral<"upload">;
500
+ field: z.ZodString;
501
+ value: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
502
+ modifier: z.ZodLiteral<"notEquals">;
503
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
126
504
  id: z.ZodString;
127
505
  type: z.ZodLiteral<"url">;
128
- fieldId: z.ZodString;
129
- conditionValue: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
130
- conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
131
- }, z.core.$strip>], "type">>>;
506
+ field: z.ZodString;
507
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
508
+ modifier: z.ZodLiteral<"equals">;
509
+ }, z.core.$strip>, z.ZodObject<{
510
+ id: z.ZodString;
511
+ type: z.ZodLiteral<"url">;
512
+ field: z.ZodString;
513
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
514
+ modifier: z.ZodLiteral<"notEquals">;
515
+ }, z.core.$strip>, z.ZodObject<{
516
+ id: z.ZodString;
517
+ type: z.ZodLiteral<"url">;
518
+ field: z.ZodString;
519
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
520
+ modifier: z.ZodLiteral<"includes">;
521
+ }, z.core.$strip>, z.ZodObject<{
522
+ id: z.ZodString;
523
+ type: z.ZodLiteral<"url">;
524
+ field: z.ZodString;
525
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
526
+ modifier: z.ZodLiteral<"excludes">;
527
+ }, z.core.$strip>], "modifier">], "type">>>>;
132
528
  fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
133
- label: z.ZodString;
134
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
135
- required: z.ZodBoolean;
136
- identifier: z.ZodString;
529
+ label: z.ZodOptional<z.ZodString>;
530
+ description: z.ZodOptional<z.ZodString>;
531
+ required: z.ZodOptional<z.ZodBoolean>;
532
+ id: z.ZodString;
137
533
  type: z.ZodLiteral<"boolean">;
138
534
  }, z.core.$strip>, z.ZodObject<{
139
535
  options: z.ZodArray<z.ZodObject<{
140
536
  value: z.ZodString;
141
537
  label: z.ZodString;
142
538
  }, z.core.$strip>>;
143
- label: z.ZodString;
144
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
145
- required: z.ZodBoolean;
146
- identifier: z.ZodString;
539
+ label: z.ZodOptional<z.ZodString>;
540
+ description: z.ZodOptional<z.ZodString>;
541
+ required: z.ZodOptional<z.ZodBoolean>;
542
+ id: z.ZodString;
147
543
  type: z.ZodLiteral<"checkbox-list">;
148
544
  }, z.core.$strip>, z.ZodObject<{
149
- label: z.ZodString;
150
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
151
- required: z.ZodBoolean;
152
- identifier: z.ZodString;
545
+ label: z.ZodOptional<z.ZodString>;
546
+ description: z.ZodOptional<z.ZodString>;
547
+ required: z.ZodOptional<z.ZodBoolean>;
548
+ id: z.ZodString;
153
549
  type: z.ZodLiteral<"date">;
154
550
  }, z.core.$strip>, z.ZodObject<{
155
551
  placeholder: z.ZodOptional<z.ZodString>;
@@ -157,67 +553,66 @@ export declare const JSONFieldSchemaSchema: z.ZodArray<z.ZodObject<{
157
553
  value: z.ZodString;
158
554
  label: z.ZodString;
159
555
  }, z.core.$strip>>;
160
- label: z.ZodString;
161
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
162
- required: z.ZodBoolean;
163
- identifier: z.ZodString;
556
+ label: z.ZodOptional<z.ZodString>;
557
+ description: z.ZodOptional<z.ZodString>;
558
+ required: z.ZodOptional<z.ZodBoolean>;
559
+ id: z.ZodString;
164
560
  type: z.ZodLiteral<"multi-select">;
165
561
  }, z.core.$strip>, z.ZodObject<{
166
- minimum_length: z.ZodOptional<z.ZodNumber>;
167
- maximum_length: z.ZodOptional<z.ZodNumber>;
562
+ minLength: z.ZodOptional<z.ZodInt>;
563
+ maxLength: z.ZodOptional<z.ZodInt>;
168
564
  placeholder: z.ZodOptional<z.ZodString>;
169
- label: z.ZodString;
170
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
171
- required: z.ZodBoolean;
172
- identifier: z.ZodString;
565
+ label: z.ZodOptional<z.ZodString>;
566
+ description: z.ZodOptional<z.ZodString>;
567
+ required: z.ZodOptional<z.ZodBoolean>;
568
+ id: z.ZodString;
173
569
  type: z.ZodLiteral<"multi-string">;
174
570
  }, z.core.$strip>, z.ZodObject<{
175
571
  minimum: z.ZodOptional<z.ZodNumber>;
176
572
  maximum: z.ZodOptional<z.ZodNumber>;
177
573
  integers: z.ZodOptional<z.ZodBoolean>;
178
574
  placeholder: z.ZodOptional<z.ZodString>;
179
- label: z.ZodString;
180
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
181
- required: z.ZodBoolean;
182
- identifier: z.ZodString;
575
+ label: z.ZodOptional<z.ZodString>;
576
+ description: z.ZodOptional<z.ZodString>;
577
+ required: z.ZodOptional<z.ZodBoolean>;
578
+ id: z.ZodString;
183
579
  type: z.ZodLiteral<"number">;
184
580
  }, z.core.$strip>, z.ZodObject<{
185
- length: z.ZodNumber;
186
- validationType: z.ZodLiteral<"none" | "alpha" | "numeric" | "alphanumeric">;
187
- label: z.ZodString;
188
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
189
- required: z.ZodBoolean;
190
- identifier: z.ZodString;
581
+ length: z.ZodInt;
582
+ label: z.ZodOptional<z.ZodString>;
583
+ description: z.ZodOptional<z.ZodString>;
584
+ required: z.ZodOptional<z.ZodBoolean>;
585
+ id: z.ZodString;
191
586
  type: z.ZodLiteral<"otp">;
192
587
  }, z.core.$strip>, z.ZodObject<{
193
588
  showNotesAndFilesOn: z.ZodArray<z.ZodLiteral<"pass" | "fail" | "na">>;
194
- label: z.ZodString;
195
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
196
- required: z.ZodBoolean;
197
- identifier: z.ZodString;
589
+ label: z.ZodOptional<z.ZodString>;
590
+ description: z.ZodOptional<z.ZodString>;
591
+ required: z.ZodOptional<z.ZodBoolean>;
592
+ id: z.ZodString;
198
593
  type: z.ZodLiteral<"pass-fail">;
199
594
  }, z.core.$strip>, z.ZodObject<{
200
595
  options: z.ZodArray<z.ZodObject<{
201
596
  value: z.ZodString;
202
597
  label: z.ZodString;
203
598
  }, z.core.$strip>>;
204
- label: z.ZodString;
205
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
206
- required: z.ZodBoolean;
207
- identifier: z.ZodString;
599
+ label: z.ZodOptional<z.ZodString>;
600
+ description: z.ZodOptional<z.ZodString>;
601
+ required: z.ZodOptional<z.ZodBoolean>;
602
+ id: z.ZodString;
208
603
  type: z.ZodLiteral<"radio">;
209
604
  }, z.core.$strip>, z.ZodObject<{
210
- maxRating: z.ZodNumber;
211
- label: z.ZodString;
212
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
213
- required: z.ZodBoolean;
214
- identifier: z.ZodString;
605
+ maxRating: z.ZodInt;
606
+ label: z.ZodOptional<z.ZodString>;
607
+ description: z.ZodOptional<z.ZodString>;
608
+ required: z.ZodOptional<z.ZodBoolean>;
609
+ id: z.ZodString;
215
610
  type: z.ZodLiteral<"rating">;
216
611
  }, z.core.$strip>, z.ZodObject<{
217
- label: z.ZodString;
218
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
219
- required: z.ZodBoolean;
220
- identifier: z.ZodString;
612
+ label: z.ZodOptional<z.ZodString>;
613
+ description: z.ZodOptional<z.ZodString>;
614
+ required: z.ZodOptional<z.ZodBoolean>;
615
+ id: z.ZodString;
221
616
  type: z.ZodLiteral<"qr">;
222
617
  }, z.core.$strip>, z.ZodObject<{
223
618
  placeholder: z.ZodOptional<z.ZodString>;
@@ -225,53 +620,53 @@ export declare const JSONFieldSchemaSchema: z.ZodArray<z.ZodObject<{
225
620
  value: z.ZodString;
226
621
  label: z.ZodString;
227
622
  }, z.core.$strip>>;
228
- label: z.ZodString;
229
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
230
- required: z.ZodBoolean;
231
- identifier: z.ZodString;
623
+ label: z.ZodOptional<z.ZodString>;
624
+ description: z.ZodOptional<z.ZodString>;
625
+ required: z.ZodOptional<z.ZodBoolean>;
626
+ id: z.ZodString;
232
627
  type: z.ZodLiteral<"select">;
233
628
  }, z.core.$strip>, z.ZodObject<{
234
- minimum_length: z.ZodOptional<z.ZodNumber>;
235
- maximum_length: z.ZodOptional<z.ZodNumber>;
629
+ minLength: z.ZodOptional<z.ZodInt>;
630
+ maxLength: z.ZodOptional<z.ZodInt>;
236
631
  placeholder: z.ZodOptional<z.ZodString>;
237
- label: z.ZodString;
238
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
239
- required: z.ZodBoolean;
240
- identifier: z.ZodString;
632
+ label: z.ZodOptional<z.ZodString>;
633
+ description: z.ZodOptional<z.ZodString>;
634
+ required: z.ZodOptional<z.ZodBoolean>;
635
+ id: z.ZodString;
241
636
  type: z.ZodLiteral<"string">;
242
637
  }, z.core.$strip>, z.ZodObject<{
243
- minimum_length: z.ZodOptional<z.ZodNumber>;
244
- maximum_length: z.ZodOptional<z.ZodNumber>;
638
+ minLength: z.ZodOptional<z.ZodInt>;
639
+ maxLength: z.ZodOptional<z.ZodInt>;
245
640
  placeholder: z.ZodOptional<z.ZodString>;
246
- label: z.ZodString;
247
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
248
- required: z.ZodBoolean;
249
- identifier: z.ZodString;
641
+ label: z.ZodOptional<z.ZodString>;
642
+ description: z.ZodOptional<z.ZodString>;
643
+ required: z.ZodOptional<z.ZodBoolean>;
644
+ id: z.ZodString;
250
645
  type: z.ZodLiteral<"text">;
251
646
  }, z.core.$strip>, z.ZodObject<{
252
- label: z.ZodString;
253
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
254
- required: z.ZodBoolean;
255
- identifier: z.ZodString;
647
+ label: z.ZodOptional<z.ZodString>;
648
+ description: z.ZodOptional<z.ZodString>;
649
+ required: z.ZodOptional<z.ZodBoolean>;
650
+ id: z.ZodString;
256
651
  type: z.ZodLiteral<"time">;
257
652
  }, z.core.$strip>, z.ZodObject<{
258
653
  extensions: z.ZodOptional<z.ZodArray<z.ZodString>>;
259
- maximum_size: z.ZodOptional<z.ZodNumber>;
260
- maximum_files: z.ZodOptional<z.ZodNumber>;
261
- label: z.ZodString;
262
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
263
- required: z.ZodBoolean;
264
- identifier: z.ZodString;
654
+ maxSize: z.ZodOptional<z.ZodInt>;
655
+ maxFiles: z.ZodOptional<z.ZodInt>;
656
+ label: z.ZodOptional<z.ZodString>;
657
+ description: z.ZodOptional<z.ZodString>;
658
+ required: z.ZodOptional<z.ZodBoolean>;
659
+ id: z.ZodString;
265
660
  type: z.ZodLiteral<"upload">;
266
661
  }, z.core.$strip>, z.ZodObject<{
267
662
  placeholder: z.ZodOptional<z.ZodString>;
268
- label: z.ZodString;
269
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
270
- required: z.ZodBoolean;
271
- identifier: z.ZodString;
663
+ label: z.ZodOptional<z.ZodString>;
664
+ description: z.ZodOptional<z.ZodString>;
665
+ required: z.ZodOptional<z.ZodBoolean>;
666
+ id: z.ZodString;
272
667
  type: z.ZodLiteral<"url">;
273
668
  }, z.core.$strip>], "type">>;
274
- identifier: z.ZodString;
669
+ id: z.ZodString;
275
670
  type: z.ZodLiteral<"section">;
276
671
  }, z.core.$strip>>;
277
672
  export type JSONFieldSchemaSchemaType = z.infer<typeof JSONFieldSchemaSchema>;