@dmptool/types 1.0.4 → 1.0.6
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.
- package/README.md +25 -3
- package/dist/questions/dateQuestions.d.ts +6 -6
- package/dist/questions/dateQuestions.js +1 -1
- package/dist/questions/graphQLQuestions.d.ts +36 -36
- package/dist/questions/graphQLQuestions.js +1 -1
- package/dist/questions/index.d.ts +300 -248
- package/dist/questions/optionBasedQuestions.d.ts +6 -6
- package/dist/questions/optionBasedQuestions.js +1 -1
- package/dist/questions/primitiveQuestions.d.ts +64 -42
- package/dist/questions/primitiveQuestions.js +9 -8
- package/dist/questions/tableQuestions.d.ts +300 -248
- package/dist/questions/tableQuestions.js +1 -1
- package/dist/schemas/anyQuestion.schema.json +29 -22
- package/dist/schemas/anyTableColumnQuestion.schema.json +28 -20
- package/dist/schemas/booleanQuestion.schema.json +1 -2
- package/dist/schemas/currencyQuestion.schema.json +11 -2
- package/dist/schemas/datePickerQuestion.schema.json +1 -2
- package/dist/schemas/emailQuestion.schema.json +1 -2
- package/dist/schemas/filteredSearchQuestion.schema.json +1 -2
- package/dist/schemas/numberQuestion.schema.json +1 -2
- package/dist/schemas/selectBoxQuestion.schema.json +1 -2
- package/dist/schemas/tableQuestion.schema.json +29 -22
- package/dist/schemas/textAreaQuestion.schema.json +11 -2
- package/dist/schemas/textQuestion.schema.json +1 -2
- package/dist/schemas/typeaheadSearchQuestion.schema.json +1 -2
- package/dist/schemas/urlQuestion.schema.json +1 -2
- package/package.json +1 -1
|
@@ -19,31 +19,31 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
19
19
|
}>;
|
|
20
20
|
} & {
|
|
21
21
|
type: z.ZodLiteral<"boolean">;
|
|
22
|
-
attributes: z.ZodObject<{
|
|
22
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
23
23
|
checked: z.ZodOptional<z.ZodBoolean>;
|
|
24
24
|
}, "strip", z.ZodTypeAny, {
|
|
25
25
|
checked?: boolean | undefined;
|
|
26
26
|
}, {
|
|
27
27
|
checked?: boolean | undefined;
|
|
28
|
-
}
|
|
28
|
+
}>>;
|
|
29
29
|
}, "strip", z.ZodTypeAny, {
|
|
30
30
|
type: "boolean";
|
|
31
31
|
meta: {
|
|
32
32
|
schemaVersion: "1.0";
|
|
33
33
|
labelTranslationKey?: string | undefined;
|
|
34
34
|
};
|
|
35
|
-
attributes
|
|
35
|
+
attributes?: {
|
|
36
36
|
checked?: boolean | undefined;
|
|
37
|
-
};
|
|
37
|
+
} | undefined;
|
|
38
38
|
}, {
|
|
39
39
|
type: "boolean";
|
|
40
40
|
meta: {
|
|
41
41
|
schemaVersion: "1.0";
|
|
42
42
|
labelTranslationKey?: string | undefined;
|
|
43
43
|
};
|
|
44
|
-
attributes
|
|
44
|
+
attributes?: {
|
|
45
45
|
checked?: boolean | undefined;
|
|
46
|
-
};
|
|
46
|
+
} | undefined;
|
|
47
47
|
}>, z.ZodObject<{
|
|
48
48
|
meta: z.ZodObject<{
|
|
49
49
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
@@ -117,7 +117,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
117
117
|
labelTranslationKey?: string | undefined;
|
|
118
118
|
};
|
|
119
119
|
}>, z.ZodObject<{
|
|
120
|
-
attributes: z.ZodObject<{
|
|
120
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
121
121
|
max: z.ZodOptional<z.ZodNumber>;
|
|
122
122
|
min: z.ZodOptional<z.ZodNumber>;
|
|
123
123
|
step: z.ZodOptional<z.ZodNumber>;
|
|
@@ -129,36 +129,47 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
129
129
|
max?: number | undefined;
|
|
130
130
|
min?: number | undefined;
|
|
131
131
|
step?: number | undefined;
|
|
132
|
-
}
|
|
132
|
+
}>>;
|
|
133
133
|
} & {
|
|
134
134
|
type: z.ZodLiteral<"currency">;
|
|
135
135
|
meta: z.ZodObject<{
|
|
136
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
137
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
138
|
+
} & {
|
|
136
139
|
denomination: z.ZodOptional<z.ZodString>;
|
|
137
140
|
}, "strip", z.ZodTypeAny, {
|
|
141
|
+
schemaVersion: "1.0";
|
|
142
|
+
labelTranslationKey?: string | undefined;
|
|
138
143
|
denomination?: string | undefined;
|
|
139
144
|
}, {
|
|
145
|
+
schemaVersion: "1.0";
|
|
146
|
+
labelTranslationKey?: string | undefined;
|
|
140
147
|
denomination?: string | undefined;
|
|
141
148
|
}>;
|
|
142
149
|
}, "strip", z.ZodTypeAny, {
|
|
143
150
|
type: "currency";
|
|
144
151
|
meta: {
|
|
152
|
+
schemaVersion: "1.0";
|
|
153
|
+
labelTranslationKey?: string | undefined;
|
|
145
154
|
denomination?: string | undefined;
|
|
146
155
|
};
|
|
147
|
-
attributes
|
|
156
|
+
attributes?: {
|
|
148
157
|
max?: number | undefined;
|
|
149
158
|
min?: number | undefined;
|
|
150
159
|
step?: number | undefined;
|
|
151
|
-
};
|
|
160
|
+
} | undefined;
|
|
152
161
|
}, {
|
|
153
162
|
type: "currency";
|
|
154
163
|
meta: {
|
|
164
|
+
schemaVersion: "1.0";
|
|
165
|
+
labelTranslationKey?: string | undefined;
|
|
155
166
|
denomination?: string | undefined;
|
|
156
167
|
};
|
|
157
|
-
attributes
|
|
168
|
+
attributes?: {
|
|
158
169
|
max?: number | undefined;
|
|
159
170
|
min?: number | undefined;
|
|
160
171
|
step?: number | undefined;
|
|
161
|
-
};
|
|
172
|
+
} | undefined;
|
|
162
173
|
}>, z.ZodObject<{
|
|
163
174
|
meta: z.ZodObject<{
|
|
164
175
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
@@ -172,7 +183,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
172
183
|
}>;
|
|
173
184
|
} & {
|
|
174
185
|
type: z.ZodLiteral<"datePicker">;
|
|
175
|
-
attributes: z.ZodObject<{
|
|
186
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
176
187
|
max: z.ZodOptional<z.ZodString>;
|
|
177
188
|
min: z.ZodOptional<z.ZodString>;
|
|
178
189
|
step: z.ZodOptional<z.ZodNumber>;
|
|
@@ -184,29 +195,29 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
184
195
|
max?: string | undefined;
|
|
185
196
|
min?: string | undefined;
|
|
186
197
|
step?: number | undefined;
|
|
187
|
-
}
|
|
198
|
+
}>>;
|
|
188
199
|
}, "strip", z.ZodTypeAny, {
|
|
189
200
|
type: "datePicker";
|
|
190
201
|
meta: {
|
|
191
202
|
schemaVersion: "1.0";
|
|
192
203
|
labelTranslationKey?: string | undefined;
|
|
193
204
|
};
|
|
194
|
-
attributes
|
|
205
|
+
attributes?: {
|
|
195
206
|
max?: string | undefined;
|
|
196
207
|
min?: string | undefined;
|
|
197
208
|
step?: number | undefined;
|
|
198
|
-
};
|
|
209
|
+
} | undefined;
|
|
199
210
|
}, {
|
|
200
211
|
type: "datePicker";
|
|
201
212
|
meta: {
|
|
202
213
|
schemaVersion: "1.0";
|
|
203
214
|
labelTranslationKey?: string | undefined;
|
|
204
215
|
};
|
|
205
|
-
attributes
|
|
216
|
+
attributes?: {
|
|
206
217
|
max?: string | undefined;
|
|
207
218
|
min?: string | undefined;
|
|
208
219
|
step?: number | undefined;
|
|
209
|
-
};
|
|
220
|
+
} | undefined;
|
|
210
221
|
}>, z.ZodObject<{
|
|
211
222
|
meta: z.ZodObject<{
|
|
212
223
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
@@ -411,7 +422,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
411
422
|
}>;
|
|
412
423
|
} & {
|
|
413
424
|
type: z.ZodLiteral<"email">;
|
|
414
|
-
attributes: z.ZodObject<{
|
|
425
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
415
426
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
416
427
|
minLength: z.ZodOptional<z.ZodNumber>;
|
|
417
428
|
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -426,31 +437,31 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
426
437
|
minLength?: number | undefined;
|
|
427
438
|
multiple?: boolean | undefined;
|
|
428
439
|
pattern?: string | undefined;
|
|
429
|
-
}
|
|
440
|
+
}>>;
|
|
430
441
|
}, "strip", z.ZodTypeAny, {
|
|
431
442
|
type: "email";
|
|
432
443
|
meta: {
|
|
433
444
|
schemaVersion: "1.0";
|
|
434
445
|
labelTranslationKey?: string | undefined;
|
|
435
446
|
};
|
|
436
|
-
attributes
|
|
447
|
+
attributes?: {
|
|
437
448
|
maxLength?: number | undefined;
|
|
438
449
|
minLength?: number | undefined;
|
|
439
450
|
multiple?: boolean | undefined;
|
|
440
451
|
pattern?: string | undefined;
|
|
441
|
-
};
|
|
452
|
+
} | undefined;
|
|
442
453
|
}, {
|
|
443
454
|
type: "email";
|
|
444
455
|
meta: {
|
|
445
456
|
schemaVersion: "1.0";
|
|
446
457
|
labelTranslationKey?: string | undefined;
|
|
447
458
|
};
|
|
448
|
-
attributes
|
|
459
|
+
attributes?: {
|
|
449
460
|
maxLength?: number | undefined;
|
|
450
461
|
minLength?: number | undefined;
|
|
451
462
|
multiple?: boolean | undefined;
|
|
452
463
|
pattern?: string | undefined;
|
|
453
|
-
};
|
|
464
|
+
} | undefined;
|
|
454
465
|
}>, z.ZodObject<{
|
|
455
466
|
meta: z.ZodObject<{
|
|
456
467
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
@@ -481,7 +492,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
481
492
|
localQueryId: z.ZodOptional<z.ZodString>;
|
|
482
493
|
query: z.ZodOptional<z.ZodString>;
|
|
483
494
|
responseField: z.ZodString;
|
|
484
|
-
variables: z.ZodArray<z.ZodObject<{
|
|
495
|
+
variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
485
496
|
minLength: z.ZodOptional<z.ZodNumber>;
|
|
486
497
|
label: z.ZodOptional<z.ZodString>;
|
|
487
498
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
@@ -502,7 +513,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
502
513
|
minLength?: number | undefined;
|
|
503
514
|
label?: string | undefined;
|
|
504
515
|
defaultValue?: string | undefined;
|
|
505
|
-
}>, "many"
|
|
516
|
+
}>, "many">>;
|
|
506
517
|
}, "strip", z.ZodTypeAny, {
|
|
507
518
|
displayFields: {
|
|
508
519
|
label: string;
|
|
@@ -510,16 +521,16 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
510
521
|
labelTranslationKey?: string | undefined;
|
|
511
522
|
}[];
|
|
512
523
|
responseField: string;
|
|
513
|
-
|
|
524
|
+
localQueryId?: string | undefined;
|
|
525
|
+
query?: string | undefined;
|
|
526
|
+
variables?: {
|
|
514
527
|
type: string;
|
|
515
528
|
name: string;
|
|
516
529
|
labelTranslationKey?: string | undefined;
|
|
517
530
|
minLength?: number | undefined;
|
|
518
531
|
label?: string | undefined;
|
|
519
532
|
defaultValue?: string | undefined;
|
|
520
|
-
}[];
|
|
521
|
-
localQueryId?: string | undefined;
|
|
522
|
-
query?: string | undefined;
|
|
533
|
+
}[] | undefined;
|
|
523
534
|
}, {
|
|
524
535
|
displayFields: {
|
|
525
536
|
label: string;
|
|
@@ -527,16 +538,16 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
527
538
|
labelTranslationKey?: string | undefined;
|
|
528
539
|
}[];
|
|
529
540
|
responseField: string;
|
|
530
|
-
|
|
541
|
+
localQueryId?: string | undefined;
|
|
542
|
+
query?: string | undefined;
|
|
543
|
+
variables?: {
|
|
531
544
|
type: string;
|
|
532
545
|
name: string;
|
|
533
546
|
labelTranslationKey?: string | undefined;
|
|
534
547
|
minLength?: number | undefined;
|
|
535
548
|
label?: string | undefined;
|
|
536
549
|
defaultValue?: string | undefined;
|
|
537
|
-
}[];
|
|
538
|
-
localQueryId?: string | undefined;
|
|
539
|
-
query?: string | undefined;
|
|
550
|
+
}[] | undefined;
|
|
540
551
|
}>;
|
|
541
552
|
attributes: z.ZodObject<{
|
|
542
553
|
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -561,16 +572,16 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
561
572
|
labelTranslationKey?: string | undefined;
|
|
562
573
|
}[];
|
|
563
574
|
responseField: string;
|
|
564
|
-
|
|
575
|
+
localQueryId?: string | undefined;
|
|
576
|
+
query?: string | undefined;
|
|
577
|
+
variables?: {
|
|
565
578
|
type: string;
|
|
566
579
|
name: string;
|
|
567
580
|
labelTranslationKey?: string | undefined;
|
|
568
581
|
minLength?: number | undefined;
|
|
569
582
|
label?: string | undefined;
|
|
570
583
|
defaultValue?: string | undefined;
|
|
571
|
-
}[];
|
|
572
|
-
localQueryId?: string | undefined;
|
|
573
|
-
query?: string | undefined;
|
|
584
|
+
}[] | undefined;
|
|
574
585
|
};
|
|
575
586
|
}, {
|
|
576
587
|
type: "filteredSearch";
|
|
@@ -588,16 +599,16 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
588
599
|
labelTranslationKey?: string | undefined;
|
|
589
600
|
}[];
|
|
590
601
|
responseField: string;
|
|
591
|
-
|
|
602
|
+
localQueryId?: string | undefined;
|
|
603
|
+
query?: string | undefined;
|
|
604
|
+
variables?: {
|
|
592
605
|
type: string;
|
|
593
606
|
name: string;
|
|
594
607
|
labelTranslationKey?: string | undefined;
|
|
595
608
|
minLength?: number | undefined;
|
|
596
609
|
label?: string | undefined;
|
|
597
610
|
defaultValue?: string | undefined;
|
|
598
|
-
}[];
|
|
599
|
-
localQueryId?: string | undefined;
|
|
600
|
-
query?: string | undefined;
|
|
611
|
+
}[] | undefined;
|
|
601
612
|
};
|
|
602
613
|
}>, z.ZodObject<{
|
|
603
614
|
meta: z.ZodObject<{
|
|
@@ -612,7 +623,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
612
623
|
}>;
|
|
613
624
|
} & {
|
|
614
625
|
type: z.ZodLiteral<"number">;
|
|
615
|
-
attributes: z.ZodObject<{
|
|
626
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
616
627
|
max: z.ZodOptional<z.ZodNumber>;
|
|
617
628
|
min: z.ZodOptional<z.ZodNumber>;
|
|
618
629
|
step: z.ZodOptional<z.ZodNumber>;
|
|
@@ -624,29 +635,29 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
624
635
|
max?: number | undefined;
|
|
625
636
|
min?: number | undefined;
|
|
626
637
|
step?: number | undefined;
|
|
627
|
-
}
|
|
638
|
+
}>>;
|
|
628
639
|
}, "strip", z.ZodTypeAny, {
|
|
629
640
|
type: "number";
|
|
630
641
|
meta: {
|
|
631
642
|
schemaVersion: "1.0";
|
|
632
643
|
labelTranslationKey?: string | undefined;
|
|
633
644
|
};
|
|
634
|
-
attributes
|
|
645
|
+
attributes?: {
|
|
635
646
|
max?: number | undefined;
|
|
636
647
|
min?: number | undefined;
|
|
637
648
|
step?: number | undefined;
|
|
638
|
-
};
|
|
649
|
+
} | undefined;
|
|
639
650
|
}, {
|
|
640
651
|
type: "number";
|
|
641
652
|
meta: {
|
|
642
653
|
schemaVersion: "1.0";
|
|
643
654
|
labelTranslationKey?: string | undefined;
|
|
644
655
|
};
|
|
645
|
-
attributes
|
|
656
|
+
attributes?: {
|
|
646
657
|
max?: number | undefined;
|
|
647
658
|
min?: number | undefined;
|
|
648
659
|
step?: number | undefined;
|
|
649
|
-
};
|
|
660
|
+
} | undefined;
|
|
650
661
|
}>, z.ZodObject<{
|
|
651
662
|
meta: z.ZodObject<{
|
|
652
663
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
@@ -763,13 +774,13 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
763
774
|
selected?: boolean | undefined;
|
|
764
775
|
};
|
|
765
776
|
}>, "many">;
|
|
766
|
-
attributes: z.ZodObject<{
|
|
777
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
767
778
|
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
768
779
|
}, "strip", z.ZodTypeAny, {
|
|
769
780
|
multiple?: boolean | undefined;
|
|
770
781
|
}, {
|
|
771
782
|
multiple?: boolean | undefined;
|
|
772
|
-
}
|
|
783
|
+
}>>;
|
|
773
784
|
}, "strip", z.ZodTypeAny, {
|
|
774
785
|
type: "selectBox";
|
|
775
786
|
options: {
|
|
@@ -784,9 +795,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
784
795
|
schemaVersion: "1.0";
|
|
785
796
|
labelTranslationKey?: string | undefined;
|
|
786
797
|
};
|
|
787
|
-
attributes
|
|
798
|
+
attributes?: {
|
|
788
799
|
multiple?: boolean | undefined;
|
|
789
|
-
};
|
|
800
|
+
} | undefined;
|
|
790
801
|
}, {
|
|
791
802
|
type: "selectBox";
|
|
792
803
|
options: {
|
|
@@ -801,9 +812,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
801
812
|
schemaVersion: "1.0";
|
|
802
813
|
labelTranslationKey?: string | undefined;
|
|
803
814
|
};
|
|
804
|
-
attributes
|
|
815
|
+
attributes?: {
|
|
805
816
|
multiple?: boolean | undefined;
|
|
806
|
-
};
|
|
817
|
+
} | undefined;
|
|
807
818
|
}>, z.ZodObject<{
|
|
808
819
|
meta: z.ZodObject<{
|
|
809
820
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
@@ -830,31 +841,31 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
830
841
|
}>;
|
|
831
842
|
} & {
|
|
832
843
|
type: z.ZodLiteral<"boolean">;
|
|
833
|
-
attributes: z.ZodObject<{
|
|
844
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
834
845
|
checked: z.ZodOptional<z.ZodBoolean>;
|
|
835
846
|
}, "strip", z.ZodTypeAny, {
|
|
836
847
|
checked?: boolean | undefined;
|
|
837
848
|
}, {
|
|
838
849
|
checked?: boolean | undefined;
|
|
839
|
-
}
|
|
850
|
+
}>>;
|
|
840
851
|
}, "strip", z.ZodTypeAny, {
|
|
841
852
|
type: "boolean";
|
|
842
853
|
meta: {
|
|
843
854
|
schemaVersion: "1.0";
|
|
844
855
|
labelTranslationKey?: string | undefined;
|
|
845
856
|
};
|
|
846
|
-
attributes
|
|
857
|
+
attributes?: {
|
|
847
858
|
checked?: boolean | undefined;
|
|
848
|
-
};
|
|
859
|
+
} | undefined;
|
|
849
860
|
}, {
|
|
850
861
|
type: "boolean";
|
|
851
862
|
meta: {
|
|
852
863
|
schemaVersion: "1.0";
|
|
853
864
|
labelTranslationKey?: string | undefined;
|
|
854
865
|
};
|
|
855
|
-
attributes
|
|
866
|
+
attributes?: {
|
|
856
867
|
checked?: boolean | undefined;
|
|
857
|
-
};
|
|
868
|
+
} | undefined;
|
|
858
869
|
}>, z.ZodObject<{
|
|
859
870
|
meta: z.ZodObject<{
|
|
860
871
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
@@ -928,7 +939,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
928
939
|
labelTranslationKey?: string | undefined;
|
|
929
940
|
};
|
|
930
941
|
}>, z.ZodObject<{
|
|
931
|
-
attributes: z.ZodObject<{
|
|
942
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
932
943
|
max: z.ZodOptional<z.ZodNumber>;
|
|
933
944
|
min: z.ZodOptional<z.ZodNumber>;
|
|
934
945
|
step: z.ZodOptional<z.ZodNumber>;
|
|
@@ -940,36 +951,47 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
940
951
|
max?: number | undefined;
|
|
941
952
|
min?: number | undefined;
|
|
942
953
|
step?: number | undefined;
|
|
943
|
-
}
|
|
954
|
+
}>>;
|
|
944
955
|
} & {
|
|
945
956
|
type: z.ZodLiteral<"currency">;
|
|
946
957
|
meta: z.ZodObject<{
|
|
958
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
959
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
960
|
+
} & {
|
|
947
961
|
denomination: z.ZodOptional<z.ZodString>;
|
|
948
962
|
}, "strip", z.ZodTypeAny, {
|
|
963
|
+
schemaVersion: "1.0";
|
|
964
|
+
labelTranslationKey?: string | undefined;
|
|
949
965
|
denomination?: string | undefined;
|
|
950
966
|
}, {
|
|
967
|
+
schemaVersion: "1.0";
|
|
968
|
+
labelTranslationKey?: string | undefined;
|
|
951
969
|
denomination?: string | undefined;
|
|
952
970
|
}>;
|
|
953
971
|
}, "strip", z.ZodTypeAny, {
|
|
954
972
|
type: "currency";
|
|
955
973
|
meta: {
|
|
974
|
+
schemaVersion: "1.0";
|
|
975
|
+
labelTranslationKey?: string | undefined;
|
|
956
976
|
denomination?: string | undefined;
|
|
957
977
|
};
|
|
958
|
-
attributes
|
|
978
|
+
attributes?: {
|
|
959
979
|
max?: number | undefined;
|
|
960
980
|
min?: number | undefined;
|
|
961
981
|
step?: number | undefined;
|
|
962
|
-
};
|
|
982
|
+
} | undefined;
|
|
963
983
|
}, {
|
|
964
984
|
type: "currency";
|
|
965
985
|
meta: {
|
|
986
|
+
schemaVersion: "1.0";
|
|
987
|
+
labelTranslationKey?: string | undefined;
|
|
966
988
|
denomination?: string | undefined;
|
|
967
989
|
};
|
|
968
|
-
attributes
|
|
990
|
+
attributes?: {
|
|
969
991
|
max?: number | undefined;
|
|
970
992
|
min?: number | undefined;
|
|
971
993
|
step?: number | undefined;
|
|
972
|
-
};
|
|
994
|
+
} | undefined;
|
|
973
995
|
}>, z.ZodObject<{
|
|
974
996
|
meta: z.ZodObject<{
|
|
975
997
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
@@ -983,7 +1005,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
983
1005
|
}>;
|
|
984
1006
|
} & {
|
|
985
1007
|
type: z.ZodLiteral<"datePicker">;
|
|
986
|
-
attributes: z.ZodObject<{
|
|
1008
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
987
1009
|
max: z.ZodOptional<z.ZodString>;
|
|
988
1010
|
min: z.ZodOptional<z.ZodString>;
|
|
989
1011
|
step: z.ZodOptional<z.ZodNumber>;
|
|
@@ -995,29 +1017,29 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
995
1017
|
max?: string | undefined;
|
|
996
1018
|
min?: string | undefined;
|
|
997
1019
|
step?: number | undefined;
|
|
998
|
-
}
|
|
1020
|
+
}>>;
|
|
999
1021
|
}, "strip", z.ZodTypeAny, {
|
|
1000
1022
|
type: "datePicker";
|
|
1001
1023
|
meta: {
|
|
1002
1024
|
schemaVersion: "1.0";
|
|
1003
1025
|
labelTranslationKey?: string | undefined;
|
|
1004
1026
|
};
|
|
1005
|
-
attributes
|
|
1027
|
+
attributes?: {
|
|
1006
1028
|
max?: string | undefined;
|
|
1007
1029
|
min?: string | undefined;
|
|
1008
1030
|
step?: number | undefined;
|
|
1009
|
-
};
|
|
1031
|
+
} | undefined;
|
|
1010
1032
|
}, {
|
|
1011
1033
|
type: "datePicker";
|
|
1012
1034
|
meta: {
|
|
1013
1035
|
schemaVersion: "1.0";
|
|
1014
1036
|
labelTranslationKey?: string | undefined;
|
|
1015
1037
|
};
|
|
1016
|
-
attributes
|
|
1038
|
+
attributes?: {
|
|
1017
1039
|
max?: string | undefined;
|
|
1018
1040
|
min?: string | undefined;
|
|
1019
1041
|
step?: number | undefined;
|
|
1020
|
-
};
|
|
1042
|
+
} | undefined;
|
|
1021
1043
|
}>, z.ZodObject<{
|
|
1022
1044
|
meta: z.ZodObject<{
|
|
1023
1045
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
@@ -1222,7 +1244,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1222
1244
|
}>;
|
|
1223
1245
|
} & {
|
|
1224
1246
|
type: z.ZodLiteral<"email">;
|
|
1225
|
-
attributes: z.ZodObject<{
|
|
1247
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
1226
1248
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
1227
1249
|
minLength: z.ZodOptional<z.ZodNumber>;
|
|
1228
1250
|
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1237,31 +1259,31 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1237
1259
|
minLength?: number | undefined;
|
|
1238
1260
|
multiple?: boolean | undefined;
|
|
1239
1261
|
pattern?: string | undefined;
|
|
1240
|
-
}
|
|
1262
|
+
}>>;
|
|
1241
1263
|
}, "strip", z.ZodTypeAny, {
|
|
1242
1264
|
type: "email";
|
|
1243
1265
|
meta: {
|
|
1244
1266
|
schemaVersion: "1.0";
|
|
1245
1267
|
labelTranslationKey?: string | undefined;
|
|
1246
1268
|
};
|
|
1247
|
-
attributes
|
|
1269
|
+
attributes?: {
|
|
1248
1270
|
maxLength?: number | undefined;
|
|
1249
1271
|
minLength?: number | undefined;
|
|
1250
1272
|
multiple?: boolean | undefined;
|
|
1251
1273
|
pattern?: string | undefined;
|
|
1252
|
-
};
|
|
1274
|
+
} | undefined;
|
|
1253
1275
|
}, {
|
|
1254
1276
|
type: "email";
|
|
1255
1277
|
meta: {
|
|
1256
1278
|
schemaVersion: "1.0";
|
|
1257
1279
|
labelTranslationKey?: string | undefined;
|
|
1258
1280
|
};
|
|
1259
|
-
attributes
|
|
1281
|
+
attributes?: {
|
|
1260
1282
|
maxLength?: number | undefined;
|
|
1261
1283
|
minLength?: number | undefined;
|
|
1262
1284
|
multiple?: boolean | undefined;
|
|
1263
1285
|
pattern?: string | undefined;
|
|
1264
|
-
};
|
|
1286
|
+
} | undefined;
|
|
1265
1287
|
}>, z.ZodObject<{
|
|
1266
1288
|
meta: z.ZodObject<{
|
|
1267
1289
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
@@ -1292,7 +1314,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1292
1314
|
localQueryId: z.ZodOptional<z.ZodString>;
|
|
1293
1315
|
query: z.ZodOptional<z.ZodString>;
|
|
1294
1316
|
responseField: z.ZodString;
|
|
1295
|
-
variables: z.ZodArray<z.ZodObject<{
|
|
1317
|
+
variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1296
1318
|
minLength: z.ZodOptional<z.ZodNumber>;
|
|
1297
1319
|
label: z.ZodOptional<z.ZodString>;
|
|
1298
1320
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
@@ -1313,7 +1335,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1313
1335
|
minLength?: number | undefined;
|
|
1314
1336
|
label?: string | undefined;
|
|
1315
1337
|
defaultValue?: string | undefined;
|
|
1316
|
-
}>, "many"
|
|
1338
|
+
}>, "many">>;
|
|
1317
1339
|
}, "strip", z.ZodTypeAny, {
|
|
1318
1340
|
displayFields: {
|
|
1319
1341
|
label: string;
|
|
@@ -1321,16 +1343,16 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1321
1343
|
labelTranslationKey?: string | undefined;
|
|
1322
1344
|
}[];
|
|
1323
1345
|
responseField: string;
|
|
1324
|
-
|
|
1346
|
+
localQueryId?: string | undefined;
|
|
1347
|
+
query?: string | undefined;
|
|
1348
|
+
variables?: {
|
|
1325
1349
|
type: string;
|
|
1326
1350
|
name: string;
|
|
1327
1351
|
labelTranslationKey?: string | undefined;
|
|
1328
1352
|
minLength?: number | undefined;
|
|
1329
1353
|
label?: string | undefined;
|
|
1330
1354
|
defaultValue?: string | undefined;
|
|
1331
|
-
}[];
|
|
1332
|
-
localQueryId?: string | undefined;
|
|
1333
|
-
query?: string | undefined;
|
|
1355
|
+
}[] | undefined;
|
|
1334
1356
|
}, {
|
|
1335
1357
|
displayFields: {
|
|
1336
1358
|
label: string;
|
|
@@ -1338,16 +1360,16 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1338
1360
|
labelTranslationKey?: string | undefined;
|
|
1339
1361
|
}[];
|
|
1340
1362
|
responseField: string;
|
|
1341
|
-
|
|
1363
|
+
localQueryId?: string | undefined;
|
|
1364
|
+
query?: string | undefined;
|
|
1365
|
+
variables?: {
|
|
1342
1366
|
type: string;
|
|
1343
1367
|
name: string;
|
|
1344
1368
|
labelTranslationKey?: string | undefined;
|
|
1345
1369
|
minLength?: number | undefined;
|
|
1346
1370
|
label?: string | undefined;
|
|
1347
1371
|
defaultValue?: string | undefined;
|
|
1348
|
-
}[];
|
|
1349
|
-
localQueryId?: string | undefined;
|
|
1350
|
-
query?: string | undefined;
|
|
1372
|
+
}[] | undefined;
|
|
1351
1373
|
}>;
|
|
1352
1374
|
attributes: z.ZodObject<{
|
|
1353
1375
|
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1372,16 +1394,16 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1372
1394
|
labelTranslationKey?: string | undefined;
|
|
1373
1395
|
}[];
|
|
1374
1396
|
responseField: string;
|
|
1375
|
-
|
|
1397
|
+
localQueryId?: string | undefined;
|
|
1398
|
+
query?: string | undefined;
|
|
1399
|
+
variables?: {
|
|
1376
1400
|
type: string;
|
|
1377
1401
|
name: string;
|
|
1378
1402
|
labelTranslationKey?: string | undefined;
|
|
1379
1403
|
minLength?: number | undefined;
|
|
1380
1404
|
label?: string | undefined;
|
|
1381
1405
|
defaultValue?: string | undefined;
|
|
1382
|
-
}[];
|
|
1383
|
-
localQueryId?: string | undefined;
|
|
1384
|
-
query?: string | undefined;
|
|
1406
|
+
}[] | undefined;
|
|
1385
1407
|
};
|
|
1386
1408
|
}, {
|
|
1387
1409
|
type: "filteredSearch";
|
|
@@ -1399,16 +1421,16 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1399
1421
|
labelTranslationKey?: string | undefined;
|
|
1400
1422
|
}[];
|
|
1401
1423
|
responseField: string;
|
|
1402
|
-
|
|
1424
|
+
localQueryId?: string | undefined;
|
|
1425
|
+
query?: string | undefined;
|
|
1426
|
+
variables?: {
|
|
1403
1427
|
type: string;
|
|
1404
1428
|
name: string;
|
|
1405
1429
|
labelTranslationKey?: string | undefined;
|
|
1406
1430
|
minLength?: number | undefined;
|
|
1407
1431
|
label?: string | undefined;
|
|
1408
1432
|
defaultValue?: string | undefined;
|
|
1409
|
-
}[];
|
|
1410
|
-
localQueryId?: string | undefined;
|
|
1411
|
-
query?: string | undefined;
|
|
1433
|
+
}[] | undefined;
|
|
1412
1434
|
};
|
|
1413
1435
|
}>, z.ZodObject<{
|
|
1414
1436
|
meta: z.ZodObject<{
|
|
@@ -1423,7 +1445,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1423
1445
|
}>;
|
|
1424
1446
|
} & {
|
|
1425
1447
|
type: z.ZodLiteral<"number">;
|
|
1426
|
-
attributes: z.ZodObject<{
|
|
1448
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
1427
1449
|
max: z.ZodOptional<z.ZodNumber>;
|
|
1428
1450
|
min: z.ZodOptional<z.ZodNumber>;
|
|
1429
1451
|
step: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1435,29 +1457,29 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1435
1457
|
max?: number | undefined;
|
|
1436
1458
|
min?: number | undefined;
|
|
1437
1459
|
step?: number | undefined;
|
|
1438
|
-
}
|
|
1460
|
+
}>>;
|
|
1439
1461
|
}, "strip", z.ZodTypeAny, {
|
|
1440
1462
|
type: "number";
|
|
1441
1463
|
meta: {
|
|
1442
1464
|
schemaVersion: "1.0";
|
|
1443
1465
|
labelTranslationKey?: string | undefined;
|
|
1444
1466
|
};
|
|
1445
|
-
attributes
|
|
1467
|
+
attributes?: {
|
|
1446
1468
|
max?: number | undefined;
|
|
1447
1469
|
min?: number | undefined;
|
|
1448
1470
|
step?: number | undefined;
|
|
1449
|
-
};
|
|
1471
|
+
} | undefined;
|
|
1450
1472
|
}, {
|
|
1451
1473
|
type: "number";
|
|
1452
1474
|
meta: {
|
|
1453
1475
|
schemaVersion: "1.0";
|
|
1454
1476
|
labelTranslationKey?: string | undefined;
|
|
1455
1477
|
};
|
|
1456
|
-
attributes
|
|
1478
|
+
attributes?: {
|
|
1457
1479
|
max?: number | undefined;
|
|
1458
1480
|
min?: number | undefined;
|
|
1459
1481
|
step?: number | undefined;
|
|
1460
|
-
};
|
|
1482
|
+
} | undefined;
|
|
1461
1483
|
}>, z.ZodObject<{
|
|
1462
1484
|
meta: z.ZodObject<{
|
|
1463
1485
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
@@ -1574,13 +1596,13 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1574
1596
|
selected?: boolean | undefined;
|
|
1575
1597
|
};
|
|
1576
1598
|
}>, "many">;
|
|
1577
|
-
attributes: z.ZodObject<{
|
|
1599
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
1578
1600
|
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
1579
1601
|
}, "strip", z.ZodTypeAny, {
|
|
1580
1602
|
multiple?: boolean | undefined;
|
|
1581
1603
|
}, {
|
|
1582
1604
|
multiple?: boolean | undefined;
|
|
1583
|
-
}
|
|
1605
|
+
}>>;
|
|
1584
1606
|
}, "strip", z.ZodTypeAny, {
|
|
1585
1607
|
type: "selectBox";
|
|
1586
1608
|
options: {
|
|
@@ -1595,9 +1617,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1595
1617
|
schemaVersion: "1.0";
|
|
1596
1618
|
labelTranslationKey?: string | undefined;
|
|
1597
1619
|
};
|
|
1598
|
-
attributes
|
|
1620
|
+
attributes?: {
|
|
1599
1621
|
multiple?: boolean | undefined;
|
|
1600
|
-
};
|
|
1622
|
+
} | undefined;
|
|
1601
1623
|
}, {
|
|
1602
1624
|
type: "selectBox";
|
|
1603
1625
|
options: {
|
|
@@ -1612,12 +1634,12 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1612
1634
|
schemaVersion: "1.0";
|
|
1613
1635
|
labelTranslationKey?: string | undefined;
|
|
1614
1636
|
};
|
|
1615
|
-
attributes
|
|
1637
|
+
attributes?: {
|
|
1616
1638
|
multiple?: boolean | undefined;
|
|
1617
|
-
};
|
|
1639
|
+
} | undefined;
|
|
1618
1640
|
}>, z.ZodObject<{} & {
|
|
1619
1641
|
type: z.ZodLiteral<"textArea">;
|
|
1620
|
-
attributes: z.ZodObject<{
|
|
1642
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
1621
1643
|
cols: z.ZodOptional<z.ZodNumber>;
|
|
1622
1644
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
1623
1645
|
minLength: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1632,36 +1654,47 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1632
1654
|
minLength?: number | undefined;
|
|
1633
1655
|
cols?: number | undefined;
|
|
1634
1656
|
rows?: number | undefined;
|
|
1635
|
-
}
|
|
1657
|
+
}>>;
|
|
1636
1658
|
meta: z.ZodObject<{
|
|
1659
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
1660
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
1661
|
+
} & {
|
|
1637
1662
|
asRichText: z.ZodOptional<z.ZodBoolean>;
|
|
1638
1663
|
}, "strip", z.ZodTypeAny, {
|
|
1664
|
+
schemaVersion: "1.0";
|
|
1665
|
+
labelTranslationKey?: string | undefined;
|
|
1639
1666
|
asRichText?: boolean | undefined;
|
|
1640
1667
|
}, {
|
|
1668
|
+
schemaVersion: "1.0";
|
|
1669
|
+
labelTranslationKey?: string | undefined;
|
|
1641
1670
|
asRichText?: boolean | undefined;
|
|
1642
1671
|
}>;
|
|
1643
1672
|
}, "strip", z.ZodTypeAny, {
|
|
1644
1673
|
type: "textArea";
|
|
1645
1674
|
meta: {
|
|
1675
|
+
schemaVersion: "1.0";
|
|
1676
|
+
labelTranslationKey?: string | undefined;
|
|
1646
1677
|
asRichText?: boolean | undefined;
|
|
1647
1678
|
};
|
|
1648
|
-
attributes
|
|
1679
|
+
attributes?: {
|
|
1649
1680
|
maxLength?: number | undefined;
|
|
1650
1681
|
minLength?: number | undefined;
|
|
1651
1682
|
cols?: number | undefined;
|
|
1652
1683
|
rows?: number | undefined;
|
|
1653
|
-
};
|
|
1684
|
+
} | undefined;
|
|
1654
1685
|
}, {
|
|
1655
1686
|
type: "textArea";
|
|
1656
1687
|
meta: {
|
|
1688
|
+
schemaVersion: "1.0";
|
|
1689
|
+
labelTranslationKey?: string | undefined;
|
|
1657
1690
|
asRichText?: boolean | undefined;
|
|
1658
1691
|
};
|
|
1659
|
-
attributes
|
|
1692
|
+
attributes?: {
|
|
1660
1693
|
maxLength?: number | undefined;
|
|
1661
1694
|
minLength?: number | undefined;
|
|
1662
1695
|
cols?: number | undefined;
|
|
1663
1696
|
rows?: number | undefined;
|
|
1664
|
-
};
|
|
1697
|
+
} | undefined;
|
|
1665
1698
|
}>, z.ZodObject<{
|
|
1666
1699
|
meta: z.ZodObject<{
|
|
1667
1700
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
@@ -1675,7 +1708,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1675
1708
|
}>;
|
|
1676
1709
|
} & {
|
|
1677
1710
|
type: z.ZodLiteral<"text">;
|
|
1678
|
-
attributes: z.ZodObject<{
|
|
1711
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
1679
1712
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
1680
1713
|
minLength: z.ZodOptional<z.ZodNumber>;
|
|
1681
1714
|
pattern: z.ZodOptional<z.ZodString>;
|
|
@@ -1687,29 +1720,29 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1687
1720
|
maxLength?: number | undefined;
|
|
1688
1721
|
minLength?: number | undefined;
|
|
1689
1722
|
pattern?: string | undefined;
|
|
1690
|
-
}
|
|
1723
|
+
}>>;
|
|
1691
1724
|
}, "strip", z.ZodTypeAny, {
|
|
1692
1725
|
type: "text";
|
|
1693
1726
|
meta: {
|
|
1694
1727
|
schemaVersion: "1.0";
|
|
1695
1728
|
labelTranslationKey?: string | undefined;
|
|
1696
1729
|
};
|
|
1697
|
-
attributes
|
|
1730
|
+
attributes?: {
|
|
1698
1731
|
maxLength?: number | undefined;
|
|
1699
1732
|
minLength?: number | undefined;
|
|
1700
1733
|
pattern?: string | undefined;
|
|
1701
|
-
};
|
|
1734
|
+
} | undefined;
|
|
1702
1735
|
}, {
|
|
1703
1736
|
type: "text";
|
|
1704
1737
|
meta: {
|
|
1705
1738
|
schemaVersion: "1.0";
|
|
1706
1739
|
labelTranslationKey?: string | undefined;
|
|
1707
1740
|
};
|
|
1708
|
-
attributes
|
|
1741
|
+
attributes?: {
|
|
1709
1742
|
maxLength?: number | undefined;
|
|
1710
1743
|
minLength?: number | undefined;
|
|
1711
1744
|
pattern?: string | undefined;
|
|
1712
|
-
};
|
|
1745
|
+
} | undefined;
|
|
1713
1746
|
}>, z.ZodObject<{
|
|
1714
1747
|
meta: z.ZodObject<{
|
|
1715
1748
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
@@ -1740,7 +1773,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1740
1773
|
localQueryId: z.ZodOptional<z.ZodString>;
|
|
1741
1774
|
query: z.ZodOptional<z.ZodString>;
|
|
1742
1775
|
responseField: z.ZodString;
|
|
1743
|
-
variables: z.ZodArray<z.ZodObject<{
|
|
1776
|
+
variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1744
1777
|
minLength: z.ZodOptional<z.ZodNumber>;
|
|
1745
1778
|
label: z.ZodOptional<z.ZodString>;
|
|
1746
1779
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
@@ -1761,7 +1794,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1761
1794
|
minLength?: number | undefined;
|
|
1762
1795
|
label?: string | undefined;
|
|
1763
1796
|
defaultValue?: string | undefined;
|
|
1764
|
-
}>, "many"
|
|
1797
|
+
}>, "many">>;
|
|
1765
1798
|
}, "strip", z.ZodTypeAny, {
|
|
1766
1799
|
displayFields: {
|
|
1767
1800
|
label: string;
|
|
@@ -1769,16 +1802,16 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1769
1802
|
labelTranslationKey?: string | undefined;
|
|
1770
1803
|
}[];
|
|
1771
1804
|
responseField: string;
|
|
1772
|
-
|
|
1805
|
+
localQueryId?: string | undefined;
|
|
1806
|
+
query?: string | undefined;
|
|
1807
|
+
variables?: {
|
|
1773
1808
|
type: string;
|
|
1774
1809
|
name: string;
|
|
1775
1810
|
labelTranslationKey?: string | undefined;
|
|
1776
1811
|
minLength?: number | undefined;
|
|
1777
1812
|
label?: string | undefined;
|
|
1778
1813
|
defaultValue?: string | undefined;
|
|
1779
|
-
}[];
|
|
1780
|
-
localQueryId?: string | undefined;
|
|
1781
|
-
query?: string | undefined;
|
|
1814
|
+
}[] | undefined;
|
|
1782
1815
|
}, {
|
|
1783
1816
|
displayFields: {
|
|
1784
1817
|
label: string;
|
|
@@ -1786,16 +1819,16 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1786
1819
|
labelTranslationKey?: string | undefined;
|
|
1787
1820
|
}[];
|
|
1788
1821
|
responseField: string;
|
|
1789
|
-
|
|
1822
|
+
localQueryId?: string | undefined;
|
|
1823
|
+
query?: string | undefined;
|
|
1824
|
+
variables?: {
|
|
1790
1825
|
type: string;
|
|
1791
1826
|
name: string;
|
|
1792
1827
|
labelTranslationKey?: string | undefined;
|
|
1793
1828
|
minLength?: number | undefined;
|
|
1794
1829
|
label?: string | undefined;
|
|
1795
1830
|
defaultValue?: string | undefined;
|
|
1796
|
-
}[];
|
|
1797
|
-
localQueryId?: string | undefined;
|
|
1798
|
-
query?: string | undefined;
|
|
1831
|
+
}[] | undefined;
|
|
1799
1832
|
}>;
|
|
1800
1833
|
}, "strip", z.ZodTypeAny, {
|
|
1801
1834
|
type: "typeaheadSearch";
|
|
@@ -1810,16 +1843,16 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1810
1843
|
labelTranslationKey?: string | undefined;
|
|
1811
1844
|
}[];
|
|
1812
1845
|
responseField: string;
|
|
1813
|
-
|
|
1846
|
+
localQueryId?: string | undefined;
|
|
1847
|
+
query?: string | undefined;
|
|
1848
|
+
variables?: {
|
|
1814
1849
|
type: string;
|
|
1815
1850
|
name: string;
|
|
1816
1851
|
labelTranslationKey?: string | undefined;
|
|
1817
1852
|
minLength?: number | undefined;
|
|
1818
1853
|
label?: string | undefined;
|
|
1819
1854
|
defaultValue?: string | undefined;
|
|
1820
|
-
}[];
|
|
1821
|
-
localQueryId?: string | undefined;
|
|
1822
|
-
query?: string | undefined;
|
|
1855
|
+
}[] | undefined;
|
|
1823
1856
|
};
|
|
1824
1857
|
}, {
|
|
1825
1858
|
type: "typeaheadSearch";
|
|
@@ -1834,16 +1867,16 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1834
1867
|
labelTranslationKey?: string | undefined;
|
|
1835
1868
|
}[];
|
|
1836
1869
|
responseField: string;
|
|
1837
|
-
|
|
1870
|
+
localQueryId?: string | undefined;
|
|
1871
|
+
query?: string | undefined;
|
|
1872
|
+
variables?: {
|
|
1838
1873
|
type: string;
|
|
1839
1874
|
name: string;
|
|
1840
1875
|
labelTranslationKey?: string | undefined;
|
|
1841
1876
|
minLength?: number | undefined;
|
|
1842
1877
|
label?: string | undefined;
|
|
1843
1878
|
defaultValue?: string | undefined;
|
|
1844
|
-
}[];
|
|
1845
|
-
localQueryId?: string | undefined;
|
|
1846
|
-
query?: string | undefined;
|
|
1879
|
+
}[] | undefined;
|
|
1847
1880
|
};
|
|
1848
1881
|
}>, z.ZodObject<{
|
|
1849
1882
|
meta: z.ZodObject<{
|
|
@@ -1858,7 +1891,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1858
1891
|
}>;
|
|
1859
1892
|
} & {
|
|
1860
1893
|
type: z.ZodLiteral<"url">;
|
|
1861
|
-
attributes: z.ZodObject<{
|
|
1894
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
1862
1895
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
1863
1896
|
minLength: z.ZodOptional<z.ZodNumber>;
|
|
1864
1897
|
pattern: z.ZodOptional<z.ZodString>;
|
|
@@ -1870,31 +1903,31 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1870
1903
|
maxLength?: number | undefined;
|
|
1871
1904
|
minLength?: number | undefined;
|
|
1872
1905
|
pattern?: string | undefined;
|
|
1873
|
-
}
|
|
1906
|
+
}>>;
|
|
1874
1907
|
}, "strip", z.ZodTypeAny, {
|
|
1875
1908
|
type: "url";
|
|
1876
1909
|
meta: {
|
|
1877
1910
|
schemaVersion: "1.0";
|
|
1878
1911
|
labelTranslationKey?: string | undefined;
|
|
1879
1912
|
};
|
|
1880
|
-
attributes
|
|
1913
|
+
attributes?: {
|
|
1881
1914
|
maxLength?: number | undefined;
|
|
1882
1915
|
minLength?: number | undefined;
|
|
1883
1916
|
pattern?: string | undefined;
|
|
1884
|
-
};
|
|
1917
|
+
} | undefined;
|
|
1885
1918
|
}, {
|
|
1886
1919
|
type: "url";
|
|
1887
1920
|
meta: {
|
|
1888
1921
|
schemaVersion: "1.0";
|
|
1889
1922
|
labelTranslationKey?: string | undefined;
|
|
1890
1923
|
};
|
|
1891
|
-
attributes
|
|
1924
|
+
attributes?: {
|
|
1892
1925
|
maxLength?: number | undefined;
|
|
1893
1926
|
minLength?: number | undefined;
|
|
1894
1927
|
pattern?: string | undefined;
|
|
1895
|
-
};
|
|
1928
|
+
} | undefined;
|
|
1896
1929
|
}>]>, "many">;
|
|
1897
|
-
attributes: z.ZodObject<{
|
|
1930
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
1898
1931
|
canAddRows: z.ZodOptional<z.ZodBoolean>;
|
|
1899
1932
|
canRemoveRows: z.ZodOptional<z.ZodBoolean>;
|
|
1900
1933
|
initialRows: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1912,106 +1945,103 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1912
1945
|
initialRows?: number | undefined;
|
|
1913
1946
|
maxRows?: number | undefined;
|
|
1914
1947
|
minRows?: number | undefined;
|
|
1915
|
-
}
|
|
1948
|
+
}>>;
|
|
1916
1949
|
}, "strip", z.ZodTypeAny, {
|
|
1917
1950
|
type: "table";
|
|
1918
1951
|
meta: {
|
|
1919
1952
|
schemaVersion: "1.0";
|
|
1920
1953
|
labelTranslationKey?: string | undefined;
|
|
1921
1954
|
};
|
|
1922
|
-
attributes: {
|
|
1923
|
-
canAddRows?: boolean | undefined;
|
|
1924
|
-
canRemoveRows?: boolean | undefined;
|
|
1925
|
-
initialRows?: number | undefined;
|
|
1926
|
-
maxRows?: number | undefined;
|
|
1927
|
-
minRows?: number | undefined;
|
|
1928
|
-
};
|
|
1929
1955
|
columns: ({
|
|
1930
1956
|
type: "boolean";
|
|
1931
1957
|
meta: {
|
|
1932
1958
|
schemaVersion: "1.0";
|
|
1933
1959
|
labelTranslationKey?: string | undefined;
|
|
1934
1960
|
};
|
|
1935
|
-
attributes
|
|
1961
|
+
attributes?: {
|
|
1936
1962
|
checked?: boolean | undefined;
|
|
1937
|
-
};
|
|
1963
|
+
} | undefined;
|
|
1938
1964
|
} | {
|
|
1939
1965
|
type: "number";
|
|
1940
1966
|
meta: {
|
|
1941
1967
|
schemaVersion: "1.0";
|
|
1942
1968
|
labelTranslationKey?: string | undefined;
|
|
1943
1969
|
};
|
|
1944
|
-
attributes
|
|
1970
|
+
attributes?: {
|
|
1945
1971
|
max?: number | undefined;
|
|
1946
1972
|
min?: number | undefined;
|
|
1947
1973
|
step?: number | undefined;
|
|
1948
|
-
};
|
|
1974
|
+
} | undefined;
|
|
1949
1975
|
} | {
|
|
1950
1976
|
type: "currency";
|
|
1951
1977
|
meta: {
|
|
1978
|
+
schemaVersion: "1.0";
|
|
1979
|
+
labelTranslationKey?: string | undefined;
|
|
1952
1980
|
denomination?: string | undefined;
|
|
1953
1981
|
};
|
|
1954
|
-
attributes
|
|
1982
|
+
attributes?: {
|
|
1955
1983
|
max?: number | undefined;
|
|
1956
1984
|
min?: number | undefined;
|
|
1957
1985
|
step?: number | undefined;
|
|
1958
|
-
};
|
|
1986
|
+
} | undefined;
|
|
1959
1987
|
} | {
|
|
1960
1988
|
type: "email";
|
|
1961
1989
|
meta: {
|
|
1962
1990
|
schemaVersion: "1.0";
|
|
1963
1991
|
labelTranslationKey?: string | undefined;
|
|
1964
1992
|
};
|
|
1965
|
-
attributes
|
|
1993
|
+
attributes?: {
|
|
1966
1994
|
maxLength?: number | undefined;
|
|
1967
1995
|
minLength?: number | undefined;
|
|
1968
1996
|
multiple?: boolean | undefined;
|
|
1969
1997
|
pattern?: string | undefined;
|
|
1970
|
-
};
|
|
1998
|
+
} | undefined;
|
|
1971
1999
|
} | {
|
|
1972
2000
|
type: "textArea";
|
|
1973
2001
|
meta: {
|
|
2002
|
+
schemaVersion: "1.0";
|
|
2003
|
+
labelTranslationKey?: string | undefined;
|
|
1974
2004
|
asRichText?: boolean | undefined;
|
|
1975
2005
|
};
|
|
1976
|
-
attributes
|
|
2006
|
+
attributes?: {
|
|
1977
2007
|
maxLength?: number | undefined;
|
|
1978
2008
|
minLength?: number | undefined;
|
|
1979
2009
|
cols?: number | undefined;
|
|
1980
2010
|
rows?: number | undefined;
|
|
1981
|
-
};
|
|
2011
|
+
} | undefined;
|
|
1982
2012
|
} | {
|
|
1983
2013
|
type: "text";
|
|
1984
2014
|
meta: {
|
|
1985
2015
|
schemaVersion: "1.0";
|
|
1986
2016
|
labelTranslationKey?: string | undefined;
|
|
1987
2017
|
};
|
|
1988
|
-
attributes
|
|
2018
|
+
attributes?: {
|
|
1989
2019
|
maxLength?: number | undefined;
|
|
1990
2020
|
minLength?: number | undefined;
|
|
1991
2021
|
pattern?: string | undefined;
|
|
1992
|
-
};
|
|
2022
|
+
} | undefined;
|
|
1993
2023
|
} | {
|
|
1994
2024
|
type: "url";
|
|
1995
2025
|
meta: {
|
|
1996
2026
|
schemaVersion: "1.0";
|
|
1997
2027
|
labelTranslationKey?: string | undefined;
|
|
1998
2028
|
};
|
|
1999
|
-
attributes
|
|
2029
|
+
attributes?: {
|
|
2000
2030
|
maxLength?: number | undefined;
|
|
2001
2031
|
minLength?: number | undefined;
|
|
2002
2032
|
pattern?: string | undefined;
|
|
2003
|
-
};
|
|
2033
|
+
} | undefined;
|
|
2004
2034
|
} | {
|
|
2005
2035
|
type: "datePicker";
|
|
2006
2036
|
meta: {
|
|
2007
2037
|
schemaVersion: "1.0";
|
|
2008
2038
|
labelTranslationKey?: string | undefined;
|
|
2009
2039
|
};
|
|
2010
|
-
attributes
|
|
2040
|
+
attributes?: {
|
|
2011
2041
|
max?: string | undefined;
|
|
2012
2042
|
min?: string | undefined;
|
|
2013
2043
|
step?: number | undefined;
|
|
2014
|
-
};
|
|
2044
|
+
} | undefined;
|
|
2015
2045
|
} | {
|
|
2016
2046
|
type: "dateRange";
|
|
2017
2047
|
meta: {
|
|
@@ -2082,9 +2112,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2082
2112
|
schemaVersion: "1.0";
|
|
2083
2113
|
labelTranslationKey?: string | undefined;
|
|
2084
2114
|
};
|
|
2085
|
-
attributes
|
|
2115
|
+
attributes?: {
|
|
2086
2116
|
multiple?: boolean | undefined;
|
|
2087
|
-
};
|
|
2117
|
+
} | undefined;
|
|
2088
2118
|
} | {
|
|
2089
2119
|
type: "filteredSearch";
|
|
2090
2120
|
meta: {
|
|
@@ -2101,16 +2131,16 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2101
2131
|
labelTranslationKey?: string | undefined;
|
|
2102
2132
|
}[];
|
|
2103
2133
|
responseField: string;
|
|
2104
|
-
|
|
2134
|
+
localQueryId?: string | undefined;
|
|
2135
|
+
query?: string | undefined;
|
|
2136
|
+
variables?: {
|
|
2105
2137
|
type: string;
|
|
2106
2138
|
name: string;
|
|
2107
2139
|
labelTranslationKey?: string | undefined;
|
|
2108
2140
|
minLength?: number | undefined;
|
|
2109
2141
|
label?: string | undefined;
|
|
2110
2142
|
defaultValue?: string | undefined;
|
|
2111
|
-
}[];
|
|
2112
|
-
localQueryId?: string | undefined;
|
|
2113
|
-
query?: string | undefined;
|
|
2143
|
+
}[] | undefined;
|
|
2114
2144
|
};
|
|
2115
2145
|
} | {
|
|
2116
2146
|
type: "typeaheadSearch";
|
|
@@ -2125,30 +2155,30 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2125
2155
|
labelTranslationKey?: string | undefined;
|
|
2126
2156
|
}[];
|
|
2127
2157
|
responseField: string;
|
|
2128
|
-
|
|
2158
|
+
localQueryId?: string | undefined;
|
|
2159
|
+
query?: string | undefined;
|
|
2160
|
+
variables?: {
|
|
2129
2161
|
type: string;
|
|
2130
2162
|
name: string;
|
|
2131
2163
|
labelTranslationKey?: string | undefined;
|
|
2132
2164
|
minLength?: number | undefined;
|
|
2133
2165
|
label?: string | undefined;
|
|
2134
2166
|
defaultValue?: string | undefined;
|
|
2135
|
-
}[];
|
|
2136
|
-
localQueryId?: string | undefined;
|
|
2137
|
-
query?: string | undefined;
|
|
2167
|
+
}[] | undefined;
|
|
2138
2168
|
};
|
|
2139
2169
|
})[];
|
|
2140
|
-
|
|
2141
|
-
type: "table";
|
|
2142
|
-
meta: {
|
|
2143
|
-
schemaVersion: "1.0";
|
|
2144
|
-
labelTranslationKey?: string | undefined;
|
|
2145
|
-
};
|
|
2146
|
-
attributes: {
|
|
2170
|
+
attributes?: {
|
|
2147
2171
|
canAddRows?: boolean | undefined;
|
|
2148
2172
|
canRemoveRows?: boolean | undefined;
|
|
2149
2173
|
initialRows?: number | undefined;
|
|
2150
2174
|
maxRows?: number | undefined;
|
|
2151
2175
|
minRows?: number | undefined;
|
|
2176
|
+
} | undefined;
|
|
2177
|
+
}, {
|
|
2178
|
+
type: "table";
|
|
2179
|
+
meta: {
|
|
2180
|
+
schemaVersion: "1.0";
|
|
2181
|
+
labelTranslationKey?: string | undefined;
|
|
2152
2182
|
};
|
|
2153
2183
|
columns: ({
|
|
2154
2184
|
type: "boolean";
|
|
@@ -2156,86 +2186,90 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2156
2186
|
schemaVersion: "1.0";
|
|
2157
2187
|
labelTranslationKey?: string | undefined;
|
|
2158
2188
|
};
|
|
2159
|
-
attributes
|
|
2189
|
+
attributes?: {
|
|
2160
2190
|
checked?: boolean | undefined;
|
|
2161
|
-
};
|
|
2191
|
+
} | undefined;
|
|
2162
2192
|
} | {
|
|
2163
2193
|
type: "number";
|
|
2164
2194
|
meta: {
|
|
2165
2195
|
schemaVersion: "1.0";
|
|
2166
2196
|
labelTranslationKey?: string | undefined;
|
|
2167
2197
|
};
|
|
2168
|
-
attributes
|
|
2198
|
+
attributes?: {
|
|
2169
2199
|
max?: number | undefined;
|
|
2170
2200
|
min?: number | undefined;
|
|
2171
2201
|
step?: number | undefined;
|
|
2172
|
-
};
|
|
2202
|
+
} | undefined;
|
|
2173
2203
|
} | {
|
|
2174
2204
|
type: "currency";
|
|
2175
2205
|
meta: {
|
|
2206
|
+
schemaVersion: "1.0";
|
|
2207
|
+
labelTranslationKey?: string | undefined;
|
|
2176
2208
|
denomination?: string | undefined;
|
|
2177
2209
|
};
|
|
2178
|
-
attributes
|
|
2210
|
+
attributes?: {
|
|
2179
2211
|
max?: number | undefined;
|
|
2180
2212
|
min?: number | undefined;
|
|
2181
2213
|
step?: number | undefined;
|
|
2182
|
-
};
|
|
2214
|
+
} | undefined;
|
|
2183
2215
|
} | {
|
|
2184
2216
|
type: "email";
|
|
2185
2217
|
meta: {
|
|
2186
2218
|
schemaVersion: "1.0";
|
|
2187
2219
|
labelTranslationKey?: string | undefined;
|
|
2188
2220
|
};
|
|
2189
|
-
attributes
|
|
2221
|
+
attributes?: {
|
|
2190
2222
|
maxLength?: number | undefined;
|
|
2191
2223
|
minLength?: number | undefined;
|
|
2192
2224
|
multiple?: boolean | undefined;
|
|
2193
2225
|
pattern?: string | undefined;
|
|
2194
|
-
};
|
|
2226
|
+
} | undefined;
|
|
2195
2227
|
} | {
|
|
2196
2228
|
type: "textArea";
|
|
2197
2229
|
meta: {
|
|
2230
|
+
schemaVersion: "1.0";
|
|
2231
|
+
labelTranslationKey?: string | undefined;
|
|
2198
2232
|
asRichText?: boolean | undefined;
|
|
2199
2233
|
};
|
|
2200
|
-
attributes
|
|
2234
|
+
attributes?: {
|
|
2201
2235
|
maxLength?: number | undefined;
|
|
2202
2236
|
minLength?: number | undefined;
|
|
2203
2237
|
cols?: number | undefined;
|
|
2204
2238
|
rows?: number | undefined;
|
|
2205
|
-
};
|
|
2239
|
+
} | undefined;
|
|
2206
2240
|
} | {
|
|
2207
2241
|
type: "text";
|
|
2208
2242
|
meta: {
|
|
2209
2243
|
schemaVersion: "1.0";
|
|
2210
2244
|
labelTranslationKey?: string | undefined;
|
|
2211
2245
|
};
|
|
2212
|
-
attributes
|
|
2246
|
+
attributes?: {
|
|
2213
2247
|
maxLength?: number | undefined;
|
|
2214
2248
|
minLength?: number | undefined;
|
|
2215
2249
|
pattern?: string | undefined;
|
|
2216
|
-
};
|
|
2250
|
+
} | undefined;
|
|
2217
2251
|
} | {
|
|
2218
2252
|
type: "url";
|
|
2219
2253
|
meta: {
|
|
2220
2254
|
schemaVersion: "1.0";
|
|
2221
2255
|
labelTranslationKey?: string | undefined;
|
|
2222
2256
|
};
|
|
2223
|
-
attributes
|
|
2257
|
+
attributes?: {
|
|
2224
2258
|
maxLength?: number | undefined;
|
|
2225
2259
|
minLength?: number | undefined;
|
|
2226
2260
|
pattern?: string | undefined;
|
|
2227
|
-
};
|
|
2261
|
+
} | undefined;
|
|
2228
2262
|
} | {
|
|
2229
2263
|
type: "datePicker";
|
|
2230
2264
|
meta: {
|
|
2231
2265
|
schemaVersion: "1.0";
|
|
2232
2266
|
labelTranslationKey?: string | undefined;
|
|
2233
2267
|
};
|
|
2234
|
-
attributes
|
|
2268
|
+
attributes?: {
|
|
2235
2269
|
max?: string | undefined;
|
|
2236
2270
|
min?: string | undefined;
|
|
2237
2271
|
step?: number | undefined;
|
|
2238
|
-
};
|
|
2272
|
+
} | undefined;
|
|
2239
2273
|
} | {
|
|
2240
2274
|
type: "dateRange";
|
|
2241
2275
|
meta: {
|
|
@@ -2306,9 +2340,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2306
2340
|
schemaVersion: "1.0";
|
|
2307
2341
|
labelTranslationKey?: string | undefined;
|
|
2308
2342
|
};
|
|
2309
|
-
attributes
|
|
2343
|
+
attributes?: {
|
|
2310
2344
|
multiple?: boolean | undefined;
|
|
2311
|
-
};
|
|
2345
|
+
} | undefined;
|
|
2312
2346
|
} | {
|
|
2313
2347
|
type: "filteredSearch";
|
|
2314
2348
|
meta: {
|
|
@@ -2325,16 +2359,16 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2325
2359
|
labelTranslationKey?: string | undefined;
|
|
2326
2360
|
}[];
|
|
2327
2361
|
responseField: string;
|
|
2328
|
-
|
|
2362
|
+
localQueryId?: string | undefined;
|
|
2363
|
+
query?: string | undefined;
|
|
2364
|
+
variables?: {
|
|
2329
2365
|
type: string;
|
|
2330
2366
|
name: string;
|
|
2331
2367
|
labelTranslationKey?: string | undefined;
|
|
2332
2368
|
minLength?: number | undefined;
|
|
2333
2369
|
label?: string | undefined;
|
|
2334
2370
|
defaultValue?: string | undefined;
|
|
2335
|
-
}[];
|
|
2336
|
-
localQueryId?: string | undefined;
|
|
2337
|
-
query?: string | undefined;
|
|
2371
|
+
}[] | undefined;
|
|
2338
2372
|
};
|
|
2339
2373
|
} | {
|
|
2340
2374
|
type: "typeaheadSearch";
|
|
@@ -2349,21 +2383,28 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2349
2383
|
labelTranslationKey?: string | undefined;
|
|
2350
2384
|
}[];
|
|
2351
2385
|
responseField: string;
|
|
2352
|
-
|
|
2386
|
+
localQueryId?: string | undefined;
|
|
2387
|
+
query?: string | undefined;
|
|
2388
|
+
variables?: {
|
|
2353
2389
|
type: string;
|
|
2354
2390
|
name: string;
|
|
2355
2391
|
labelTranslationKey?: string | undefined;
|
|
2356
2392
|
minLength?: number | undefined;
|
|
2357
2393
|
label?: string | undefined;
|
|
2358
2394
|
defaultValue?: string | undefined;
|
|
2359
|
-
}[];
|
|
2360
|
-
localQueryId?: string | undefined;
|
|
2361
|
-
query?: string | undefined;
|
|
2395
|
+
}[] | undefined;
|
|
2362
2396
|
};
|
|
2363
2397
|
})[];
|
|
2398
|
+
attributes?: {
|
|
2399
|
+
canAddRows?: boolean | undefined;
|
|
2400
|
+
canRemoveRows?: boolean | undefined;
|
|
2401
|
+
initialRows?: number | undefined;
|
|
2402
|
+
maxRows?: number | undefined;
|
|
2403
|
+
minRows?: number | undefined;
|
|
2404
|
+
} | undefined;
|
|
2364
2405
|
}>, z.ZodObject<{} & {
|
|
2365
2406
|
type: z.ZodLiteral<"textArea">;
|
|
2366
|
-
attributes: z.ZodObject<{
|
|
2407
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
2367
2408
|
cols: z.ZodOptional<z.ZodNumber>;
|
|
2368
2409
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
2369
2410
|
minLength: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2378,36 +2419,47 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2378
2419
|
minLength?: number | undefined;
|
|
2379
2420
|
cols?: number | undefined;
|
|
2380
2421
|
rows?: number | undefined;
|
|
2381
|
-
}
|
|
2422
|
+
}>>;
|
|
2382
2423
|
meta: z.ZodObject<{
|
|
2424
|
+
schemaVersion: z.ZodLiteral<"1.0">;
|
|
2425
|
+
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
2426
|
+
} & {
|
|
2383
2427
|
asRichText: z.ZodOptional<z.ZodBoolean>;
|
|
2384
2428
|
}, "strip", z.ZodTypeAny, {
|
|
2429
|
+
schemaVersion: "1.0";
|
|
2430
|
+
labelTranslationKey?: string | undefined;
|
|
2385
2431
|
asRichText?: boolean | undefined;
|
|
2386
2432
|
}, {
|
|
2433
|
+
schemaVersion: "1.0";
|
|
2434
|
+
labelTranslationKey?: string | undefined;
|
|
2387
2435
|
asRichText?: boolean | undefined;
|
|
2388
2436
|
}>;
|
|
2389
2437
|
}, "strip", z.ZodTypeAny, {
|
|
2390
2438
|
type: "textArea";
|
|
2391
2439
|
meta: {
|
|
2440
|
+
schemaVersion: "1.0";
|
|
2441
|
+
labelTranslationKey?: string | undefined;
|
|
2392
2442
|
asRichText?: boolean | undefined;
|
|
2393
2443
|
};
|
|
2394
|
-
attributes
|
|
2444
|
+
attributes?: {
|
|
2395
2445
|
maxLength?: number | undefined;
|
|
2396
2446
|
minLength?: number | undefined;
|
|
2397
2447
|
cols?: number | undefined;
|
|
2398
2448
|
rows?: number | undefined;
|
|
2399
|
-
};
|
|
2449
|
+
} | undefined;
|
|
2400
2450
|
}, {
|
|
2401
2451
|
type: "textArea";
|
|
2402
2452
|
meta: {
|
|
2453
|
+
schemaVersion: "1.0";
|
|
2454
|
+
labelTranslationKey?: string | undefined;
|
|
2403
2455
|
asRichText?: boolean | undefined;
|
|
2404
2456
|
};
|
|
2405
|
-
attributes
|
|
2457
|
+
attributes?: {
|
|
2406
2458
|
maxLength?: number | undefined;
|
|
2407
2459
|
minLength?: number | undefined;
|
|
2408
2460
|
cols?: number | undefined;
|
|
2409
2461
|
rows?: number | undefined;
|
|
2410
|
-
};
|
|
2462
|
+
} | undefined;
|
|
2411
2463
|
}>, z.ZodObject<{
|
|
2412
2464
|
meta: z.ZodObject<{
|
|
2413
2465
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
@@ -2421,7 +2473,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2421
2473
|
}>;
|
|
2422
2474
|
} & {
|
|
2423
2475
|
type: z.ZodLiteral<"text">;
|
|
2424
|
-
attributes: z.ZodObject<{
|
|
2476
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
2425
2477
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
2426
2478
|
minLength: z.ZodOptional<z.ZodNumber>;
|
|
2427
2479
|
pattern: z.ZodOptional<z.ZodString>;
|
|
@@ -2433,29 +2485,29 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2433
2485
|
maxLength?: number | undefined;
|
|
2434
2486
|
minLength?: number | undefined;
|
|
2435
2487
|
pattern?: string | undefined;
|
|
2436
|
-
}
|
|
2488
|
+
}>>;
|
|
2437
2489
|
}, "strip", z.ZodTypeAny, {
|
|
2438
2490
|
type: "text";
|
|
2439
2491
|
meta: {
|
|
2440
2492
|
schemaVersion: "1.0";
|
|
2441
2493
|
labelTranslationKey?: string | undefined;
|
|
2442
2494
|
};
|
|
2443
|
-
attributes
|
|
2495
|
+
attributes?: {
|
|
2444
2496
|
maxLength?: number | undefined;
|
|
2445
2497
|
minLength?: number | undefined;
|
|
2446
2498
|
pattern?: string | undefined;
|
|
2447
|
-
};
|
|
2499
|
+
} | undefined;
|
|
2448
2500
|
}, {
|
|
2449
2501
|
type: "text";
|
|
2450
2502
|
meta: {
|
|
2451
2503
|
schemaVersion: "1.0";
|
|
2452
2504
|
labelTranslationKey?: string | undefined;
|
|
2453
2505
|
};
|
|
2454
|
-
attributes
|
|
2506
|
+
attributes?: {
|
|
2455
2507
|
maxLength?: number | undefined;
|
|
2456
2508
|
minLength?: number | undefined;
|
|
2457
2509
|
pattern?: string | undefined;
|
|
2458
|
-
};
|
|
2510
|
+
} | undefined;
|
|
2459
2511
|
}>, z.ZodObject<{
|
|
2460
2512
|
meta: z.ZodObject<{
|
|
2461
2513
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
@@ -2486,7 +2538,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2486
2538
|
localQueryId: z.ZodOptional<z.ZodString>;
|
|
2487
2539
|
query: z.ZodOptional<z.ZodString>;
|
|
2488
2540
|
responseField: z.ZodString;
|
|
2489
|
-
variables: z.ZodArray<z.ZodObject<{
|
|
2541
|
+
variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2490
2542
|
minLength: z.ZodOptional<z.ZodNumber>;
|
|
2491
2543
|
label: z.ZodOptional<z.ZodString>;
|
|
2492
2544
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
@@ -2507,7 +2559,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2507
2559
|
minLength?: number | undefined;
|
|
2508
2560
|
label?: string | undefined;
|
|
2509
2561
|
defaultValue?: string | undefined;
|
|
2510
|
-
}>, "many"
|
|
2562
|
+
}>, "many">>;
|
|
2511
2563
|
}, "strip", z.ZodTypeAny, {
|
|
2512
2564
|
displayFields: {
|
|
2513
2565
|
label: string;
|
|
@@ -2515,16 +2567,16 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2515
2567
|
labelTranslationKey?: string | undefined;
|
|
2516
2568
|
}[];
|
|
2517
2569
|
responseField: string;
|
|
2518
|
-
|
|
2570
|
+
localQueryId?: string | undefined;
|
|
2571
|
+
query?: string | undefined;
|
|
2572
|
+
variables?: {
|
|
2519
2573
|
type: string;
|
|
2520
2574
|
name: string;
|
|
2521
2575
|
labelTranslationKey?: string | undefined;
|
|
2522
2576
|
minLength?: number | undefined;
|
|
2523
2577
|
label?: string | undefined;
|
|
2524
2578
|
defaultValue?: string | undefined;
|
|
2525
|
-
}[];
|
|
2526
|
-
localQueryId?: string | undefined;
|
|
2527
|
-
query?: string | undefined;
|
|
2579
|
+
}[] | undefined;
|
|
2528
2580
|
}, {
|
|
2529
2581
|
displayFields: {
|
|
2530
2582
|
label: string;
|
|
@@ -2532,16 +2584,16 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2532
2584
|
labelTranslationKey?: string | undefined;
|
|
2533
2585
|
}[];
|
|
2534
2586
|
responseField: string;
|
|
2535
|
-
|
|
2587
|
+
localQueryId?: string | undefined;
|
|
2588
|
+
query?: string | undefined;
|
|
2589
|
+
variables?: {
|
|
2536
2590
|
type: string;
|
|
2537
2591
|
name: string;
|
|
2538
2592
|
labelTranslationKey?: string | undefined;
|
|
2539
2593
|
minLength?: number | undefined;
|
|
2540
2594
|
label?: string | undefined;
|
|
2541
2595
|
defaultValue?: string | undefined;
|
|
2542
|
-
}[];
|
|
2543
|
-
localQueryId?: string | undefined;
|
|
2544
|
-
query?: string | undefined;
|
|
2596
|
+
}[] | undefined;
|
|
2545
2597
|
}>;
|
|
2546
2598
|
}, "strip", z.ZodTypeAny, {
|
|
2547
2599
|
type: "typeaheadSearch";
|
|
@@ -2556,16 +2608,16 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2556
2608
|
labelTranslationKey?: string | undefined;
|
|
2557
2609
|
}[];
|
|
2558
2610
|
responseField: string;
|
|
2559
|
-
|
|
2611
|
+
localQueryId?: string | undefined;
|
|
2612
|
+
query?: string | undefined;
|
|
2613
|
+
variables?: {
|
|
2560
2614
|
type: string;
|
|
2561
2615
|
name: string;
|
|
2562
2616
|
labelTranslationKey?: string | undefined;
|
|
2563
2617
|
minLength?: number | undefined;
|
|
2564
2618
|
label?: string | undefined;
|
|
2565
2619
|
defaultValue?: string | undefined;
|
|
2566
|
-
}[];
|
|
2567
|
-
localQueryId?: string | undefined;
|
|
2568
|
-
query?: string | undefined;
|
|
2620
|
+
}[] | undefined;
|
|
2569
2621
|
};
|
|
2570
2622
|
}, {
|
|
2571
2623
|
type: "typeaheadSearch";
|
|
@@ -2580,16 +2632,16 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2580
2632
|
labelTranslationKey?: string | undefined;
|
|
2581
2633
|
}[];
|
|
2582
2634
|
responseField: string;
|
|
2583
|
-
|
|
2635
|
+
localQueryId?: string | undefined;
|
|
2636
|
+
query?: string | undefined;
|
|
2637
|
+
variables?: {
|
|
2584
2638
|
type: string;
|
|
2585
2639
|
name: string;
|
|
2586
2640
|
labelTranslationKey?: string | undefined;
|
|
2587
2641
|
minLength?: number | undefined;
|
|
2588
2642
|
label?: string | undefined;
|
|
2589
2643
|
defaultValue?: string | undefined;
|
|
2590
|
-
}[];
|
|
2591
|
-
localQueryId?: string | undefined;
|
|
2592
|
-
query?: string | undefined;
|
|
2644
|
+
}[] | undefined;
|
|
2593
2645
|
};
|
|
2594
2646
|
}>, z.ZodObject<{
|
|
2595
2647
|
meta: z.ZodObject<{
|
|
@@ -2604,7 +2656,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2604
2656
|
}>;
|
|
2605
2657
|
} & {
|
|
2606
2658
|
type: z.ZodLiteral<"url">;
|
|
2607
|
-
attributes: z.ZodObject<{
|
|
2659
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
2608
2660
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
2609
2661
|
minLength: z.ZodOptional<z.ZodNumber>;
|
|
2610
2662
|
pattern: z.ZodOptional<z.ZodString>;
|
|
@@ -2616,29 +2668,29 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2616
2668
|
maxLength?: number | undefined;
|
|
2617
2669
|
minLength?: number | undefined;
|
|
2618
2670
|
pattern?: string | undefined;
|
|
2619
|
-
}
|
|
2671
|
+
}>>;
|
|
2620
2672
|
}, "strip", z.ZodTypeAny, {
|
|
2621
2673
|
type: "url";
|
|
2622
2674
|
meta: {
|
|
2623
2675
|
schemaVersion: "1.0";
|
|
2624
2676
|
labelTranslationKey?: string | undefined;
|
|
2625
2677
|
};
|
|
2626
|
-
attributes
|
|
2678
|
+
attributes?: {
|
|
2627
2679
|
maxLength?: number | undefined;
|
|
2628
2680
|
minLength?: number | undefined;
|
|
2629
2681
|
pattern?: string | undefined;
|
|
2630
|
-
};
|
|
2682
|
+
} | undefined;
|
|
2631
2683
|
}, {
|
|
2632
2684
|
type: "url";
|
|
2633
2685
|
meta: {
|
|
2634
2686
|
schemaVersion: "1.0";
|
|
2635
2687
|
labelTranslationKey?: string | undefined;
|
|
2636
2688
|
};
|
|
2637
|
-
attributes
|
|
2689
|
+
attributes?: {
|
|
2638
2690
|
maxLength?: number | undefined;
|
|
2639
2691
|
minLength?: number | undefined;
|
|
2640
2692
|
pattern?: string | undefined;
|
|
2641
|
-
};
|
|
2693
|
+
} | undefined;
|
|
2642
2694
|
}>]>;
|
|
2643
2695
|
export declare const QuestionSchemaMap: Record<z.infer<typeof QuestionTypesEnum>, z.ZodTypeAny>;
|
|
2644
2696
|
export type AnyQuestionType = z.infer<typeof AnyQuestionSchema>;
|