@dmptool/types 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,42 +1,105 @@
1
1
  import { z } from 'zod';
2
- export declare const AnyTableColumnAnswer: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{} & {
2
+ export declare const AnyTableColumnAnswer: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3
+ meta: z.ZodObject<{
4
+ schemaVersion: z.ZodLiteral<"1.0">;
5
+ }, "strip", z.ZodTypeAny, {
6
+ schemaVersion: "1.0";
7
+ }, {
8
+ schemaVersion: "1.0";
9
+ }>;
10
+ } & {
3
11
  type: z.ZodLiteral<"boolean">;
4
12
  answer: z.ZodBoolean;
5
13
  }, "strip", z.ZodTypeAny, {
6
14
  type: "boolean";
15
+ meta: {
16
+ schemaVersion: "1.0";
17
+ };
7
18
  answer: boolean;
8
19
  }, {
9
20
  type: "boolean";
21
+ meta: {
22
+ schemaVersion: "1.0";
23
+ };
10
24
  answer: boolean;
11
- }>, z.ZodObject<{} & {
25
+ }>, z.ZodObject<{
26
+ meta: z.ZodObject<{
27
+ schemaVersion: z.ZodLiteral<"1.0">;
28
+ }, "strip", z.ZodTypeAny, {
29
+ schemaVersion: "1.0";
30
+ }, {
31
+ schemaVersion: "1.0";
32
+ }>;
33
+ } & {
12
34
  type: z.ZodLiteral<"checkBoxes">;
13
35
  answer: z.ZodArray<z.ZodString, "many">;
14
36
  }, "strip", z.ZodTypeAny, {
15
37
  type: "checkBoxes";
38
+ meta: {
39
+ schemaVersion: "1.0";
40
+ };
16
41
  answer: string[];
17
42
  }, {
18
43
  type: "checkBoxes";
44
+ meta: {
45
+ schemaVersion: "1.0";
46
+ };
19
47
  answer: string[];
20
- }>, z.ZodObject<{} & {
48
+ }>, z.ZodObject<{
49
+ meta: z.ZodObject<{
50
+ schemaVersion: z.ZodLiteral<"1.0">;
51
+ }, "strip", z.ZodTypeAny, {
52
+ schemaVersion: "1.0";
53
+ }, {
54
+ schemaVersion: "1.0";
55
+ }>;
56
+ } & {
21
57
  type: z.ZodLiteral<"currency">;
22
58
  answer: z.ZodNumber;
23
59
  }, "strip", z.ZodTypeAny, {
24
60
  type: "currency";
61
+ meta: {
62
+ schemaVersion: "1.0";
63
+ };
25
64
  answer: number;
26
65
  }, {
27
66
  type: "currency";
67
+ meta: {
68
+ schemaVersion: "1.0";
69
+ };
28
70
  answer: number;
29
71
  }>, z.ZodObject<{
30
72
  answer: z.ZodString;
73
+ meta: z.ZodObject<{
74
+ schemaVersion: z.ZodLiteral<"1.0">;
75
+ }, "strip", z.ZodTypeAny, {
76
+ schemaVersion: "1.0";
77
+ }, {
78
+ schemaVersion: "1.0";
79
+ }>;
31
80
  } & {
32
81
  type: z.ZodLiteral<"datePicker">;
33
82
  }, "strip", z.ZodTypeAny, {
34
83
  type: "datePicker";
84
+ meta: {
85
+ schemaVersion: "1.0";
86
+ };
35
87
  answer: string;
36
88
  }, {
37
89
  type: "datePicker";
90
+ meta: {
91
+ schemaVersion: "1.0";
92
+ };
38
93
  answer: string;
39
- }>, z.ZodObject<{} & {
94
+ }>, z.ZodObject<{
95
+ meta: z.ZodObject<{
96
+ schemaVersion: z.ZodLiteral<"1.0">;
97
+ }, "strip", z.ZodTypeAny, {
98
+ schemaVersion: "1.0";
99
+ }, {
100
+ schemaVersion: "1.0";
101
+ }>;
102
+ } & {
40
103
  type: z.ZodLiteral<"dateRange">;
41
104
  answer: z.ZodObject<{
42
105
  start: z.ZodString;
@@ -50,138 +113,341 @@ export declare const AnyTableColumnAnswer: z.ZodDiscriminatedUnion<"type", [z.Zo
50
113
  }>;
51
114
  }, "strip", z.ZodTypeAny, {
52
115
  type: "dateRange";
116
+ meta: {
117
+ schemaVersion: "1.0";
118
+ };
53
119
  answer: {
54
120
  start: string;
55
121
  end: string;
56
122
  };
57
123
  }, {
58
124
  type: "dateRange";
125
+ meta: {
126
+ schemaVersion: "1.0";
127
+ };
59
128
  answer: {
60
129
  start: string;
61
130
  end: string;
62
131
  };
63
- }>, z.ZodObject<{} & {
132
+ }>, z.ZodObject<{
133
+ meta: z.ZodObject<{
134
+ schemaVersion: z.ZodLiteral<"1.0">;
135
+ }, "strip", z.ZodTypeAny, {
136
+ schemaVersion: "1.0";
137
+ }, {
138
+ schemaVersion: "1.0";
139
+ }>;
140
+ } & {
64
141
  type: z.ZodLiteral<"email">;
65
142
  answer: z.ZodString;
66
143
  }, "strip", z.ZodTypeAny, {
67
144
  type: "email";
145
+ meta: {
146
+ schemaVersion: "1.0";
147
+ };
68
148
  answer: string;
69
149
  }, {
70
150
  type: "email";
151
+ meta: {
152
+ schemaVersion: "1.0";
153
+ };
71
154
  answer: string;
72
- }>, z.ZodObject<{} & {
155
+ }>, z.ZodObject<{
156
+ meta: z.ZodObject<{
157
+ schemaVersion: z.ZodLiteral<"1.0">;
158
+ }, "strip", z.ZodTypeAny, {
159
+ schemaVersion: "1.0";
160
+ }, {
161
+ schemaVersion: "1.0";
162
+ }>;
163
+ } & {
73
164
  type: z.ZodLiteral<"filteredSearch">;
74
165
  answer: z.ZodArray<z.ZodString, "many">;
75
166
  }, "strip", z.ZodTypeAny, {
76
167
  type: "filteredSearch";
168
+ meta: {
169
+ schemaVersion: "1.0";
170
+ };
77
171
  answer: string[];
78
172
  }, {
79
173
  type: "filteredSearch";
174
+ meta: {
175
+ schemaVersion: "1.0";
176
+ };
80
177
  answer: string[];
81
- }>, z.ZodObject<{} & {
178
+ }>, z.ZodObject<{
179
+ meta: z.ZodObject<{
180
+ schemaVersion: z.ZodLiteral<"1.0">;
181
+ }, "strip", z.ZodTypeAny, {
182
+ schemaVersion: "1.0";
183
+ }, {
184
+ schemaVersion: "1.0";
185
+ }>;
186
+ } & {
82
187
  type: z.ZodLiteral<"number">;
83
188
  answer: z.ZodNumber;
84
189
  }, "strip", z.ZodTypeAny, {
85
190
  type: "number";
191
+ meta: {
192
+ schemaVersion: "1.0";
193
+ };
86
194
  answer: number;
87
195
  }, {
88
196
  type: "number";
197
+ meta: {
198
+ schemaVersion: "1.0";
199
+ };
89
200
  answer: number;
90
- }>, z.ZodObject<{} & {
201
+ }>, z.ZodObject<{
202
+ meta: z.ZodObject<{
203
+ schemaVersion: z.ZodLiteral<"1.0">;
204
+ }, "strip", z.ZodTypeAny, {
205
+ schemaVersion: "1.0";
206
+ }, {
207
+ schemaVersion: "1.0";
208
+ }>;
209
+ } & {
91
210
  type: z.ZodLiteral<"radioButtons">;
92
211
  answer: z.ZodString;
93
212
  }, "strip", z.ZodTypeAny, {
94
213
  type: "radioButtons";
214
+ meta: {
215
+ schemaVersion: "1.0";
216
+ };
95
217
  answer: string;
96
218
  }, {
97
219
  type: "radioButtons";
220
+ meta: {
221
+ schemaVersion: "1.0";
222
+ };
98
223
  answer: string;
99
- }>, z.ZodObject<{} & {
224
+ }>, z.ZodObject<{
225
+ meta: z.ZodObject<{
226
+ schemaVersion: z.ZodLiteral<"1.0">;
227
+ }, "strip", z.ZodTypeAny, {
228
+ schemaVersion: "1.0";
229
+ }, {
230
+ schemaVersion: "1.0";
231
+ }>;
232
+ } & {
100
233
  type: z.ZodLiteral<"selectBox">;
101
- answer: z.ZodString;
234
+ answer: z.ZodArray<z.ZodString, "many">;
102
235
  }, "strip", z.ZodTypeAny, {
103
236
  type: "selectBox";
104
- answer: string;
237
+ meta: {
238
+ schemaVersion: "1.0";
239
+ };
240
+ answer: string[];
105
241
  }, {
106
242
  type: "selectBox";
107
- answer: string;
108
- }>, z.ZodObject<{} & {
243
+ meta: {
244
+ schemaVersion: "1.0";
245
+ };
246
+ answer: string[];
247
+ }>, z.ZodObject<{
248
+ meta: z.ZodObject<{
249
+ schemaVersion: z.ZodLiteral<"1.0">;
250
+ }, "strip", z.ZodTypeAny, {
251
+ schemaVersion: "1.0";
252
+ }, {
253
+ schemaVersion: "1.0";
254
+ }>;
255
+ } & {
109
256
  type: z.ZodLiteral<"text">;
110
257
  answer: z.ZodString;
111
258
  }, "strip", z.ZodTypeAny, {
112
259
  type: "text";
260
+ meta: {
261
+ schemaVersion: "1.0";
262
+ };
113
263
  answer: string;
114
264
  }, {
115
265
  type: "text";
266
+ meta: {
267
+ schemaVersion: "1.0";
268
+ };
116
269
  answer: string;
117
- }>, z.ZodObject<{} & {
270
+ }>, z.ZodObject<{
271
+ meta: z.ZodObject<{
272
+ schemaVersion: z.ZodLiteral<"1.0">;
273
+ }, "strip", z.ZodTypeAny, {
274
+ schemaVersion: "1.0";
275
+ }, {
276
+ schemaVersion: "1.0";
277
+ }>;
278
+ } & {
118
279
  type: z.ZodLiteral<"textArea">;
119
280
  answer: z.ZodString;
120
281
  }, "strip", z.ZodTypeAny, {
121
282
  type: "textArea";
283
+ meta: {
284
+ schemaVersion: "1.0";
285
+ };
122
286
  answer: string;
123
287
  }, {
124
288
  type: "textArea";
289
+ meta: {
290
+ schemaVersion: "1.0";
291
+ };
125
292
  answer: string;
126
- }>, z.ZodObject<{} & {
293
+ }>, z.ZodObject<{
294
+ meta: z.ZodObject<{
295
+ schemaVersion: z.ZodLiteral<"1.0">;
296
+ }, "strip", z.ZodTypeAny, {
297
+ schemaVersion: "1.0";
298
+ }, {
299
+ schemaVersion: "1.0";
300
+ }>;
301
+ } & {
127
302
  type: z.ZodLiteral<"typeaheadSearch">;
128
303
  answer: z.ZodString;
129
304
  }, "strip", z.ZodTypeAny, {
130
305
  type: "typeaheadSearch";
306
+ meta: {
307
+ schemaVersion: "1.0";
308
+ };
131
309
  answer: string;
132
310
  }, {
133
311
  type: "typeaheadSearch";
312
+ meta: {
313
+ schemaVersion: "1.0";
314
+ };
134
315
  answer: string;
135
- }>, z.ZodObject<{} & {
316
+ }>, z.ZodObject<{
317
+ meta: z.ZodObject<{
318
+ schemaVersion: z.ZodLiteral<"1.0">;
319
+ }, "strip", z.ZodTypeAny, {
320
+ schemaVersion: "1.0";
321
+ }, {
322
+ schemaVersion: "1.0";
323
+ }>;
324
+ } & {
136
325
  type: z.ZodLiteral<"url">;
137
326
  answer: z.ZodString;
138
327
  }, "strip", z.ZodTypeAny, {
139
328
  type: "url";
329
+ meta: {
330
+ schemaVersion: "1.0";
331
+ };
140
332
  answer: string;
141
333
  }, {
142
334
  type: "url";
335
+ meta: {
336
+ schemaVersion: "1.0";
337
+ };
143
338
  answer: string;
144
339
  }>]>;
