@encatch/schema 1.1.0-beta.8 → 1.1.1
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/dist/esm/index.js +311 -146
- package/dist/esm/index.js.map +4 -4
- package/dist/types/index.d.ts +2 -1
- package/dist/types/schemas/api/fetch-feedback-schema.d.ts +1213 -36
- package/dist/types/schemas/api/submit-feedback-schema.d.ts +18 -0
- package/dist/types/schemas/fields/app-props-schema.d.ts +43 -18
- package/dist/types/schemas/fields/field-schema.d.ts +73 -37
- package/dist/types/schemas/fields/form-properties-schema.d.ts +2328 -17
- package/dist/types/schemas/fields/layout-schema.d.ts +1203 -0
- package/dist/types/schemas/fields/theme-schema.d.ts +2 -0
- package/dist/types/schemas/fields/translations-schema.d.ts +32 -0
- package/package.json +1 -1
|
@@ -11,12 +11,12 @@ export declare const questionTypeSchema: z.ZodEnum<{
|
|
|
11
11
|
welcome: "welcome";
|
|
12
12
|
thank_you: "thank_you";
|
|
13
13
|
message_panel: "message_panel";
|
|
14
|
+
consent: "consent";
|
|
14
15
|
yes_no: "yes_no";
|
|
15
16
|
rating_matrix: "rating_matrix";
|
|
16
17
|
matrix_single_choice: "matrix_single_choice";
|
|
17
18
|
matrix_multiple_choice: "matrix_multiple_choice";
|
|
18
19
|
exit_form: "exit_form";
|
|
19
|
-
consent: "consent";
|
|
20
20
|
}>;
|
|
21
21
|
export declare const QuestionTypes: {
|
|
22
22
|
readonly RATING: "rating";
|
|
@@ -123,6 +123,7 @@ export declare const sectionSchema: z.ZodObject<{
|
|
|
123
123
|
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
124
124
|
}, z.core.$strip>>>;
|
|
125
125
|
inAppSingleQuestion: z.ZodDefault<z.ZodBoolean>;
|
|
126
|
+
isPreviousAllowed: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
126
127
|
questionIds: z.ZodArray<z.ZodString>;
|
|
127
128
|
}, z.core.$strip>;
|
|
128
129
|
export declare const questionStatusSchema: z.ZodEnum<{
|
|
@@ -222,12 +223,12 @@ export declare const questionSchema: z.ZodObject<{
|
|
|
222
223
|
welcome: "welcome";
|
|
223
224
|
thank_you: "thank_you";
|
|
224
225
|
message_panel: "message_panel";
|
|
226
|
+
consent: "consent";
|
|
225
227
|
yes_no: "yes_no";
|
|
226
228
|
rating_matrix: "rating_matrix";
|
|
227
229
|
matrix_single_choice: "matrix_single_choice";
|
|
228
230
|
matrix_multiple_choice: "matrix_multiple_choice";
|
|
229
231
|
exit_form: "exit_form";
|
|
230
|
-
consent: "consent";
|
|
231
232
|
}>;
|
|
232
233
|
title: z.ZodString;
|
|
233
234
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -276,8 +277,9 @@ export declare const questionSchema: z.ZodObject<{
|
|
|
276
277
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
277
278
|
left: "left";
|
|
278
279
|
center: "center";
|
|
280
|
+
justify: "justify";
|
|
279
281
|
}>>>;
|
|
280
|
-
nextButtonLabel: z.
|
|
282
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
281
283
|
}, z.core.$strip>;
|
|
282
284
|
export declare const ratingQuestionSchema: z.ZodObject<{
|
|
283
285
|
id: z.ZodString;
|
|
@@ -329,8 +331,9 @@ export declare const ratingQuestionSchema: z.ZodObject<{
|
|
|
329
331
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
330
332
|
left: "left";
|
|
331
333
|
center: "center";
|
|
334
|
+
justify: "justify";
|
|
332
335
|
}>>>;
|
|
333
|
-
nextButtonLabel: z.
|
|
336
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
334
337
|
type: z.ZodLiteral<"rating">;
|
|
335
338
|
showLabels: z.ZodOptional<z.ZodBoolean>;
|
|
336
339
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -401,8 +404,9 @@ export declare const annotationQuestionSchema: z.ZodObject<{
|
|
|
401
404
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
402
405
|
left: "left";
|
|
403
406
|
center: "center";
|
|
407
|
+
justify: "justify";
|
|
404
408
|
}>>>;
|
|
405
|
-
nextButtonLabel: z.
|
|
409
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
406
410
|
type: z.ZodLiteral<"annotation">;
|
|
407
411
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
408
412
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
@@ -455,8 +459,9 @@ export declare const welcomeQuestionSchema: z.ZodObject<{
|
|
|
455
459
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
456
460
|
left: "left";
|
|
457
461
|
center: "center";
|
|
462
|
+
justify: "justify";
|
|
458
463
|
}>>>;
|
|
459
|
-
nextButtonLabel: z.
|
|
464
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
460
465
|
type: z.ZodLiteral<"welcome">;
|
|
461
466
|
title: z.ZodString;
|
|
462
467
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -510,8 +515,9 @@ export declare const thankYouQuestionSchema: z.ZodObject<{
|
|
|
510
515
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
511
516
|
left: "left";
|
|
512
517
|
center: "center";
|
|
518
|
+
justify: "justify";
|
|
513
519
|
}>>>;
|
|
514
|
-
nextButtonLabel: z.
|
|
520
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
515
521
|
type: z.ZodLiteral<"thank_you">;
|
|
516
522
|
title: z.ZodString;
|
|
517
523
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -565,8 +571,9 @@ export declare const messagePanelQuestionSchema: z.ZodObject<{
|
|
|
565
571
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
566
572
|
left: "left";
|
|
567
573
|
center: "center";
|
|
574
|
+
justify: "justify";
|
|
568
575
|
}>>>;
|
|
569
|
-
nextButtonLabel: z.
|
|
576
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
570
577
|
type: z.ZodLiteral<"message_panel">;
|
|
571
578
|
title: z.ZodString;
|
|
572
579
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -622,8 +629,9 @@ export declare const exitFormQuestionSchema: z.ZodObject<{
|
|
|
622
629
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
623
630
|
left: "left";
|
|
624
631
|
center: "center";
|
|
632
|
+
justify: "justify";
|
|
625
633
|
}>>>;
|
|
626
|
-
nextButtonLabel: z.
|
|
634
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
627
635
|
type: z.ZodLiteral<"exit_form">;
|
|
628
636
|
}, z.core.$strip>;
|
|
629
637
|
export declare const yesNoQuestionSchema: z.ZodObject<{
|
|
@@ -676,8 +684,9 @@ export declare const yesNoQuestionSchema: z.ZodObject<{
|
|
|
676
684
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
677
685
|
left: "left";
|
|
678
686
|
center: "center";
|
|
687
|
+
justify: "justify";
|
|
679
688
|
}>>>;
|
|
680
|
-
nextButtonLabel: z.
|
|
689
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
681
690
|
type: z.ZodLiteral<"yes_no">;
|
|
682
691
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
683
692
|
noLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -736,8 +745,9 @@ export declare const consentQuestionSchema: z.ZodObject<{
|
|
|
736
745
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
737
746
|
left: "left";
|
|
738
747
|
center: "center";
|
|
748
|
+
justify: "justify";
|
|
739
749
|
}>>>;
|
|
740
|
-
nextButtonLabel: z.
|
|
750
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
741
751
|
type: z.ZodLiteral<"consent">;
|
|
742
752
|
}, z.core.$strip>;
|
|
743
753
|
export declare const ratingMatrixDisplayStyleSchema: z.ZodEnum<{
|
|
@@ -840,8 +850,9 @@ export declare const ratingMatrixQuestionSchema: z.ZodObject<{
|
|
|
840
850
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
841
851
|
left: "left";
|
|
842
852
|
center: "center";
|
|
853
|
+
justify: "justify";
|
|
843
854
|
}>>>;
|
|
844
|
-
nextButtonLabel: z.
|
|
855
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
845
856
|
type: z.ZodLiteral<"rating_matrix">;
|
|
846
857
|
statements: z.ZodArray<z.ZodObject<{
|
|
847
858
|
id: z.ZodString;
|
|
@@ -945,8 +956,9 @@ export declare const matrixSingleChoiceQuestionSchema: z.ZodObject<{
|
|
|
945
956
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
946
957
|
left: "left";
|
|
947
958
|
center: "center";
|
|
959
|
+
justify: "justify";
|
|
948
960
|
}>>>;
|
|
949
|
-
nextButtonLabel: z.
|
|
961
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
950
962
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
951
963
|
rows: z.ZodArray<z.ZodObject<{
|
|
952
964
|
id: z.ZodString;
|
|
@@ -1013,8 +1025,9 @@ export declare const matrixMultipleChoiceQuestionSchema: z.ZodObject<{
|
|
|
1013
1025
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1014
1026
|
left: "left";
|
|
1015
1027
|
center: "center";
|
|
1028
|
+
justify: "justify";
|
|
1016
1029
|
}>>>;
|
|
1017
|
-
nextButtonLabel: z.
|
|
1030
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1018
1031
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
1019
1032
|
rows: z.ZodArray<z.ZodObject<{
|
|
1020
1033
|
id: z.ZodString;
|
|
@@ -1091,8 +1104,9 @@ export declare const multipleChoiceSingleQuestionSchema: z.ZodObject<{
|
|
|
1091
1104
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1092
1105
|
left: "left";
|
|
1093
1106
|
center: "center";
|
|
1107
|
+
justify: "justify";
|
|
1094
1108
|
}>>>;
|
|
1095
|
-
nextButtonLabel: z.
|
|
1109
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1096
1110
|
type: z.ZodLiteral<"single_choice">;
|
|
1097
1111
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
1098
1112
|
radio: "radio";
|
|
@@ -1165,8 +1179,9 @@ export declare const multipleChoiceMultipleQuestionSchema: z.ZodObject<{
|
|
|
1165
1179
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1166
1180
|
left: "left";
|
|
1167
1181
|
center: "center";
|
|
1182
|
+
justify: "justify";
|
|
1168
1183
|
}>>>;
|
|
1169
|
-
nextButtonLabel: z.
|
|
1184
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1170
1185
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
1171
1186
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
1172
1187
|
list: "list";
|
|
@@ -1240,8 +1255,9 @@ export declare const npsQuestionSchema: z.ZodObject<{
|
|
|
1240
1255
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1241
1256
|
left: "left";
|
|
1242
1257
|
center: "center";
|
|
1258
|
+
justify: "justify";
|
|
1243
1259
|
}>>>;
|
|
1244
|
-
nextButtonLabel: z.
|
|
1260
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1245
1261
|
type: z.ZodLiteral<"nps">;
|
|
1246
1262
|
min: z.ZodLiteral<0>;
|
|
1247
1263
|
max: z.ZodLiteral<10>;
|
|
@@ -1300,8 +1316,9 @@ export declare const shortAnswerQuestionSchema: z.ZodObject<{
|
|
|
1300
1316
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1301
1317
|
left: "left";
|
|
1302
1318
|
center: "center";
|
|
1319
|
+
justify: "justify";
|
|
1303
1320
|
}>>>;
|
|
1304
|
-
nextButtonLabel: z.
|
|
1321
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1305
1322
|
type: z.ZodLiteral<"short_answer">;
|
|
1306
1323
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1307
1324
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1363,8 +1380,9 @@ export declare const longAnswerQuestionSchema: z.ZodObject<{
|
|
|
1363
1380
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1364
1381
|
left: "left";
|
|
1365
1382
|
center: "center";
|
|
1383
|
+
justify: "justify";
|
|
1366
1384
|
}>>>;
|
|
1367
|
-
nextButtonLabel: z.
|
|
1385
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1368
1386
|
type: z.ZodLiteral<"long_text">;
|
|
1369
1387
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1370
1388
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1425,8 +1443,9 @@ export declare const nestedDropdownQuestionSchema: z.ZodObject<{
|
|
|
1425
1443
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1426
1444
|
left: "left";
|
|
1427
1445
|
center: "center";
|
|
1446
|
+
justify: "justify";
|
|
1428
1447
|
}>>>;
|
|
1429
|
-
nextButtonLabel: z.
|
|
1448
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1430
1449
|
type: z.ZodLiteral<"nested_selection">;
|
|
1431
1450
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1432
1451
|
options: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
@@ -1533,8 +1552,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1533
1552
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1534
1553
|
left: "left";
|
|
1535
1554
|
center: "center";
|
|
1555
|
+
justify: "justify";
|
|
1536
1556
|
}>>>;
|
|
1537
|
-
nextButtonLabel: z.
|
|
1557
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1538
1558
|
type: z.ZodLiteral<"rating">;
|
|
1539
1559
|
showLabels: z.ZodOptional<z.ZodBoolean>;
|
|
1540
1560
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1604,8 +1624,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1604
1624
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1605
1625
|
left: "left";
|
|
1606
1626
|
center: "center";
|
|
1627
|
+
justify: "justify";
|
|
1607
1628
|
}>>>;
|
|
1608
|
-
nextButtonLabel: z.
|
|
1629
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1609
1630
|
type: z.ZodLiteral<"annotation">;
|
|
1610
1631
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
1611
1632
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
@@ -1657,8 +1678,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1657
1678
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1658
1679
|
left: "left";
|
|
1659
1680
|
center: "center";
|
|
1681
|
+
justify: "justify";
|
|
1660
1682
|
}>>>;
|
|
1661
|
-
nextButtonLabel: z.
|
|
1683
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1662
1684
|
type: z.ZodLiteral<"welcome">;
|
|
1663
1685
|
title: z.ZodString;
|
|
1664
1686
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1711,8 +1733,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1711
1733
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1712
1734
|
left: "left";
|
|
1713
1735
|
center: "center";
|
|
1736
|
+
justify: "justify";
|
|
1714
1737
|
}>>>;
|
|
1715
|
-
nextButtonLabel: z.
|
|
1738
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1716
1739
|
type: z.ZodLiteral<"thank_you">;
|
|
1717
1740
|
title: z.ZodString;
|
|
1718
1741
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1765,8 +1788,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1765
1788
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1766
1789
|
left: "left";
|
|
1767
1790
|
center: "center";
|
|
1791
|
+
justify: "justify";
|
|
1768
1792
|
}>>>;
|
|
1769
|
-
nextButtonLabel: z.
|
|
1793
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1770
1794
|
type: z.ZodLiteral<"message_panel">;
|
|
1771
1795
|
title: z.ZodString;
|
|
1772
1796
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1821,8 +1845,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1821
1845
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1822
1846
|
left: "left";
|
|
1823
1847
|
center: "center";
|
|
1848
|
+
justify: "justify";
|
|
1824
1849
|
}>>>;
|
|
1825
|
-
nextButtonLabel: z.
|
|
1850
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1826
1851
|
type: z.ZodLiteral<"exit_form">;
|
|
1827
1852
|
}, z.core.$strip>, z.ZodObject<{
|
|
1828
1853
|
id: z.ZodString;
|
|
@@ -1874,8 +1899,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1874
1899
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1875
1900
|
left: "left";
|
|
1876
1901
|
center: "center";
|
|
1902
|
+
justify: "justify";
|
|
1877
1903
|
}>>>;
|
|
1878
|
-
nextButtonLabel: z.
|
|
1904
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1879
1905
|
type: z.ZodLiteral<"yes_no">;
|
|
1880
1906
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
1881
1907
|
noLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1933,8 +1959,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1933
1959
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1934
1960
|
left: "left";
|
|
1935
1961
|
center: "center";
|
|
1962
|
+
justify: "justify";
|
|
1936
1963
|
}>>>;
|
|
1937
|
-
nextButtonLabel: z.
|
|
1964
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1938
1965
|
type: z.ZodLiteral<"consent">;
|
|
1939
1966
|
}, z.core.$strip>, z.ZodObject<{
|
|
1940
1967
|
id: z.ZodString;
|
|
@@ -1986,8 +2013,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1986
2013
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1987
2014
|
left: "left";
|
|
1988
2015
|
center: "center";
|
|
2016
|
+
justify: "justify";
|
|
1989
2017
|
}>>>;
|
|
1990
|
-
nextButtonLabel: z.
|
|
2018
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1991
2019
|
type: z.ZodLiteral<"rating_matrix">;
|
|
1992
2020
|
statements: z.ZodArray<z.ZodObject<{
|
|
1993
2021
|
id: z.ZodString;
|
|
@@ -2078,8 +2106,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2078
2106
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2079
2107
|
left: "left";
|
|
2080
2108
|
center: "center";
|
|
2109
|
+
justify: "justify";
|
|
2081
2110
|
}>>>;
|
|
2082
|
-
nextButtonLabel: z.
|
|
2111
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
2083
2112
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
2084
2113
|
rows: z.ZodArray<z.ZodObject<{
|
|
2085
2114
|
id: z.ZodString;
|
|
@@ -2145,8 +2174,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2145
2174
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2146
2175
|
left: "left";
|
|
2147
2176
|
center: "center";
|
|
2177
|
+
justify: "justify";
|
|
2148
2178
|
}>>>;
|
|
2149
|
-
nextButtonLabel: z.
|
|
2179
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
2150
2180
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
2151
2181
|
rows: z.ZodArray<z.ZodObject<{
|
|
2152
2182
|
id: z.ZodString;
|
|
@@ -2214,8 +2244,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2214
2244
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2215
2245
|
left: "left";
|
|
2216
2246
|
center: "center";
|
|
2247
|
+
justify: "justify";
|
|
2217
2248
|
}>>>;
|
|
2218
|
-
nextButtonLabel: z.
|
|
2249
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
2219
2250
|
type: z.ZodLiteral<"single_choice">;
|
|
2220
2251
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
2221
2252
|
radio: "radio";
|
|
@@ -2287,8 +2318,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2287
2318
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2288
2319
|
left: "left";
|
|
2289
2320
|
center: "center";
|
|
2321
|
+
justify: "justify";
|
|
2290
2322
|
}>>>;
|
|
2291
|
-
nextButtonLabel: z.
|
|
2323
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
2292
2324
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
2293
2325
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
2294
2326
|
list: "list";
|
|
@@ -2361,8 +2393,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2361
2393
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2362
2394
|
left: "left";
|
|
2363
2395
|
center: "center";
|
|
2396
|
+
justify: "justify";
|
|
2364
2397
|
}>>>;
|
|
2365
|
-
nextButtonLabel: z.
|
|
2398
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
2366
2399
|
type: z.ZodLiteral<"nps">;
|
|
2367
2400
|
min: z.ZodLiteral<0>;
|
|
2368
2401
|
max: z.ZodLiteral<10>;
|
|
@@ -2420,8 +2453,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2420
2453
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2421
2454
|
left: "left";
|
|
2422
2455
|
center: "center";
|
|
2456
|
+
justify: "justify";
|
|
2423
2457
|
}>>>;
|
|
2424
|
-
nextButtonLabel: z.
|
|
2458
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
2425
2459
|
type: z.ZodLiteral<"short_answer">;
|
|
2426
2460
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
2427
2461
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2482,8 +2516,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2482
2516
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2483
2517
|
left: "left";
|
|
2484
2518
|
center: "center";
|
|
2519
|
+
justify: "justify";
|
|
2485
2520
|
}>>>;
|
|
2486
|
-
nextButtonLabel: z.
|
|
2521
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
2487
2522
|
type: z.ZodLiteral<"long_text">;
|
|
2488
2523
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
2489
2524
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2543,8 +2578,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2543
2578
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2544
2579
|
left: "left";
|
|
2545
2580
|
center: "center";
|
|
2581
|
+
justify: "justify";
|
|
2546
2582
|
}>>>;
|
|
2547
|
-
nextButtonLabel: z.
|
|
2583
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
2548
2584
|
type: z.ZodLiteral<"nested_selection">;
|
|
2549
2585
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
2550
2586
|
options: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|