@dmptool/types 1.0.4 → 1.0.5
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 +248 -248
- package/dist/questions/optionBasedQuestions.d.ts +6 -6
- package/dist/questions/optionBasedQuestions.js +1 -1
- package/dist/questions/primitiveQuestions.d.ts +42 -42
- package/dist/questions/primitiveQuestions.js +6 -6
- package/dist/questions/tableQuestions.d.ts +248 -248
- package/dist/questions/tableQuestions.js +1 -1
- package/dist/schemas/anyQuestion.schema.json +11 -22
- package/dist/schemas/anyTableColumnQuestion.schema.json +10 -20
- package/dist/schemas/booleanQuestion.schema.json +1 -2
- package/dist/schemas/currencyQuestion.schema.json +1 -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 +11 -22
- package/dist/schemas/textAreaQuestion.schema.json +1 -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,7 +129,7 @@ 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<{
|
|
@@ -144,21 +144,21 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
144
144
|
meta: {
|
|
145
145
|
denomination?: string | undefined;
|
|
146
146
|
};
|
|
147
|
-
attributes
|
|
147
|
+
attributes?: {
|
|
148
148
|
max?: number | undefined;
|
|
149
149
|
min?: number | undefined;
|
|
150
150
|
step?: number | undefined;
|
|
151
|
-
};
|
|
151
|
+
} | undefined;
|
|
152
152
|
}, {
|
|
153
153
|
type: "currency";
|
|
154
154
|
meta: {
|
|
155
155
|
denomination?: string | undefined;
|
|
156
156
|
};
|
|
157
|
-
attributes
|
|
157
|
+
attributes?: {
|
|
158
158
|
max?: number | undefined;
|
|
159
159
|
min?: number | undefined;
|
|
160
160
|
step?: number | undefined;
|
|
161
|
-
};
|
|
161
|
+
} | undefined;
|
|
162
162
|
}>, z.ZodObject<{
|
|
163
163
|
meta: z.ZodObject<{
|
|
164
164
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
@@ -172,7 +172,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
172
172
|
}>;
|
|
173
173
|
} & {
|
|
174
174
|
type: z.ZodLiteral<"datePicker">;
|
|
175
|
-
attributes: z.ZodObject<{
|
|
175
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
176
176
|
max: z.ZodOptional<z.ZodString>;
|
|
177
177
|
min: z.ZodOptional<z.ZodString>;
|
|
178
178
|
step: z.ZodOptional<z.ZodNumber>;
|
|
@@ -184,29 +184,29 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
184
184
|
max?: string | undefined;
|
|
185
185
|
min?: string | undefined;
|
|
186
186
|
step?: number | undefined;
|
|
187
|
-
}
|
|
187
|
+
}>>;
|
|
188
188
|
}, "strip", z.ZodTypeAny, {
|
|
189
189
|
type: "datePicker";
|
|
190
190
|
meta: {
|
|
191
191
|
schemaVersion: "1.0";
|
|
192
192
|
labelTranslationKey?: string | undefined;
|
|
193
193
|
};
|
|
194
|
-
attributes
|
|
194
|
+
attributes?: {
|
|
195
195
|
max?: string | undefined;
|
|
196
196
|
min?: string | undefined;
|
|
197
197
|
step?: number | undefined;
|
|
198
|
-
};
|
|
198
|
+
} | undefined;
|
|
199
199
|
}, {
|
|
200
200
|
type: "datePicker";
|
|
201
201
|
meta: {
|
|
202
202
|
schemaVersion: "1.0";
|
|
203
203
|
labelTranslationKey?: string | undefined;
|
|
204
204
|
};
|
|
205
|
-
attributes
|
|
205
|
+
attributes?: {
|
|
206
206
|
max?: string | undefined;
|
|
207
207
|
min?: string | undefined;
|
|
208
208
|
step?: number | undefined;
|
|
209
|
-
};
|
|
209
|
+
} | undefined;
|
|
210
210
|
}>, z.ZodObject<{
|
|
211
211
|
meta: z.ZodObject<{
|
|
212
212
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
@@ -411,7 +411,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
411
411
|
}>;
|
|
412
412
|
} & {
|
|
413
413
|
type: z.ZodLiteral<"email">;
|
|
414
|
-
attributes: z.ZodObject<{
|
|
414
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
415
415
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
416
416
|
minLength: z.ZodOptional<z.ZodNumber>;
|
|
417
417
|
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -426,31 +426,31 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
426
426
|
minLength?: number | undefined;
|
|
427
427
|
multiple?: boolean | undefined;
|
|
428
428
|
pattern?: string | undefined;
|
|
429
|
-
}
|
|
429
|
+
}>>;
|
|
430
430
|
}, "strip", z.ZodTypeAny, {
|
|
431
431
|
type: "email";
|
|
432
432
|
meta: {
|
|
433
433
|
schemaVersion: "1.0";
|
|
434
434
|
labelTranslationKey?: string | undefined;
|
|
435
435
|
};
|
|
436
|
-
attributes
|
|
436
|
+
attributes?: {
|
|
437
437
|
maxLength?: number | undefined;
|
|
438
438
|
minLength?: number | undefined;
|
|
439
439
|
multiple?: boolean | undefined;
|
|
440
440
|
pattern?: string | undefined;
|
|
441
|
-
};
|
|
441
|
+
} | undefined;
|
|
442
442
|
}, {
|
|
443
443
|
type: "email";
|
|
444
444
|
meta: {
|
|
445
445
|
schemaVersion: "1.0";
|
|
446
446
|
labelTranslationKey?: string | undefined;
|
|
447
447
|
};
|
|
448
|
-
attributes
|
|
448
|
+
attributes?: {
|
|
449
449
|
maxLength?: number | undefined;
|
|
450
450
|
minLength?: number | undefined;
|
|
451
451
|
multiple?: boolean | undefined;
|
|
452
452
|
pattern?: string | undefined;
|
|
453
|
-
};
|
|
453
|
+
} | undefined;
|
|
454
454
|
}>, z.ZodObject<{
|
|
455
455
|
meta: z.ZodObject<{
|
|
456
456
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
@@ -481,7 +481,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
481
481
|
localQueryId: z.ZodOptional<z.ZodString>;
|
|
482
482
|
query: z.ZodOptional<z.ZodString>;
|
|
483
483
|
responseField: z.ZodString;
|
|
484
|
-
variables: z.ZodArray<z.ZodObject<{
|
|
484
|
+
variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
485
485
|
minLength: z.ZodOptional<z.ZodNumber>;
|
|
486
486
|
label: z.ZodOptional<z.ZodString>;
|
|
487
487
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
@@ -502,7 +502,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
502
502
|
minLength?: number | undefined;
|
|
503
503
|
label?: string | undefined;
|
|
504
504
|
defaultValue?: string | undefined;
|
|
505
|
-
}>, "many"
|
|
505
|
+
}>, "many">>;
|
|
506
506
|
}, "strip", z.ZodTypeAny, {
|
|
507
507
|
displayFields: {
|
|
508
508
|
label: string;
|
|
@@ -510,16 +510,16 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
510
510
|
labelTranslationKey?: string | undefined;
|
|
511
511
|
}[];
|
|
512
512
|
responseField: string;
|
|
513
|
-
|
|
513
|
+
localQueryId?: string | undefined;
|
|
514
|
+
query?: string | undefined;
|
|
515
|
+
variables?: {
|
|
514
516
|
type: string;
|
|
515
517
|
name: string;
|
|
516
518
|
labelTranslationKey?: string | undefined;
|
|
517
519
|
minLength?: number | undefined;
|
|
518
520
|
label?: string | undefined;
|
|
519
521
|
defaultValue?: string | undefined;
|
|
520
|
-
}[];
|
|
521
|
-
localQueryId?: string | undefined;
|
|
522
|
-
query?: string | undefined;
|
|
522
|
+
}[] | undefined;
|
|
523
523
|
}, {
|
|
524
524
|
displayFields: {
|
|
525
525
|
label: string;
|
|
@@ -527,16 +527,16 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
527
527
|
labelTranslationKey?: string | undefined;
|
|
528
528
|
}[];
|
|
529
529
|
responseField: string;
|
|
530
|
-
|
|
530
|
+
localQueryId?: string | undefined;
|
|
531
|
+
query?: string | undefined;
|
|
532
|
+
variables?: {
|
|
531
533
|
type: string;
|
|
532
534
|
name: string;
|
|
533
535
|
labelTranslationKey?: string | undefined;
|
|
534
536
|
minLength?: number | undefined;
|
|
535
537
|
label?: string | undefined;
|
|
536
538
|
defaultValue?: string | undefined;
|
|
537
|
-
}[];
|
|
538
|
-
localQueryId?: string | undefined;
|
|
539
|
-
query?: string | undefined;
|
|
539
|
+
}[] | undefined;
|
|
540
540
|
}>;
|
|
541
541
|
attributes: z.ZodObject<{
|
|
542
542
|
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -561,16 +561,16 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
561
561
|
labelTranslationKey?: string | undefined;
|
|
562
562
|
}[];
|
|
563
563
|
responseField: string;
|
|
564
|
-
|
|
564
|
+
localQueryId?: string | undefined;
|
|
565
|
+
query?: string | undefined;
|
|
566
|
+
variables?: {
|
|
565
567
|
type: string;
|
|
566
568
|
name: string;
|
|
567
569
|
labelTranslationKey?: string | undefined;
|
|
568
570
|
minLength?: number | undefined;
|
|
569
571
|
label?: string | undefined;
|
|
570
572
|
defaultValue?: string | undefined;
|
|
571
|
-
}[];
|
|
572
|
-
localQueryId?: string | undefined;
|
|
573
|
-
query?: string | undefined;
|
|
573
|
+
}[] | undefined;
|
|
574
574
|
};
|
|
575
575
|
}, {
|
|
576
576
|
type: "filteredSearch";
|
|
@@ -588,16 +588,16 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
588
588
|
labelTranslationKey?: string | undefined;
|
|
589
589
|
}[];
|
|
590
590
|
responseField: string;
|
|
591
|
-
|
|
591
|
+
localQueryId?: string | undefined;
|
|
592
|
+
query?: string | undefined;
|
|
593
|
+
variables?: {
|
|
592
594
|
type: string;
|
|
593
595
|
name: string;
|
|
594
596
|
labelTranslationKey?: string | undefined;
|
|
595
597
|
minLength?: number | undefined;
|
|
596
598
|
label?: string | undefined;
|
|
597
599
|
defaultValue?: string | undefined;
|
|
598
|
-
}[];
|
|
599
|
-
localQueryId?: string | undefined;
|
|
600
|
-
query?: string | undefined;
|
|
600
|
+
}[] | undefined;
|
|
601
601
|
};
|
|
602
602
|
}>, z.ZodObject<{
|
|
603
603
|
meta: z.ZodObject<{
|
|
@@ -612,7 +612,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
612
612
|
}>;
|
|
613
613
|
} & {
|
|
614
614
|
type: z.ZodLiteral<"number">;
|
|
615
|
-
attributes: z.ZodObject<{
|
|
615
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
616
616
|
max: z.ZodOptional<z.ZodNumber>;
|
|
617
617
|
min: z.ZodOptional<z.ZodNumber>;
|
|
618
618
|
step: z.ZodOptional<z.ZodNumber>;
|
|
@@ -624,29 +624,29 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
624
624
|
max?: number | undefined;
|
|
625
625
|
min?: number | undefined;
|
|
626
626
|
step?: number | undefined;
|
|
627
|
-
}
|
|
627
|
+
}>>;
|
|
628
628
|
}, "strip", z.ZodTypeAny, {
|
|
629
629
|
type: "number";
|
|
630
630
|
meta: {
|
|
631
631
|
schemaVersion: "1.0";
|
|
632
632
|
labelTranslationKey?: string | undefined;
|
|
633
633
|
};
|
|
634
|
-
attributes
|
|
634
|
+
attributes?: {
|
|
635
635
|
max?: number | undefined;
|
|
636
636
|
min?: number | undefined;
|
|
637
637
|
step?: number | undefined;
|
|
638
|
-
};
|
|
638
|
+
} | undefined;
|
|
639
639
|
}, {
|
|
640
640
|
type: "number";
|
|
641
641
|
meta: {
|
|
642
642
|
schemaVersion: "1.0";
|
|
643
643
|
labelTranslationKey?: string | undefined;
|
|
644
644
|
};
|
|
645
|
-
attributes
|
|
645
|
+
attributes?: {
|
|
646
646
|
max?: number | undefined;
|
|
647
647
|
min?: number | undefined;
|
|
648
648
|
step?: number | undefined;
|
|
649
|
-
};
|
|
649
|
+
} | undefined;
|
|
650
650
|
}>, z.ZodObject<{
|
|
651
651
|
meta: z.ZodObject<{
|
|
652
652
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
@@ -763,13 +763,13 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
763
763
|
selected?: boolean | undefined;
|
|
764
764
|
};
|
|
765
765
|
}>, "many">;
|
|
766
|
-
attributes: z.ZodObject<{
|
|
766
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
767
767
|
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
768
768
|
}, "strip", z.ZodTypeAny, {
|
|
769
769
|
multiple?: boolean | undefined;
|
|
770
770
|
}, {
|
|
771
771
|
multiple?: boolean | undefined;
|
|
772
|
-
}
|
|
772
|
+
}>>;
|
|
773
773
|
}, "strip", z.ZodTypeAny, {
|
|
774
774
|
type: "selectBox";
|
|
775
775
|
options: {
|
|
@@ -784,9 +784,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
784
784
|
schemaVersion: "1.0";
|
|
785
785
|
labelTranslationKey?: string | undefined;
|
|
786
786
|
};
|
|
787
|
-
attributes
|
|
787
|
+
attributes?: {
|
|
788
788
|
multiple?: boolean | undefined;
|
|
789
|
-
};
|
|
789
|
+
} | undefined;
|
|
790
790
|
}, {
|
|
791
791
|
type: "selectBox";
|
|
792
792
|
options: {
|
|
@@ -801,9 +801,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
801
801
|
schemaVersion: "1.0";
|
|
802
802
|
labelTranslationKey?: string | undefined;
|
|
803
803
|
};
|
|
804
|
-
attributes
|
|
804
|
+
attributes?: {
|
|
805
805
|
multiple?: boolean | undefined;
|
|
806
|
-
};
|
|
806
|
+
} | undefined;
|
|
807
807
|
}>, z.ZodObject<{
|
|
808
808
|
meta: z.ZodObject<{
|
|
809
809
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
@@ -830,31 +830,31 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
830
830
|
}>;
|
|
831
831
|
} & {
|
|
832
832
|
type: z.ZodLiteral<"boolean">;
|
|
833
|
-
attributes: z.ZodObject<{
|
|
833
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
834
834
|
checked: z.ZodOptional<z.ZodBoolean>;
|
|
835
835
|
}, "strip", z.ZodTypeAny, {
|
|
836
836
|
checked?: boolean | undefined;
|
|
837
837
|
}, {
|
|
838
838
|
checked?: boolean | undefined;
|
|
839
|
-
}
|
|
839
|
+
}>>;
|
|
840
840
|
}, "strip", z.ZodTypeAny, {
|
|
841
841
|
type: "boolean";
|
|
842
842
|
meta: {
|
|
843
843
|
schemaVersion: "1.0";
|
|
844
844
|
labelTranslationKey?: string | undefined;
|
|
845
845
|
};
|
|
846
|
-
attributes
|
|
846
|
+
attributes?: {
|
|
847
847
|
checked?: boolean | undefined;
|
|
848
|
-
};
|
|
848
|
+
} | undefined;
|
|
849
849
|
}, {
|
|
850
850
|
type: "boolean";
|
|
851
851
|
meta: {
|
|
852
852
|
schemaVersion: "1.0";
|
|
853
853
|
labelTranslationKey?: string | undefined;
|
|
854
854
|
};
|
|
855
|
-
attributes
|
|
855
|
+
attributes?: {
|
|
856
856
|
checked?: boolean | undefined;
|
|
857
|
-
};
|
|
857
|
+
} | undefined;
|
|
858
858
|
}>, z.ZodObject<{
|
|
859
859
|
meta: z.ZodObject<{
|
|
860
860
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
@@ -928,7 +928,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
928
928
|
labelTranslationKey?: string | undefined;
|
|
929
929
|
};
|
|
930
930
|
}>, z.ZodObject<{
|
|
931
|
-
attributes: z.ZodObject<{
|
|
931
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
932
932
|
max: z.ZodOptional<z.ZodNumber>;
|
|
933
933
|
min: z.ZodOptional<z.ZodNumber>;
|
|
934
934
|
step: z.ZodOptional<z.ZodNumber>;
|
|
@@ -940,7 +940,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
940
940
|
max?: number | undefined;
|
|
941
941
|
min?: number | undefined;
|
|
942
942
|
step?: number | undefined;
|
|
943
|
-
}
|
|
943
|
+
}>>;
|
|
944
944
|
} & {
|
|
945
945
|
type: z.ZodLiteral<"currency">;
|
|
946
946
|
meta: z.ZodObject<{
|
|
@@ -955,21 +955,21 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
955
955
|
meta: {
|
|
956
956
|
denomination?: string | undefined;
|
|
957
957
|
};
|
|
958
|
-
attributes
|
|
958
|
+
attributes?: {
|
|
959
959
|
max?: number | undefined;
|
|
960
960
|
min?: number | undefined;
|
|
961
961
|
step?: number | undefined;
|
|
962
|
-
};
|
|
962
|
+
} | undefined;
|
|
963
963
|
}, {
|
|
964
964
|
type: "currency";
|
|
965
965
|
meta: {
|
|
966
966
|
denomination?: string | undefined;
|
|
967
967
|
};
|
|
968
|
-
attributes
|
|
968
|
+
attributes?: {
|
|
969
969
|
max?: number | undefined;
|
|
970
970
|
min?: number | undefined;
|
|
971
971
|
step?: number | undefined;
|
|
972
|
-
};
|
|
972
|
+
} | undefined;
|
|
973
973
|
}>, z.ZodObject<{
|
|
974
974
|
meta: z.ZodObject<{
|
|
975
975
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
@@ -983,7 +983,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
983
983
|
}>;
|
|
984
984
|
} & {
|
|
985
985
|
type: z.ZodLiteral<"datePicker">;
|
|
986
|
-
attributes: z.ZodObject<{
|
|
986
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
987
987
|
max: z.ZodOptional<z.ZodString>;
|
|
988
988
|
min: z.ZodOptional<z.ZodString>;
|
|
989
989
|
step: z.ZodOptional<z.ZodNumber>;
|
|
@@ -995,29 +995,29 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
995
995
|
max?: string | undefined;
|
|
996
996
|
min?: string | undefined;
|
|
997
997
|
step?: number | undefined;
|
|
998
|
-
}
|
|
998
|
+
}>>;
|
|
999
999
|
}, "strip", z.ZodTypeAny, {
|
|
1000
1000
|
type: "datePicker";
|
|
1001
1001
|
meta: {
|
|
1002
1002
|
schemaVersion: "1.0";
|
|
1003
1003
|
labelTranslationKey?: string | undefined;
|
|
1004
1004
|
};
|
|
1005
|
-
attributes
|
|
1005
|
+
attributes?: {
|
|
1006
1006
|
max?: string | undefined;
|
|
1007
1007
|
min?: string | undefined;
|
|
1008
1008
|
step?: number | undefined;
|
|
1009
|
-
};
|
|
1009
|
+
} | undefined;
|
|
1010
1010
|
}, {
|
|
1011
1011
|
type: "datePicker";
|
|
1012
1012
|
meta: {
|
|
1013
1013
|
schemaVersion: "1.0";
|
|
1014
1014
|
labelTranslationKey?: string | undefined;
|
|
1015
1015
|
};
|
|
1016
|
-
attributes
|
|
1016
|
+
attributes?: {
|
|
1017
1017
|
max?: string | undefined;
|
|
1018
1018
|
min?: string | undefined;
|
|
1019
1019
|
step?: number | undefined;
|
|
1020
|
-
};
|
|
1020
|
+
} | undefined;
|
|
1021
1021
|
}>, z.ZodObject<{
|
|
1022
1022
|
meta: z.ZodObject<{
|
|
1023
1023
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
@@ -1222,7 +1222,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1222
1222
|
}>;
|
|
1223
1223
|
} & {
|
|
1224
1224
|
type: z.ZodLiteral<"email">;
|
|
1225
|
-
attributes: z.ZodObject<{
|
|
1225
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
1226
1226
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
1227
1227
|
minLength: z.ZodOptional<z.ZodNumber>;
|
|
1228
1228
|
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1237,31 +1237,31 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1237
1237
|
minLength?: number | undefined;
|
|
1238
1238
|
multiple?: boolean | undefined;
|
|
1239
1239
|
pattern?: string | undefined;
|
|
1240
|
-
}
|
|
1240
|
+
}>>;
|
|
1241
1241
|
}, "strip", z.ZodTypeAny, {
|
|
1242
1242
|
type: "email";
|
|
1243
1243
|
meta: {
|
|
1244
1244
|
schemaVersion: "1.0";
|
|
1245
1245
|
labelTranslationKey?: string | undefined;
|
|
1246
1246
|
};
|
|
1247
|
-
attributes
|
|
1247
|
+
attributes?: {
|
|
1248
1248
|
maxLength?: number | undefined;
|
|
1249
1249
|
minLength?: number | undefined;
|
|
1250
1250
|
multiple?: boolean | undefined;
|
|
1251
1251
|
pattern?: string | undefined;
|
|
1252
|
-
};
|
|
1252
|
+
} | undefined;
|
|
1253
1253
|
}, {
|
|
1254
1254
|
type: "email";
|
|
1255
1255
|
meta: {
|
|
1256
1256
|
schemaVersion: "1.0";
|
|
1257
1257
|
labelTranslationKey?: string | undefined;
|
|
1258
1258
|
};
|
|
1259
|
-
attributes
|
|
1259
|
+
attributes?: {
|
|
1260
1260
|
maxLength?: number | undefined;
|
|
1261
1261
|
minLength?: number | undefined;
|
|
1262
1262
|
multiple?: boolean | undefined;
|
|
1263
1263
|
pattern?: string | undefined;
|
|
1264
|
-
};
|
|
1264
|
+
} | undefined;
|
|
1265
1265
|
}>, z.ZodObject<{
|
|
1266
1266
|
meta: z.ZodObject<{
|
|
1267
1267
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
@@ -1292,7 +1292,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1292
1292
|
localQueryId: z.ZodOptional<z.ZodString>;
|
|
1293
1293
|
query: z.ZodOptional<z.ZodString>;
|
|
1294
1294
|
responseField: z.ZodString;
|
|
1295
|
-
variables: z.ZodArray<z.ZodObject<{
|
|
1295
|
+
variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1296
1296
|
minLength: z.ZodOptional<z.ZodNumber>;
|
|
1297
1297
|
label: z.ZodOptional<z.ZodString>;
|
|
1298
1298
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
@@ -1313,7 +1313,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1313
1313
|
minLength?: number | undefined;
|
|
1314
1314
|
label?: string | undefined;
|
|
1315
1315
|
defaultValue?: string | undefined;
|
|
1316
|
-
}>, "many"
|
|
1316
|
+
}>, "many">>;
|
|
1317
1317
|
}, "strip", z.ZodTypeAny, {
|
|
1318
1318
|
displayFields: {
|
|
1319
1319
|
label: string;
|
|
@@ -1321,16 +1321,16 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1321
1321
|
labelTranslationKey?: string | undefined;
|
|
1322
1322
|
}[];
|
|
1323
1323
|
responseField: string;
|
|
1324
|
-
|
|
1324
|
+
localQueryId?: string | undefined;
|
|
1325
|
+
query?: string | undefined;
|
|
1326
|
+
variables?: {
|
|
1325
1327
|
type: string;
|
|
1326
1328
|
name: string;
|
|
1327
1329
|
labelTranslationKey?: string | undefined;
|
|
1328
1330
|
minLength?: number | undefined;
|
|
1329
1331
|
label?: string | undefined;
|
|
1330
1332
|
defaultValue?: string | undefined;
|
|
1331
|
-
}[];
|
|
1332
|
-
localQueryId?: string | undefined;
|
|
1333
|
-
query?: string | undefined;
|
|
1333
|
+
}[] | undefined;
|
|
1334
1334
|
}, {
|
|
1335
1335
|
displayFields: {
|
|
1336
1336
|
label: string;
|
|
@@ -1338,16 +1338,16 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1338
1338
|
labelTranslationKey?: string | undefined;
|
|
1339
1339
|
}[];
|
|
1340
1340
|
responseField: string;
|
|
1341
|
-
|
|
1341
|
+
localQueryId?: string | undefined;
|
|
1342
|
+
query?: string | undefined;
|
|
1343
|
+
variables?: {
|
|
1342
1344
|
type: string;
|
|
1343
1345
|
name: string;
|
|
1344
1346
|
labelTranslationKey?: string | undefined;
|
|
1345
1347
|
minLength?: number | undefined;
|
|
1346
1348
|
label?: string | undefined;
|
|
1347
1349
|
defaultValue?: string | undefined;
|
|
1348
|
-
}[];
|
|
1349
|
-
localQueryId?: string | undefined;
|
|
1350
|
-
query?: string | undefined;
|
|
1350
|
+
}[] | undefined;
|
|
1351
1351
|
}>;
|
|
1352
1352
|
attributes: z.ZodObject<{
|
|
1353
1353
|
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1372,16 +1372,16 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1372
1372
|
labelTranslationKey?: string | undefined;
|
|
1373
1373
|
}[];
|
|
1374
1374
|
responseField: string;
|
|
1375
|
-
|
|
1375
|
+
localQueryId?: string | undefined;
|
|
1376
|
+
query?: string | undefined;
|
|
1377
|
+
variables?: {
|
|
1376
1378
|
type: string;
|
|
1377
1379
|
name: string;
|
|
1378
1380
|
labelTranslationKey?: string | undefined;
|
|
1379
1381
|
minLength?: number | undefined;
|
|
1380
1382
|
label?: string | undefined;
|
|
1381
1383
|
defaultValue?: string | undefined;
|
|
1382
|
-
}[];
|
|
1383
|
-
localQueryId?: string | undefined;
|
|
1384
|
-
query?: string | undefined;
|
|
1384
|
+
}[] | undefined;
|
|
1385
1385
|
};
|
|
1386
1386
|
}, {
|
|
1387
1387
|
type: "filteredSearch";
|
|
@@ -1399,16 +1399,16 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1399
1399
|
labelTranslationKey?: string | undefined;
|
|
1400
1400
|
}[];
|
|
1401
1401
|
responseField: string;
|
|
1402
|
-
|
|
1402
|
+
localQueryId?: string | undefined;
|
|
1403
|
+
query?: string | undefined;
|
|
1404
|
+
variables?: {
|
|
1403
1405
|
type: string;
|
|
1404
1406
|
name: string;
|
|
1405
1407
|
labelTranslationKey?: string | undefined;
|
|
1406
1408
|
minLength?: number | undefined;
|
|
1407
1409
|
label?: string | undefined;
|
|
1408
1410
|
defaultValue?: string | undefined;
|
|
1409
|
-
}[];
|
|
1410
|
-
localQueryId?: string | undefined;
|
|
1411
|
-
query?: string | undefined;
|
|
1411
|
+
}[] | undefined;
|
|
1412
1412
|
};
|
|
1413
1413
|
}>, z.ZodObject<{
|
|
1414
1414
|
meta: z.ZodObject<{
|
|
@@ -1423,7 +1423,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1423
1423
|
}>;
|
|
1424
1424
|
} & {
|
|
1425
1425
|
type: z.ZodLiteral<"number">;
|
|
1426
|
-
attributes: z.ZodObject<{
|
|
1426
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
1427
1427
|
max: z.ZodOptional<z.ZodNumber>;
|
|
1428
1428
|
min: z.ZodOptional<z.ZodNumber>;
|
|
1429
1429
|
step: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1435,29 +1435,29 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1435
1435
|
max?: number | undefined;
|
|
1436
1436
|
min?: number | undefined;
|
|
1437
1437
|
step?: number | undefined;
|
|
1438
|
-
}
|
|
1438
|
+
}>>;
|
|
1439
1439
|
}, "strip", z.ZodTypeAny, {
|
|
1440
1440
|
type: "number";
|
|
1441
1441
|
meta: {
|
|
1442
1442
|
schemaVersion: "1.0";
|
|
1443
1443
|
labelTranslationKey?: string | undefined;
|
|
1444
1444
|
};
|
|
1445
|
-
attributes
|
|
1445
|
+
attributes?: {
|
|
1446
1446
|
max?: number | undefined;
|
|
1447
1447
|
min?: number | undefined;
|
|
1448
1448
|
step?: number | undefined;
|
|
1449
|
-
};
|
|
1449
|
+
} | undefined;
|
|
1450
1450
|
}, {
|
|
1451
1451
|
type: "number";
|
|
1452
1452
|
meta: {
|
|
1453
1453
|
schemaVersion: "1.0";
|
|
1454
1454
|
labelTranslationKey?: string | undefined;
|
|
1455
1455
|
};
|
|
1456
|
-
attributes
|
|
1456
|
+
attributes?: {
|
|
1457
1457
|
max?: number | undefined;
|
|
1458
1458
|
min?: number | undefined;
|
|
1459
1459
|
step?: number | undefined;
|
|
1460
|
-
};
|
|
1460
|
+
} | undefined;
|
|
1461
1461
|
}>, z.ZodObject<{
|
|
1462
1462
|
meta: z.ZodObject<{
|
|
1463
1463
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
@@ -1574,13 +1574,13 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1574
1574
|
selected?: boolean | undefined;
|
|
1575
1575
|
};
|
|
1576
1576
|
}>, "many">;
|
|
1577
|
-
attributes: z.ZodObject<{
|
|
1577
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
1578
1578
|
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
1579
1579
|
}, "strip", z.ZodTypeAny, {
|
|
1580
1580
|
multiple?: boolean | undefined;
|
|
1581
1581
|
}, {
|
|
1582
1582
|
multiple?: boolean | undefined;
|
|
1583
|
-
}
|
|
1583
|
+
}>>;
|
|
1584
1584
|
}, "strip", z.ZodTypeAny, {
|
|
1585
1585
|
type: "selectBox";
|
|
1586
1586
|
options: {
|
|
@@ -1595,9 +1595,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1595
1595
|
schemaVersion: "1.0";
|
|
1596
1596
|
labelTranslationKey?: string | undefined;
|
|
1597
1597
|
};
|
|
1598
|
-
attributes
|
|
1598
|
+
attributes?: {
|
|
1599
1599
|
multiple?: boolean | undefined;
|
|
1600
|
-
};
|
|
1600
|
+
} | undefined;
|
|
1601
1601
|
}, {
|
|
1602
1602
|
type: "selectBox";
|
|
1603
1603
|
options: {
|
|
@@ -1612,12 +1612,12 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1612
1612
|
schemaVersion: "1.0";
|
|
1613
1613
|
labelTranslationKey?: string | undefined;
|
|
1614
1614
|
};
|
|
1615
|
-
attributes
|
|
1615
|
+
attributes?: {
|
|
1616
1616
|
multiple?: boolean | undefined;
|
|
1617
|
-
};
|
|
1617
|
+
} | undefined;
|
|
1618
1618
|
}>, z.ZodObject<{} & {
|
|
1619
1619
|
type: z.ZodLiteral<"textArea">;
|
|
1620
|
-
attributes: z.ZodObject<{
|
|
1620
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
1621
1621
|
cols: z.ZodOptional<z.ZodNumber>;
|
|
1622
1622
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
1623
1623
|
minLength: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1632,7 +1632,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1632
1632
|
minLength?: number | undefined;
|
|
1633
1633
|
cols?: number | undefined;
|
|
1634
1634
|
rows?: number | undefined;
|
|
1635
|
-
}
|
|
1635
|
+
}>>;
|
|
1636
1636
|
meta: z.ZodObject<{
|
|
1637
1637
|
asRichText: z.ZodOptional<z.ZodBoolean>;
|
|
1638
1638
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1645,23 +1645,23 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1645
1645
|
meta: {
|
|
1646
1646
|
asRichText?: boolean | undefined;
|
|
1647
1647
|
};
|
|
1648
|
-
attributes
|
|
1648
|
+
attributes?: {
|
|
1649
1649
|
maxLength?: number | undefined;
|
|
1650
1650
|
minLength?: number | undefined;
|
|
1651
1651
|
cols?: number | undefined;
|
|
1652
1652
|
rows?: number | undefined;
|
|
1653
|
-
};
|
|
1653
|
+
} | undefined;
|
|
1654
1654
|
}, {
|
|
1655
1655
|
type: "textArea";
|
|
1656
1656
|
meta: {
|
|
1657
1657
|
asRichText?: boolean | undefined;
|
|
1658
1658
|
};
|
|
1659
|
-
attributes
|
|
1659
|
+
attributes?: {
|
|
1660
1660
|
maxLength?: number | undefined;
|
|
1661
1661
|
minLength?: number | undefined;
|
|
1662
1662
|
cols?: number | undefined;
|
|
1663
1663
|
rows?: number | undefined;
|
|
1664
|
-
};
|
|
1664
|
+
} | undefined;
|
|
1665
1665
|
}>, z.ZodObject<{
|
|
1666
1666
|
meta: z.ZodObject<{
|
|
1667
1667
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
@@ -1675,7 +1675,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1675
1675
|
}>;
|
|
1676
1676
|
} & {
|
|
1677
1677
|
type: z.ZodLiteral<"text">;
|
|
1678
|
-
attributes: z.ZodObject<{
|
|
1678
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
1679
1679
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
1680
1680
|
minLength: z.ZodOptional<z.ZodNumber>;
|
|
1681
1681
|
pattern: z.ZodOptional<z.ZodString>;
|
|
@@ -1687,29 +1687,29 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1687
1687
|
maxLength?: number | undefined;
|
|
1688
1688
|
minLength?: number | undefined;
|
|
1689
1689
|
pattern?: string | undefined;
|
|
1690
|
-
}
|
|
1690
|
+
}>>;
|
|
1691
1691
|
}, "strip", z.ZodTypeAny, {
|
|
1692
1692
|
type: "text";
|
|
1693
1693
|
meta: {
|
|
1694
1694
|
schemaVersion: "1.0";
|
|
1695
1695
|
labelTranslationKey?: string | undefined;
|
|
1696
1696
|
};
|
|
1697
|
-
attributes
|
|
1697
|
+
attributes?: {
|
|
1698
1698
|
maxLength?: number | undefined;
|
|
1699
1699
|
minLength?: number | undefined;
|
|
1700
1700
|
pattern?: string | undefined;
|
|
1701
|
-
};
|
|
1701
|
+
} | undefined;
|
|
1702
1702
|
}, {
|
|
1703
1703
|
type: "text";
|
|
1704
1704
|
meta: {
|
|
1705
1705
|
schemaVersion: "1.0";
|
|
1706
1706
|
labelTranslationKey?: string | undefined;
|
|
1707
1707
|
};
|
|
1708
|
-
attributes
|
|
1708
|
+
attributes?: {
|
|
1709
1709
|
maxLength?: number | undefined;
|
|
1710
1710
|
minLength?: number | undefined;
|
|
1711
1711
|
pattern?: string | undefined;
|
|
1712
|
-
};
|
|
1712
|
+
} | undefined;
|
|
1713
1713
|
}>, z.ZodObject<{
|
|
1714
1714
|
meta: z.ZodObject<{
|
|
1715
1715
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
@@ -1740,7 +1740,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1740
1740
|
localQueryId: z.ZodOptional<z.ZodString>;
|
|
1741
1741
|
query: z.ZodOptional<z.ZodString>;
|
|
1742
1742
|
responseField: z.ZodString;
|
|
1743
|
-
variables: z.ZodArray<z.ZodObject<{
|
|
1743
|
+
variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1744
1744
|
minLength: z.ZodOptional<z.ZodNumber>;
|
|
1745
1745
|
label: z.ZodOptional<z.ZodString>;
|
|
1746
1746
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
@@ -1761,7 +1761,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1761
1761
|
minLength?: number | undefined;
|
|
1762
1762
|
label?: string | undefined;
|
|
1763
1763
|
defaultValue?: string | undefined;
|
|
1764
|
-
}>, "many"
|
|
1764
|
+
}>, "many">>;
|
|
1765
1765
|
}, "strip", z.ZodTypeAny, {
|
|
1766
1766
|
displayFields: {
|
|
1767
1767
|
label: string;
|
|
@@ -1769,16 +1769,16 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1769
1769
|
labelTranslationKey?: string | undefined;
|
|
1770
1770
|
}[];
|
|
1771
1771
|
responseField: string;
|
|
1772
|
-
|
|
1772
|
+
localQueryId?: string | undefined;
|
|
1773
|
+
query?: string | undefined;
|
|
1774
|
+
variables?: {
|
|
1773
1775
|
type: string;
|
|
1774
1776
|
name: string;
|
|
1775
1777
|
labelTranslationKey?: string | undefined;
|
|
1776
1778
|
minLength?: number | undefined;
|
|
1777
1779
|
label?: string | undefined;
|
|
1778
1780
|
defaultValue?: string | undefined;
|
|
1779
|
-
}[];
|
|
1780
|
-
localQueryId?: string | undefined;
|
|
1781
|
-
query?: string | undefined;
|
|
1781
|
+
}[] | undefined;
|
|
1782
1782
|
}, {
|
|
1783
1783
|
displayFields: {
|
|
1784
1784
|
label: string;
|
|
@@ -1786,16 +1786,16 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1786
1786
|
labelTranslationKey?: string | undefined;
|
|
1787
1787
|
}[];
|
|
1788
1788
|
responseField: string;
|
|
1789
|
-
|
|
1789
|
+
localQueryId?: string | undefined;
|
|
1790
|
+
query?: string | undefined;
|
|
1791
|
+
variables?: {
|
|
1790
1792
|
type: string;
|
|
1791
1793
|
name: string;
|
|
1792
1794
|
labelTranslationKey?: string | undefined;
|
|
1793
1795
|
minLength?: number | undefined;
|
|
1794
1796
|
label?: string | undefined;
|
|
1795
1797
|
defaultValue?: string | undefined;
|
|
1796
|
-
}[];
|
|
1797
|
-
localQueryId?: string | undefined;
|
|
1798
|
-
query?: string | undefined;
|
|
1798
|
+
}[] | undefined;
|
|
1799
1799
|
}>;
|
|
1800
1800
|
}, "strip", z.ZodTypeAny, {
|
|
1801
1801
|
type: "typeaheadSearch";
|
|
@@ -1810,16 +1810,16 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1810
1810
|
labelTranslationKey?: string | undefined;
|
|
1811
1811
|
}[];
|
|
1812
1812
|
responseField: string;
|
|
1813
|
-
|
|
1813
|
+
localQueryId?: string | undefined;
|
|
1814
|
+
query?: string | undefined;
|
|
1815
|
+
variables?: {
|
|
1814
1816
|
type: string;
|
|
1815
1817
|
name: string;
|
|
1816
1818
|
labelTranslationKey?: string | undefined;
|
|
1817
1819
|
minLength?: number | undefined;
|
|
1818
1820
|
label?: string | undefined;
|
|
1819
1821
|
defaultValue?: string | undefined;
|
|
1820
|
-
}[];
|
|
1821
|
-
localQueryId?: string | undefined;
|
|
1822
|
-
query?: string | undefined;
|
|
1822
|
+
}[] | undefined;
|
|
1823
1823
|
};
|
|
1824
1824
|
}, {
|
|
1825
1825
|
type: "typeaheadSearch";
|
|
@@ -1834,16 +1834,16 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1834
1834
|
labelTranslationKey?: string | undefined;
|
|
1835
1835
|
}[];
|
|
1836
1836
|
responseField: string;
|
|
1837
|
-
|
|
1837
|
+
localQueryId?: string | undefined;
|
|
1838
|
+
query?: string | undefined;
|
|
1839
|
+
variables?: {
|
|
1838
1840
|
type: string;
|
|
1839
1841
|
name: string;
|
|
1840
1842
|
labelTranslationKey?: string | undefined;
|
|
1841
1843
|
minLength?: number | undefined;
|
|
1842
1844
|
label?: string | undefined;
|
|
1843
1845
|
defaultValue?: string | undefined;
|
|
1844
|
-
}[];
|
|
1845
|
-
localQueryId?: string | undefined;
|
|
1846
|
-
query?: string | undefined;
|
|
1846
|
+
}[] | undefined;
|
|
1847
1847
|
};
|
|
1848
1848
|
}>, z.ZodObject<{
|
|
1849
1849
|
meta: z.ZodObject<{
|
|
@@ -1858,7 +1858,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1858
1858
|
}>;
|
|
1859
1859
|
} & {
|
|
1860
1860
|
type: z.ZodLiteral<"url">;
|
|
1861
|
-
attributes: z.ZodObject<{
|
|
1861
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
1862
1862
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
1863
1863
|
minLength: z.ZodOptional<z.ZodNumber>;
|
|
1864
1864
|
pattern: z.ZodOptional<z.ZodString>;
|
|
@@ -1870,31 +1870,31 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1870
1870
|
maxLength?: number | undefined;
|
|
1871
1871
|
minLength?: number | undefined;
|
|
1872
1872
|
pattern?: string | undefined;
|
|
1873
|
-
}
|
|
1873
|
+
}>>;
|
|
1874
1874
|
}, "strip", z.ZodTypeAny, {
|
|
1875
1875
|
type: "url";
|
|
1876
1876
|
meta: {
|
|
1877
1877
|
schemaVersion: "1.0";
|
|
1878
1878
|
labelTranslationKey?: string | undefined;
|
|
1879
1879
|
};
|
|
1880
|
-
attributes
|
|
1880
|
+
attributes?: {
|
|
1881
1881
|
maxLength?: number | undefined;
|
|
1882
1882
|
minLength?: number | undefined;
|
|
1883
1883
|
pattern?: string | undefined;
|
|
1884
|
-
};
|
|
1884
|
+
} | undefined;
|
|
1885
1885
|
}, {
|
|
1886
1886
|
type: "url";
|
|
1887
1887
|
meta: {
|
|
1888
1888
|
schemaVersion: "1.0";
|
|
1889
1889
|
labelTranslationKey?: string | undefined;
|
|
1890
1890
|
};
|
|
1891
|
-
attributes
|
|
1891
|
+
attributes?: {
|
|
1892
1892
|
maxLength?: number | undefined;
|
|
1893
1893
|
minLength?: number | undefined;
|
|
1894
1894
|
pattern?: string | undefined;
|
|
1895
|
-
};
|
|
1895
|
+
} | undefined;
|
|
1896
1896
|
}>]>, "many">;
|
|
1897
|
-
attributes: z.ZodObject<{
|
|
1897
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
1898
1898
|
canAddRows: z.ZodOptional<z.ZodBoolean>;
|
|
1899
1899
|
canRemoveRows: z.ZodOptional<z.ZodBoolean>;
|
|
1900
1900
|
initialRows: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1912,106 +1912,99 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
1912
1912
|
initialRows?: number | undefined;
|
|
1913
1913
|
maxRows?: number | undefined;
|
|
1914
1914
|
minRows?: number | undefined;
|
|
1915
|
-
}
|
|
1915
|
+
}>>;
|
|
1916
1916
|
}, "strip", z.ZodTypeAny, {
|
|
1917
1917
|
type: "table";
|
|
1918
1918
|
meta: {
|
|
1919
1919
|
schemaVersion: "1.0";
|
|
1920
1920
|
labelTranslationKey?: string | undefined;
|
|
1921
1921
|
};
|
|
1922
|
-
attributes: {
|
|
1923
|
-
canAddRows?: boolean | undefined;
|
|
1924
|
-
canRemoveRows?: boolean | undefined;
|
|
1925
|
-
initialRows?: number | undefined;
|
|
1926
|
-
maxRows?: number | undefined;
|
|
1927
|
-
minRows?: number | undefined;
|
|
1928
|
-
};
|
|
1929
1922
|
columns: ({
|
|
1930
1923
|
type: "boolean";
|
|
1931
1924
|
meta: {
|
|
1932
1925
|
schemaVersion: "1.0";
|
|
1933
1926
|
labelTranslationKey?: string | undefined;
|
|
1934
1927
|
};
|
|
1935
|
-
attributes
|
|
1928
|
+
attributes?: {
|
|
1936
1929
|
checked?: boolean | undefined;
|
|
1937
|
-
};
|
|
1930
|
+
} | undefined;
|
|
1938
1931
|
} | {
|
|
1939
1932
|
type: "number";
|
|
1940
1933
|
meta: {
|
|
1941
1934
|
schemaVersion: "1.0";
|
|
1942
1935
|
labelTranslationKey?: string | undefined;
|
|
1943
1936
|
};
|
|
1944
|
-
attributes
|
|
1937
|
+
attributes?: {
|
|
1945
1938
|
max?: number | undefined;
|
|
1946
1939
|
min?: number | undefined;
|
|
1947
1940
|
step?: number | undefined;
|
|
1948
|
-
};
|
|
1941
|
+
} | undefined;
|
|
1949
1942
|
} | {
|
|
1950
1943
|
type: "currency";
|
|
1951
1944
|
meta: {
|
|
1952
1945
|
denomination?: string | undefined;
|
|
1953
1946
|
};
|
|
1954
|
-
attributes
|
|
1947
|
+
attributes?: {
|
|
1955
1948
|
max?: number | undefined;
|
|
1956
1949
|
min?: number | undefined;
|
|
1957
1950
|
step?: number | undefined;
|
|
1958
|
-
};
|
|
1951
|
+
} | undefined;
|
|
1959
1952
|
} | {
|
|
1960
1953
|
type: "email";
|
|
1961
1954
|
meta: {
|
|
1962
1955
|
schemaVersion: "1.0";
|
|
1963
1956
|
labelTranslationKey?: string | undefined;
|
|
1964
1957
|
};
|
|
1965
|
-
attributes
|
|
1958
|
+
attributes?: {
|
|
1966
1959
|
maxLength?: number | undefined;
|
|
1967
1960
|
minLength?: number | undefined;
|
|
1968
1961
|
multiple?: boolean | undefined;
|
|
1969
1962
|
pattern?: string | undefined;
|
|
1970
|
-
};
|
|
1963
|
+
} | undefined;
|
|
1971
1964
|
} | {
|
|
1972
1965
|
type: "textArea";
|
|
1973
1966
|
meta: {
|
|
1974
1967
|
asRichText?: boolean | undefined;
|
|
1975
1968
|
};
|
|
1976
|
-
attributes
|
|
1969
|
+
attributes?: {
|
|
1977
1970
|
maxLength?: number | undefined;
|
|
1978
1971
|
minLength?: number | undefined;
|
|
1979
1972
|
cols?: number | undefined;
|
|
1980
1973
|
rows?: number | undefined;
|
|
1981
|
-
};
|
|
1974
|
+
} | undefined;
|
|
1982
1975
|
} | {
|
|
1983
1976
|
type: "text";
|
|
1984
1977
|
meta: {
|
|
1985
1978
|
schemaVersion: "1.0";
|
|
1986
1979
|
labelTranslationKey?: string | undefined;
|
|
1987
1980
|
};
|
|
1988
|
-
attributes
|
|
1981
|
+
attributes?: {
|
|
1989
1982
|
maxLength?: number | undefined;
|
|
1990
1983
|
minLength?: number | undefined;
|
|
1991
1984
|
pattern?: string | undefined;
|
|
1992
|
-
};
|
|
1985
|
+
} | undefined;
|
|
1993
1986
|
} | {
|
|
1994
1987
|
type: "url";
|
|
1995
1988
|
meta: {
|
|
1996
1989
|
schemaVersion: "1.0";
|
|
1997
1990
|
labelTranslationKey?: string | undefined;
|
|
1998
1991
|
};
|
|
1999
|
-
attributes
|
|
1992
|
+
attributes?: {
|
|
2000
1993
|
maxLength?: number | undefined;
|
|
2001
1994
|
minLength?: number | undefined;
|
|
2002
1995
|
pattern?: string | undefined;
|
|
2003
|
-
};
|
|
1996
|
+
} | undefined;
|
|
2004
1997
|
} | {
|
|
2005
1998
|
type: "datePicker";
|
|
2006
1999
|
meta: {
|
|
2007
2000
|
schemaVersion: "1.0";
|
|
2008
2001
|
labelTranslationKey?: string | undefined;
|
|
2009
2002
|
};
|
|
2010
|
-
attributes
|
|
2003
|
+
attributes?: {
|
|
2011
2004
|
max?: string | undefined;
|
|
2012
2005
|
min?: string | undefined;
|
|
2013
2006
|
step?: number | undefined;
|
|
2014
|
-
};
|
|
2007
|
+
} | undefined;
|
|
2015
2008
|
} | {
|
|
2016
2009
|
type: "dateRange";
|
|
2017
2010
|
meta: {
|
|
@@ -2082,9 +2075,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2082
2075
|
schemaVersion: "1.0";
|
|
2083
2076
|
labelTranslationKey?: string | undefined;
|
|
2084
2077
|
};
|
|
2085
|
-
attributes
|
|
2078
|
+
attributes?: {
|
|
2086
2079
|
multiple?: boolean | undefined;
|
|
2087
|
-
};
|
|
2080
|
+
} | undefined;
|
|
2088
2081
|
} | {
|
|
2089
2082
|
type: "filteredSearch";
|
|
2090
2083
|
meta: {
|
|
@@ -2101,16 +2094,16 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2101
2094
|
labelTranslationKey?: string | undefined;
|
|
2102
2095
|
}[];
|
|
2103
2096
|
responseField: string;
|
|
2104
|
-
|
|
2097
|
+
localQueryId?: string | undefined;
|
|
2098
|
+
query?: string | undefined;
|
|
2099
|
+
variables?: {
|
|
2105
2100
|
type: string;
|
|
2106
2101
|
name: string;
|
|
2107
2102
|
labelTranslationKey?: string | undefined;
|
|
2108
2103
|
minLength?: number | undefined;
|
|
2109
2104
|
label?: string | undefined;
|
|
2110
2105
|
defaultValue?: string | undefined;
|
|
2111
|
-
}[];
|
|
2112
|
-
localQueryId?: string | undefined;
|
|
2113
|
-
query?: string | undefined;
|
|
2106
|
+
}[] | undefined;
|
|
2114
2107
|
};
|
|
2115
2108
|
} | {
|
|
2116
2109
|
type: "typeaheadSearch";
|
|
@@ -2125,30 +2118,30 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2125
2118
|
labelTranslationKey?: string | undefined;
|
|
2126
2119
|
}[];
|
|
2127
2120
|
responseField: string;
|
|
2128
|
-
|
|
2121
|
+
localQueryId?: string | undefined;
|
|
2122
|
+
query?: string | undefined;
|
|
2123
|
+
variables?: {
|
|
2129
2124
|
type: string;
|
|
2130
2125
|
name: string;
|
|
2131
2126
|
labelTranslationKey?: string | undefined;
|
|
2132
2127
|
minLength?: number | undefined;
|
|
2133
2128
|
label?: string | undefined;
|
|
2134
2129
|
defaultValue?: string | undefined;
|
|
2135
|
-
}[];
|
|
2136
|
-
localQueryId?: string | undefined;
|
|
2137
|
-
query?: string | undefined;
|
|
2130
|
+
}[] | undefined;
|
|
2138
2131
|
};
|
|
2139
2132
|
})[];
|
|
2140
|
-
|
|
2141
|
-
type: "table";
|
|
2142
|
-
meta: {
|
|
2143
|
-
schemaVersion: "1.0";
|
|
2144
|
-
labelTranslationKey?: string | undefined;
|
|
2145
|
-
};
|
|
2146
|
-
attributes: {
|
|
2133
|
+
attributes?: {
|
|
2147
2134
|
canAddRows?: boolean | undefined;
|
|
2148
2135
|
canRemoveRows?: boolean | undefined;
|
|
2149
2136
|
initialRows?: number | undefined;
|
|
2150
2137
|
maxRows?: number | undefined;
|
|
2151
2138
|
minRows?: number | undefined;
|
|
2139
|
+
} | undefined;
|
|
2140
|
+
}, {
|
|
2141
|
+
type: "table";
|
|
2142
|
+
meta: {
|
|
2143
|
+
schemaVersion: "1.0";
|
|
2144
|
+
labelTranslationKey?: string | undefined;
|
|
2152
2145
|
};
|
|
2153
2146
|
columns: ({
|
|
2154
2147
|
type: "boolean";
|
|
@@ -2156,86 +2149,86 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2156
2149
|
schemaVersion: "1.0";
|
|
2157
2150
|
labelTranslationKey?: string | undefined;
|
|
2158
2151
|
};
|
|
2159
|
-
attributes
|
|
2152
|
+
attributes?: {
|
|
2160
2153
|
checked?: boolean | undefined;
|
|
2161
|
-
};
|
|
2154
|
+
} | undefined;
|
|
2162
2155
|
} | {
|
|
2163
2156
|
type: "number";
|
|
2164
2157
|
meta: {
|
|
2165
2158
|
schemaVersion: "1.0";
|
|
2166
2159
|
labelTranslationKey?: string | undefined;
|
|
2167
2160
|
};
|
|
2168
|
-
attributes
|
|
2161
|
+
attributes?: {
|
|
2169
2162
|
max?: number | undefined;
|
|
2170
2163
|
min?: number | undefined;
|
|
2171
2164
|
step?: number | undefined;
|
|
2172
|
-
};
|
|
2165
|
+
} | undefined;
|
|
2173
2166
|
} | {
|
|
2174
2167
|
type: "currency";
|
|
2175
2168
|
meta: {
|
|
2176
2169
|
denomination?: string | undefined;
|
|
2177
2170
|
};
|
|
2178
|
-
attributes
|
|
2171
|
+
attributes?: {
|
|
2179
2172
|
max?: number | undefined;
|
|
2180
2173
|
min?: number | undefined;
|
|
2181
2174
|
step?: number | undefined;
|
|
2182
|
-
};
|
|
2175
|
+
} | undefined;
|
|
2183
2176
|
} | {
|
|
2184
2177
|
type: "email";
|
|
2185
2178
|
meta: {
|
|
2186
2179
|
schemaVersion: "1.0";
|
|
2187
2180
|
labelTranslationKey?: string | undefined;
|
|
2188
2181
|
};
|
|
2189
|
-
attributes
|
|
2182
|
+
attributes?: {
|
|
2190
2183
|
maxLength?: number | undefined;
|
|
2191
2184
|
minLength?: number | undefined;
|
|
2192
2185
|
multiple?: boolean | undefined;
|
|
2193
2186
|
pattern?: string | undefined;
|
|
2194
|
-
};
|
|
2187
|
+
} | undefined;
|
|
2195
2188
|
} | {
|
|
2196
2189
|
type: "textArea";
|
|
2197
2190
|
meta: {
|
|
2198
2191
|
asRichText?: boolean | undefined;
|
|
2199
2192
|
};
|
|
2200
|
-
attributes
|
|
2193
|
+
attributes?: {
|
|
2201
2194
|
maxLength?: number | undefined;
|
|
2202
2195
|
minLength?: number | undefined;
|
|
2203
2196
|
cols?: number | undefined;
|
|
2204
2197
|
rows?: number | undefined;
|
|
2205
|
-
};
|
|
2198
|
+
} | undefined;
|
|
2206
2199
|
} | {
|
|
2207
2200
|
type: "text";
|
|
2208
2201
|
meta: {
|
|
2209
2202
|
schemaVersion: "1.0";
|
|
2210
2203
|
labelTranslationKey?: string | undefined;
|
|
2211
2204
|
};
|
|
2212
|
-
attributes
|
|
2205
|
+
attributes?: {
|
|
2213
2206
|
maxLength?: number | undefined;
|
|
2214
2207
|
minLength?: number | undefined;
|
|
2215
2208
|
pattern?: string | undefined;
|
|
2216
|
-
};
|
|
2209
|
+
} | undefined;
|
|
2217
2210
|
} | {
|
|
2218
2211
|
type: "url";
|
|
2219
2212
|
meta: {
|
|
2220
2213
|
schemaVersion: "1.0";
|
|
2221
2214
|
labelTranslationKey?: string | undefined;
|
|
2222
2215
|
};
|
|
2223
|
-
attributes
|
|
2216
|
+
attributes?: {
|
|
2224
2217
|
maxLength?: number | undefined;
|
|
2225
2218
|
minLength?: number | undefined;
|
|
2226
2219
|
pattern?: string | undefined;
|
|
2227
|
-
};
|
|
2220
|
+
} | undefined;
|
|
2228
2221
|
} | {
|
|
2229
2222
|
type: "datePicker";
|
|
2230
2223
|
meta: {
|
|
2231
2224
|
schemaVersion: "1.0";
|
|
2232
2225
|
labelTranslationKey?: string | undefined;
|
|
2233
2226
|
};
|
|
2234
|
-
attributes
|
|
2227
|
+
attributes?: {
|
|
2235
2228
|
max?: string | undefined;
|
|
2236
2229
|
min?: string | undefined;
|
|
2237
2230
|
step?: number | undefined;
|
|
2238
|
-
};
|
|
2231
|
+
} | undefined;
|
|
2239
2232
|
} | {
|
|
2240
2233
|
type: "dateRange";
|
|
2241
2234
|
meta: {
|
|
@@ -2306,9 +2299,9 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2306
2299
|
schemaVersion: "1.0";
|
|
2307
2300
|
labelTranslationKey?: string | undefined;
|
|
2308
2301
|
};
|
|
2309
|
-
attributes
|
|
2302
|
+
attributes?: {
|
|
2310
2303
|
multiple?: boolean | undefined;
|
|
2311
|
-
};
|
|
2304
|
+
} | undefined;
|
|
2312
2305
|
} | {
|
|
2313
2306
|
type: "filteredSearch";
|
|
2314
2307
|
meta: {
|
|
@@ -2325,16 +2318,16 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2325
2318
|
labelTranslationKey?: string | undefined;
|
|
2326
2319
|
}[];
|
|
2327
2320
|
responseField: string;
|
|
2328
|
-
|
|
2321
|
+
localQueryId?: string | undefined;
|
|
2322
|
+
query?: string | undefined;
|
|
2323
|
+
variables?: {
|
|
2329
2324
|
type: string;
|
|
2330
2325
|
name: string;
|
|
2331
2326
|
labelTranslationKey?: string | undefined;
|
|
2332
2327
|
minLength?: number | undefined;
|
|
2333
2328
|
label?: string | undefined;
|
|
2334
2329
|
defaultValue?: string | undefined;
|
|
2335
|
-
}[];
|
|
2336
|
-
localQueryId?: string | undefined;
|
|
2337
|
-
query?: string | undefined;
|
|
2330
|
+
}[] | undefined;
|
|
2338
2331
|
};
|
|
2339
2332
|
} | {
|
|
2340
2333
|
type: "typeaheadSearch";
|
|
@@ -2349,21 +2342,28 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2349
2342
|
labelTranslationKey?: string | undefined;
|
|
2350
2343
|
}[];
|
|
2351
2344
|
responseField: string;
|
|
2352
|
-
|
|
2345
|
+
localQueryId?: string | undefined;
|
|
2346
|
+
query?: string | undefined;
|
|
2347
|
+
variables?: {
|
|
2353
2348
|
type: string;
|
|
2354
2349
|
name: string;
|
|
2355
2350
|
labelTranslationKey?: string | undefined;
|
|
2356
2351
|
minLength?: number | undefined;
|
|
2357
2352
|
label?: string | undefined;
|
|
2358
2353
|
defaultValue?: string | undefined;
|
|
2359
|
-
}[];
|
|
2360
|
-
localQueryId?: string | undefined;
|
|
2361
|
-
query?: string | undefined;
|
|
2354
|
+
}[] | undefined;
|
|
2362
2355
|
};
|
|
2363
2356
|
})[];
|
|
2357
|
+
attributes?: {
|
|
2358
|
+
canAddRows?: boolean | undefined;
|
|
2359
|
+
canRemoveRows?: boolean | undefined;
|
|
2360
|
+
initialRows?: number | undefined;
|
|
2361
|
+
maxRows?: number | undefined;
|
|
2362
|
+
minRows?: number | undefined;
|
|
2363
|
+
} | undefined;
|
|
2364
2364
|
}>, z.ZodObject<{} & {
|
|
2365
2365
|
type: z.ZodLiteral<"textArea">;
|
|
2366
|
-
attributes: z.ZodObject<{
|
|
2366
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
2367
2367
|
cols: z.ZodOptional<z.ZodNumber>;
|
|
2368
2368
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
2369
2369
|
minLength: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2378,7 +2378,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2378
2378
|
minLength?: number | undefined;
|
|
2379
2379
|
cols?: number | undefined;
|
|
2380
2380
|
rows?: number | undefined;
|
|
2381
|
-
}
|
|
2381
|
+
}>>;
|
|
2382
2382
|
meta: z.ZodObject<{
|
|
2383
2383
|
asRichText: z.ZodOptional<z.ZodBoolean>;
|
|
2384
2384
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2391,23 +2391,23 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2391
2391
|
meta: {
|
|
2392
2392
|
asRichText?: boolean | undefined;
|
|
2393
2393
|
};
|
|
2394
|
-
attributes
|
|
2394
|
+
attributes?: {
|
|
2395
2395
|
maxLength?: number | undefined;
|
|
2396
2396
|
minLength?: number | undefined;
|
|
2397
2397
|
cols?: number | undefined;
|
|
2398
2398
|
rows?: number | undefined;
|
|
2399
|
-
};
|
|
2399
|
+
} | undefined;
|
|
2400
2400
|
}, {
|
|
2401
2401
|
type: "textArea";
|
|
2402
2402
|
meta: {
|
|
2403
2403
|
asRichText?: boolean | undefined;
|
|
2404
2404
|
};
|
|
2405
|
-
attributes
|
|
2405
|
+
attributes?: {
|
|
2406
2406
|
maxLength?: number | undefined;
|
|
2407
2407
|
minLength?: number | undefined;
|
|
2408
2408
|
cols?: number | undefined;
|
|
2409
2409
|
rows?: number | undefined;
|
|
2410
|
-
};
|
|
2410
|
+
} | undefined;
|
|
2411
2411
|
}>, z.ZodObject<{
|
|
2412
2412
|
meta: z.ZodObject<{
|
|
2413
2413
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
@@ -2421,7 +2421,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2421
2421
|
}>;
|
|
2422
2422
|
} & {
|
|
2423
2423
|
type: z.ZodLiteral<"text">;
|
|
2424
|
-
attributes: z.ZodObject<{
|
|
2424
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
2425
2425
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
2426
2426
|
minLength: z.ZodOptional<z.ZodNumber>;
|
|
2427
2427
|
pattern: z.ZodOptional<z.ZodString>;
|
|
@@ -2433,29 +2433,29 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2433
2433
|
maxLength?: number | undefined;
|
|
2434
2434
|
minLength?: number | undefined;
|
|
2435
2435
|
pattern?: string | undefined;
|
|
2436
|
-
}
|
|
2436
|
+
}>>;
|
|
2437
2437
|
}, "strip", z.ZodTypeAny, {
|
|
2438
2438
|
type: "text";
|
|
2439
2439
|
meta: {
|
|
2440
2440
|
schemaVersion: "1.0";
|
|
2441
2441
|
labelTranslationKey?: string | undefined;
|
|
2442
2442
|
};
|
|
2443
|
-
attributes
|
|
2443
|
+
attributes?: {
|
|
2444
2444
|
maxLength?: number | undefined;
|
|
2445
2445
|
minLength?: number | undefined;
|
|
2446
2446
|
pattern?: string | undefined;
|
|
2447
|
-
};
|
|
2447
|
+
} | undefined;
|
|
2448
2448
|
}, {
|
|
2449
2449
|
type: "text";
|
|
2450
2450
|
meta: {
|
|
2451
2451
|
schemaVersion: "1.0";
|
|
2452
2452
|
labelTranslationKey?: string | undefined;
|
|
2453
2453
|
};
|
|
2454
|
-
attributes
|
|
2454
|
+
attributes?: {
|
|
2455
2455
|
maxLength?: number | undefined;
|
|
2456
2456
|
minLength?: number | undefined;
|
|
2457
2457
|
pattern?: string | undefined;
|
|
2458
|
-
};
|
|
2458
|
+
} | undefined;
|
|
2459
2459
|
}>, z.ZodObject<{
|
|
2460
2460
|
meta: z.ZodObject<{
|
|
2461
2461
|
schemaVersion: z.ZodLiteral<"1.0">;
|
|
@@ -2486,7 +2486,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2486
2486
|
localQueryId: z.ZodOptional<z.ZodString>;
|
|
2487
2487
|
query: z.ZodOptional<z.ZodString>;
|
|
2488
2488
|
responseField: z.ZodString;
|
|
2489
|
-
variables: z.ZodArray<z.ZodObject<{
|
|
2489
|
+
variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2490
2490
|
minLength: z.ZodOptional<z.ZodNumber>;
|
|
2491
2491
|
label: z.ZodOptional<z.ZodString>;
|
|
2492
2492
|
labelTranslationKey: z.ZodOptional<z.ZodString>;
|
|
@@ -2507,7 +2507,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2507
2507
|
minLength?: number | undefined;
|
|
2508
2508
|
label?: string | undefined;
|
|
2509
2509
|
defaultValue?: string | undefined;
|
|
2510
|
-
}>, "many"
|
|
2510
|
+
}>, "many">>;
|
|
2511
2511
|
}, "strip", z.ZodTypeAny, {
|
|
2512
2512
|
displayFields: {
|
|
2513
2513
|
label: string;
|
|
@@ -2515,16 +2515,16 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2515
2515
|
labelTranslationKey?: string | undefined;
|
|
2516
2516
|
}[];
|
|
2517
2517
|
responseField: string;
|
|
2518
|
-
|
|
2518
|
+
localQueryId?: string | undefined;
|
|
2519
|
+
query?: string | undefined;
|
|
2520
|
+
variables?: {
|
|
2519
2521
|
type: string;
|
|
2520
2522
|
name: string;
|
|
2521
2523
|
labelTranslationKey?: string | undefined;
|
|
2522
2524
|
minLength?: number | undefined;
|
|
2523
2525
|
label?: string | undefined;
|
|
2524
2526
|
defaultValue?: string | undefined;
|
|
2525
|
-
}[];
|
|
2526
|
-
localQueryId?: string | undefined;
|
|
2527
|
-
query?: string | undefined;
|
|
2527
|
+
}[] | undefined;
|
|
2528
2528
|
}, {
|
|
2529
2529
|
displayFields: {
|
|
2530
2530
|
label: string;
|
|
@@ -2532,16 +2532,16 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2532
2532
|
labelTranslationKey?: string | undefined;
|
|
2533
2533
|
}[];
|
|
2534
2534
|
responseField: string;
|
|
2535
|
-
|
|
2535
|
+
localQueryId?: string | undefined;
|
|
2536
|
+
query?: string | undefined;
|
|
2537
|
+
variables?: {
|
|
2536
2538
|
type: string;
|
|
2537
2539
|
name: string;
|
|
2538
2540
|
labelTranslationKey?: string | undefined;
|
|
2539
2541
|
minLength?: number | undefined;
|
|
2540
2542
|
label?: string | undefined;
|
|
2541
2543
|
defaultValue?: string | undefined;
|
|
2542
|
-
}[];
|
|
2543
|
-
localQueryId?: string | undefined;
|
|
2544
|
-
query?: string | undefined;
|
|
2544
|
+
}[] | undefined;
|
|
2545
2545
|
}>;
|
|
2546
2546
|
}, "strip", z.ZodTypeAny, {
|
|
2547
2547
|
type: "typeaheadSearch";
|
|
@@ -2556,16 +2556,16 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2556
2556
|
labelTranslationKey?: string | undefined;
|
|
2557
2557
|
}[];
|
|
2558
2558
|
responseField: string;
|
|
2559
|
-
|
|
2559
|
+
localQueryId?: string | undefined;
|
|
2560
|
+
query?: string | undefined;
|
|
2561
|
+
variables?: {
|
|
2560
2562
|
type: string;
|
|
2561
2563
|
name: string;
|
|
2562
2564
|
labelTranslationKey?: string | undefined;
|
|
2563
2565
|
minLength?: number | undefined;
|
|
2564
2566
|
label?: string | undefined;
|
|
2565
2567
|
defaultValue?: string | undefined;
|
|
2566
|
-
}[];
|
|
2567
|
-
localQueryId?: string | undefined;
|
|
2568
|
-
query?: string | undefined;
|
|
2568
|
+
}[] | undefined;
|
|
2569
2569
|
};
|
|
2570
2570
|
}, {
|
|
2571
2571
|
type: "typeaheadSearch";
|
|
@@ -2580,16 +2580,16 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2580
2580
|
labelTranslationKey?: string | undefined;
|
|
2581
2581
|
}[];
|
|
2582
2582
|
responseField: string;
|
|
2583
|
-
|
|
2583
|
+
localQueryId?: string | undefined;
|
|
2584
|
+
query?: string | undefined;
|
|
2585
|
+
variables?: {
|
|
2584
2586
|
type: string;
|
|
2585
2587
|
name: string;
|
|
2586
2588
|
labelTranslationKey?: string | undefined;
|
|
2587
2589
|
minLength?: number | undefined;
|
|
2588
2590
|
label?: string | undefined;
|
|
2589
2591
|
defaultValue?: string | undefined;
|
|
2590
|
-
}[];
|
|
2591
|
-
localQueryId?: string | undefined;
|
|
2592
|
-
query?: string | undefined;
|
|
2592
|
+
}[] | undefined;
|
|
2593
2593
|
};
|
|
2594
2594
|
}>, z.ZodObject<{
|
|
2595
2595
|
meta: z.ZodObject<{
|
|
@@ -2604,7 +2604,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2604
2604
|
}>;
|
|
2605
2605
|
} & {
|
|
2606
2606
|
type: z.ZodLiteral<"url">;
|
|
2607
|
-
attributes: z.ZodObject<{
|
|
2607
|
+
attributes: z.ZodOptional<z.ZodObject<{
|
|
2608
2608
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
2609
2609
|
minLength: z.ZodOptional<z.ZodNumber>;
|
|
2610
2610
|
pattern: z.ZodOptional<z.ZodString>;
|
|
@@ -2616,29 +2616,29 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
2616
2616
|
maxLength?: number | undefined;
|
|
2617
2617
|
minLength?: number | undefined;
|
|
2618
2618
|
pattern?: string | undefined;
|
|
2619
|
-
}
|
|
2619
|
+
}>>;
|
|
2620
2620
|
}, "strip", z.ZodTypeAny, {
|
|
2621
2621
|
type: "url";
|
|
2622
2622
|
meta: {
|
|
2623
2623
|
schemaVersion: "1.0";
|
|
2624
2624
|
labelTranslationKey?: string | undefined;
|
|
2625
2625
|
};
|
|
2626
|
-
attributes
|
|
2626
|
+
attributes?: {
|
|
2627
2627
|
maxLength?: number | undefined;
|
|
2628
2628
|
minLength?: number | undefined;
|
|
2629
2629
|
pattern?: string | undefined;
|
|
2630
|
-
};
|
|
2630
|
+
} | undefined;
|
|
2631
2631
|
}, {
|
|
2632
2632
|
type: "url";
|
|
2633
2633
|
meta: {
|
|
2634
2634
|
schemaVersion: "1.0";
|
|
2635
2635
|
labelTranslationKey?: string | undefined;
|
|
2636
2636
|
};
|
|
2637
|
-
attributes
|
|
2637
|
+
attributes?: {
|
|
2638
2638
|
maxLength?: number | undefined;
|
|
2639
2639
|
minLength?: number | undefined;
|
|
2640
2640
|
pattern?: string | undefined;
|
|
2641
|
-
};
|
|
2641
|
+
} | undefined;
|
|
2642
2642
|
}>]>;
|
|
2643
2643
|
export declare const QuestionSchemaMap: Record<z.infer<typeof QuestionTypesEnum>, z.ZodTypeAny>;
|
|
2644
2644
|
export type AnyQuestionType = z.infer<typeof AnyQuestionSchema>;
|