145
- export declare const TableAnswer: z.ZodObject<{} & {
340
+ export declare const TableAnswer: z.ZodObject<{
341
+ meta: z.ZodObject<{
342
+ schemaVersion: z.ZodLiteral<"1.0">;
343
+ }, "strip", z.ZodTypeAny, {
344
+ schemaVersion: "1.0";
345
+ }, {
346
+ schemaVersion: "1.0";
347
+ }>;
348
+ } & {
146
349
  type: z.ZodLiteral<"table">;
147
- answer: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{} & {
350
+ answer: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
351
+ meta: z.ZodObject<{
352
+ schemaVersion: z.ZodLiteral<"1.0">;
353
+ }, "strip", z.ZodTypeAny, {
354
+ schemaVersion: "1.0";
355
+ }, {
356
+ schemaVersion: "1.0";
357
+ }>;
358
+ } & {
148
359
  type: z.ZodLiteral<"boolean">;
149
360
  answer: z.ZodBoolean;
150
361
  }, "strip", z.ZodTypeAny, {
151
362
  type: "boolean";
363
+ meta: {
364
+ schemaVersion: "1.0";
365
+ };
152
366
  answer: boolean;
153
367
  }, {
154
368
  type: "boolean";
369
+ meta: {
370
+ schemaVersion: "1.0";
371
+ };
155
372
  answer: boolean;
156
- }>, z.ZodObject<{} & {
373
+ }>, z.ZodObject<{
374
+ meta: z.ZodObject<{
375
+ schemaVersion: z.ZodLiteral<"1.0">;
376
+ }, "strip", z.ZodTypeAny, {
377
+ schemaVersion: "1.0";
378
+ }, {
379
+ schemaVersion: "1.0";
380
+ }>;
381
+ } & {
157
382
  type: z.ZodLiteral<"checkBoxes">;
158
383
  answer: z.ZodArray<z.ZodString, "many">;
159
384
  }, "strip", z.ZodTypeAny, {
160
385
  type: "checkBoxes";
386
+ meta: {
387
+ schemaVersion: "1.0";
388
+ };
161
389
  answer: string[];
162
390
  }, {
163
391
  type: "checkBoxes";
392
+ meta: {
393
+ schemaVersion: "1.0";
394
+ };
164
395
  answer: string[];
165
- }>, z.ZodObject<{} & {
396
+ }>, z.ZodObject<{
397
+ meta: z.ZodObject<{
398
+ schemaVersion: z.ZodLiteral<"1.0">;
399
+ }, "strip", z.ZodTypeAny, {
400
+ schemaVersion: "1.0";
401
+ }, {
402
+ schemaVersion: "1.0";
403
+ }>;
404
+ } & {
166
405
  type: z.ZodLiteral<"currency">;
167
406
  answer: z.ZodNumber;
168
407
  }, "strip", z.ZodTypeAny, {
169
408
  type: "currency";
409
+ meta: {
410
+ schemaVersion: "1.0";
411
+ };
170
412
  answer: number;
171
413
  }, {
172
414
  type: "currency";
415
+ meta: {
416
+ schemaVersion: "1.0";
417
+ };
173
418
  answer: number;
174
419
  }>, z.ZodObject<{
175
420
  answer: z.ZodString;
421
+ meta: z.ZodObject<{
422
+ schemaVersion: z.ZodLiteral<"1.0">;
423
+ }, "strip", z.ZodTypeAny, {
424
+ schemaVersion: "1.0";
425
+ }, {
426
+ schemaVersion: "1.0";
427
+ }>;
176
428
  } & {
177
429
  type: z.ZodLiteral<"datePicker">;
178
430
  }, "strip", z.ZodTypeAny, {
179
431
  type: "datePicker";
432
+ meta: {
433
+ schemaVersion: "1.0";
434
+ };
180
435
  answer: string;
181
436
  }, {
182
437
  type: "datePicker";
438
+ meta: {
439
+ schemaVersion: "1.0";
440
+ };
183
441
  answer: string;
184
- }>, z.ZodObject<{} & {
442
+ }>, z.ZodObject<{
443
+ meta: z.ZodObject<{
444
+ schemaVersion: z.ZodLiteral<"1.0">;
445
+ }, "strip", z.ZodTypeAny, {
446
+ schemaVersion: "1.0";
447
+ }, {
448
+ schemaVersion: "1.0";
449
+ }>;
450
+ } & {
185
451
  type: z.ZodLiteral<"dateRange">;
186
452
  answer: z.ZodObject<{
187
453
  start: z.ZodString;
@@ -195,192 +461,414 @@ export declare const TableAnswer: z.ZodObject<{} & {
195
461
  }>;
196
462
  }, "strip", z.ZodTypeAny, {
197
463
  type: "dateRange";
464
+ meta: {
465
+ schemaVersion: "1.0";
466
+ };
198
467
  answer: {
199
468
  start: string;
200
469
  end: string;
201
470
  };
202
471
  }, {
203
472
  type: "dateRange";
473
+ meta: {
474
+ schemaVersion: "1.0";
475
+ };
204
476
  answer: {
205
477
  start: string;
206
478
  end: string;
207
479
  };
208
- }>, z.ZodObject<{} & {
480
+ }>, z.ZodObject<{
481
+ meta: z.ZodObject<{
482
+ schemaVersion: z.ZodLiteral<"1.0">;
483
+ }, "strip", z.ZodTypeAny, {
484
+ schemaVersion: "1.0";
485
+ }, {
486
+ schemaVersion: "1.0";
487
+ }>;
488
+ } & {
209
489
  type: z.ZodLiteral<"email">;
210
490
  answer: z.ZodString;
211
491
  }, "strip", z.ZodTypeAny, {
212
492
  type: "email";
493
+ meta: {
494
+ schemaVersion: "1.0";
495
+ };
213
496
  answer: string;
214
497
  }, {
215
498
  type: "email";
499
+ meta: {
500
+ schemaVersion: "1.0";
501
+ };
216
502
  answer: string;
217
- }>, z.ZodObject<{} & {
503
+ }>, z.ZodObject<{
504
+ meta: z.ZodObject<{
505
+ schemaVersion: z.ZodLiteral<"1.0">;
506
+ }, "strip", z.ZodTypeAny, {
507
+ schemaVersion: "1.0";
508
+ }, {
509
+ schemaVersion: "1.0";
510
+ }>;
511
+ } & {
218
512
  type: z.ZodLiteral<"filteredSearch">;
219
513
  answer: z.ZodArray<z.ZodString, "many">;
220
514
  }, "strip", z.ZodTypeAny, {
221
515
  type: "filteredSearch";
516
+ meta: {
517
+ schemaVersion: "1.0";
518
+ };
222
519
  answer: string[];
223
520
  }, {
224
521
  type: "filteredSearch";
522
+ meta: {
523
+ schemaVersion: "1.0";
524
+ };
225
525
  answer: string[];
226
- }>, z.ZodObject<{} & {
526
+ }>, z.ZodObject<{
527
+ meta: z.ZodObject<{
528
+ schemaVersion: z.ZodLiteral<"1.0">;
529
+ }, "strip", z.ZodTypeAny, {
530
+ schemaVersion: "1.0";
531
+ }, {
532
+ schemaVersion: "1.0";
533
+ }>;
534
+ } & {
227
535
  type: z.ZodLiteral<"number">;
228
536
  answer: z.ZodNumber;
229
537
  }, "strip", z.ZodTypeAny, {
230
538
  type: "number";
539
+ meta: {
540
+ schemaVersion: "1.0";
541
+ };
231
542
  answer: number;
232
543
  }, {
233
544
  type: "number";
545
+ meta: {
546
+ schemaVersion: "1.0";
547
+ };
234
548
  answer: number;
235
- }>, z.ZodObject<{} & {
549
+ }>, z.ZodObject<{
550
+ meta: z.ZodObject<{
551
+ schemaVersion: z.ZodLiteral<"1.0">;
552
+ }, "strip", z.ZodTypeAny, {
553
+ schemaVersion: "1.0";
554
+ }, {
555
+ schemaVersion: "1.0";
556
+ }>;
557
+ } & {
236
558
  type: z.ZodLiteral<"radioButtons">;
237
559
  answer: z.ZodString;
238
560
  }, "strip", z.ZodTypeAny, {
239
561
  type: "radioButtons";
562
+ meta: {
563
+ schemaVersion: "1.0";
564
+ };
240
565
  answer: string;
241
566
  }, {
242
567
  type: "radioButtons";
568
+ meta: {
569
+ schemaVersion: "1.0";
570
+ };
243
571
  answer: string;
244
- }>, z.ZodObject<{} & {
572
+ }>, z.ZodObject<{
573
+ meta: z.ZodObject<{
574
+ schemaVersion: z.ZodLiteral<"1.0">;
575
+ }, "strip", z.ZodTypeAny, {
576
+ schemaVersion: "1.0";
577
+ }, {
578
+ schemaVersion: "1.0";
579
+ }>;
580
+ } & {
245
581
  type: z.ZodLiteral<"selectBox">;
246
- answer: z.ZodString;
582
+ answer: z.ZodArray<z.ZodString, "many">;
247
583
  }, "strip", z.ZodTypeAny, {
248
584
  type: "selectBox";
249
- answer: string;
585
+ meta: {
586
+ schemaVersion: "1.0";
587
+ };
588
+ answer: string[];
250
589
  }, {
251
590
  type: "selectBox";
252
- answer: string;
253
- }>, z.ZodObject<{} & {
591
+ meta: {
592
+ schemaVersion: "1.0";
593
+ };
594
+ answer: string[];
595
+ }>, z.ZodObject<{
596
+ meta: z.ZodObject<{
597
+ schemaVersion: z.ZodLiteral<"1.0">;
598
+ }, "strip", z.ZodTypeAny, {
599
+ schemaVersion: "1.0";
600
+ }, {
601
+ schemaVersion: "1.0";
602
+ }>;
603
+ } & {
254
604
  type: z.ZodLiteral<"text">;
255
605
  answer: z.ZodString;
256
606
  }, "strip", z.ZodTypeAny, {
257
607
  type: "text";
608
+ meta: {
609
+ schemaVersion: "1.0";
610
+ };
258
611
  answer: string;
259
612
  }, {
260
613
  type: "text";
614
+ meta: {
615
+ schemaVersion: "1.0";
616
+ };
261
617
  answer: string;
262
- }>, z.ZodObject<{} & {
618
+ }>, z.ZodObject<{
619
+ meta: z.ZodObject<{
620
+ schemaVersion: z.ZodLiteral<"1.0">;
621
+ }, "strip", z.ZodTypeAny, {
622
+ schemaVersion: "1.0";
623
+ }, {
624
+ schemaVersion: "1.0";
625
+ }>;
626
+ } & {
263
627
  type: z.ZodLiteral<"textArea">;
264
628
  answer: z.ZodString;
265
629
  }, "strip", z.ZodTypeAny, {
266
630
  type: "textArea";
631
+ meta: {
632
+ schemaVersion: "1.0";
633
+ };
267
634
  answer: string;
268
635
  }, {
269
636
  type: "textArea";
637
+ meta: {
638
+ schemaVersion: "1.0";
639
+ };
270
640
  answer: string;
271
- }>, z.ZodObject<{} & {
641
+ }>, z.ZodObject<{
642
+ meta: z.ZodObject<{
643
+ schemaVersion: z.ZodLiteral<"1.0">;
644
+ }, "strip", z.ZodTypeAny, {
645
+ schemaVersion: "1.0";
646
+ }, {
647
+ schemaVersion: "1.0";
648
+ }>;
649
+ } & {
272
650
  type: z.ZodLiteral<"typeaheadSearch">;
273
651
  answer: z.ZodString;
274
652
  }, "strip", z.ZodTypeAny, {
275
653
  type: "typeaheadSearch";
654
+ meta: {
655
+ schemaVersion: "1.0";
656
+ };
276
657
  answer: string;
277
658
  }, {
278
659
  type: "typeaheadSearch";
660
+ meta: {
661
+ schemaVersion: "1.0";
662
+ };
279
663
  answer: string;
280
- }>, z.ZodObject<{} & {
664
+ }>, z.ZodObject<{
665
+ meta: z.ZodObject<{
666
+ schemaVersion: z.ZodLiteral<"1.0">;
667
+ }, "strip", z.ZodTypeAny, {
668
+ schemaVersion: "1.0";
669
+ }, {
670
+ schemaVersion: "1.0";
671
+ }>;
672
+ } & {
281
673
  type: z.ZodLiteral<"url">;
282
674
  answer: z.ZodString;
283
675
  }, "strip", z.ZodTypeAny, {
284
676
  type: "url";
677
+ meta: {
678
+ schemaVersion: "1.0";
679
+ };
285
680
  answer: string;
286
681
  }, {
287
682
  type: "url";
683
+ meta: {
684
+ schemaVersion: "1.0";
685
+ };
288
686
  answer: string;
289
687
  }>]>, "many">;
290
688
  }, "strip", z.ZodTypeAny, {
291
689
  type: "table";
690
+ meta: {
691
+ schemaVersion: "1.0";
692
+ };
292
693
  answer: ({
293
694
  type: "datePicker";
695
+ meta: {
696
+ schemaVersion: "1.0";
697
+ };
294
698
  answer: string;
295
699
  } | {
296
700
  type: "dateRange";
701
+ meta: {
702
+ schemaVersion: "1.0";
703
+ };
297
704
  answer: {
298
705
  start: string;
299
706
  end: string;
300
707
  };
301
708
  } | {
302
709
  type: "filteredSearch";
710
+ meta: {
711
+ schemaVersion: "1.0";
712
+ };
303
713
  answer: string[];
304
714
  } | {
305
715
  type: "typeaheadSearch";
716
+ meta: {
717
+ schemaVersion: "1.0";
718
+ };
306
719
  answer: string;
307
720
  } | {
308
721
  type: "checkBoxes";
722
+ meta: {
723
+ schemaVersion: "1.0";
724
+ };
309
725
  answer: string[];
310
726
  } | {
311
727
  type: "radioButtons";
728
+ meta: {
729
+ schemaVersion: "1.0";
730
+ };
312
731
  answer: string;
313
732
  } | {
314
733
  type: "selectBox";
315
- answer: string;
734
+ meta: {
735
+ schemaVersion: "1.0";
736
+ };
737
+ answer: string[];
316
738
  } | {
317
739
  type: "boolean";
740
+ meta: {
741
+ schemaVersion: "1.0";
742
+ };
318
743
  answer: boolean;
319
744
  } | {
320
745
  type: "currency";
746
+ meta: {
747
+ schemaVersion: "1.0";
748
+ };
321
749
  answer: number;
322
750
  } | {
323
751
  type: "email";
752
+ meta: {
753
+ schemaVersion: "1.0";
754
+ };
324
755
  answer: string;
325
756
  } | {
326
757
  type: "number";
758
+ meta: {
759
+ schemaVersion: "1.0";
760
+ };
327
761
  answer: number;
328
762
  } | {
329
763
  type: "text";
764
+ meta: {
765
+ schemaVersion: "1.0";
766
+ };
330
767
  answer: string;
331
768
  } | {
332
769
  type: "textArea";
770
+ meta: {
771
+ schemaVersion: "1.0";
772
+ };
333
773
  answer: string;
334
774
  } | {
335
775
  type: "url";
776
+ meta: {
777
+ schemaVersion: "1.0";
778
+ };
336
779
  answer: string;
337
780
  })[];
338
781
  }, {
339
782
  type: "table";
783
+ meta: {
784
+ schemaVersion: "1.0";
785
+ };
340
786
  answer: ({
341
787
  type: "datePicker";
788
+ meta: {
789
+ schemaVersion: "1.0";
790
+ };
342
791
  answer: string;
343
792
  } | {
344
793
  type: "dateRange";
794
+ meta: {
795
+ schemaVersion: "1.0";
796
+ };
345
797
  answer: {
346
798
  start: string;
347
799
  end: string;
348
800
  };
349
801
  } | {
350
802
  type: "filteredSearch";
803
+ meta: {
804
+ schemaVersion: "1.0";
805
+ };
351
806
  answer: string[];
352
807
  } | {
353
808
  type: "typeaheadSearch";
809
+ meta: {
810
+ schemaVersion: "1.0";
811
+ };
354
812
  answer: string;
355
813
  } | {
356
814
  type: "checkBoxes";
815
+ meta: {
816
+ schemaVersion: "1.0";
817
+ };
357
818
  answer: string[];
358
819
  } | {
359
820
  type: "radioButtons";
821
+ meta: {
822
+ schemaVersion: "1.0";
823
+ };
360
824
  answer: string;
361
825
  } | {
362
826
  type: "selectBox";
363
- answer: string;
827
+ meta: {
828
+ schemaVersion: "1.0";
829
+ };
830
+ answer: string[];
364
831
  } | {
365
832
  type: "boolean";
833
+ meta: {
834
+ schemaVersion: "1.0";
835
+ };
366
836
  answer: boolean;
367
837
  } | {
368
838
  type: "currency";
839
+ meta: {
840
+ schemaVersion: "1.0";
841
+ };
369
842
  answer: number;
370
843
  } | {
371
844
  type: "email";
845
+ meta: {
846
+ schemaVersion: "1.0";
847
+ };
372
848
  answer: string;
373
849
  } | {
374
850
  type: "number";
851
+ meta: {
852
+ schemaVersion: "1.0";
853
+ };
375
854
  answer: number;
376
855
  } | {
377
856
  type: "text";
857
+ meta: {
858
+ schemaVersion: "1.0";
859
+ };
378
860
  answer: string;
379
861
  } | {
380
862
  type: "textArea";
863
+ meta: {
864
+ schemaVersion: "1.0";
865
+ };
381
866
  answer: string;
382
867
  } | {
383
868
  type: "url";
869
+ meta: {
870
+ schemaVersion: "1.0";
871
+ };
384
872
  answer: string;
385
873
  })[];
386
874
  }>;