@encatch/schema 1.0.1-beta.2 → 1.0.1-beta.3
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 +503 -584
- package/dist/esm/index.js.map +3 -3
- package/dist/types/index.d.ts +1 -1
- package/dist/types/schemas/api/fetch-feedback-schema.d.ts +80 -112
- package/dist/types/schemas/fields/app-props-schema.d.ts +40 -34
- package/dist/types/schemas/fields/field-schema.d.ts +82 -74
- package/dist/types/schemas/fields/form-properties-schema.d.ts +40 -58
- package/dist/types/schemas/fields/form-schema.d.ts +0 -58
- package/dist/types/schemas/fields/theme-schema.d.ts +0 -4
- package/package.json +1 -1
|
@@ -2,11 +2,11 @@ import { z } from "zod";
|
|
|
2
2
|
export declare const questionTypeSchema: z.ZodEnum<{
|
|
3
3
|
rating: "rating";
|
|
4
4
|
single_choice: "single_choice";
|
|
5
|
-
nps: "nps";
|
|
6
|
-
nested_selection: "nested_selection";
|
|
7
5
|
multiple_choice_multiple: "multiple_choice_multiple";
|
|
6
|
+
nps: "nps";
|
|
8
7
|
short_answer: "short_answer";
|
|
9
8
|
long_text: "long_text";
|
|
9
|
+
nested_selection: "nested_selection";
|
|
10
10
|
annotation: "annotation";
|
|
11
11
|
welcome: "welcome";
|
|
12
12
|
thank_you: "thank_you";
|
|
@@ -36,15 +36,15 @@ export declare const QuestionTypes: {
|
|
|
36
36
|
readonly EXIT_FORM: "exit_form";
|
|
37
37
|
};
|
|
38
38
|
export declare const validationRuleTypeSchema: z.ZodEnum<{
|
|
39
|
+
custom: "custom";
|
|
40
|
+
pattern: "pattern";
|
|
39
41
|
required: "required";
|
|
40
42
|
min: "min";
|
|
41
43
|
max: "max";
|
|
42
44
|
minLength: "minLength";
|
|
43
45
|
maxLength: "maxLength";
|
|
44
|
-
pattern: "pattern";
|
|
45
46
|
email: "email";
|
|
46
47
|
url: "url";
|
|
47
|
-
custom: "custom";
|
|
48
48
|
}>;
|
|
49
49
|
export declare const ValidationRuleTypes: {
|
|
50
50
|
readonly REQUIRED: "required";
|
|
@@ -59,15 +59,15 @@ export declare const ValidationRuleTypes: {
|
|
|
59
59
|
};
|
|
60
60
|
export declare const validationRuleSchema: z.ZodObject<{
|
|
61
61
|
type: z.ZodEnum<{
|
|
62
|
+
custom: "custom";
|
|
63
|
+
pattern: "pattern";
|
|
62
64
|
required: "required";
|
|
63
65
|
min: "min";
|
|
64
66
|
max: "max";
|
|
65
67
|
minLength: "minLength";
|
|
66
68
|
maxLength: "maxLength";
|
|
67
|
-
pattern: "pattern";
|
|
68
69
|
email: "email";
|
|
69
70
|
url: "url";
|
|
70
|
-
custom: "custom";
|
|
71
71
|
}>;
|
|
72
72
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
73
73
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -111,6 +111,14 @@ export declare const visibilityConditionSchema: z.ZodObject<{
|
|
|
111
111
|
export declare const sectionSchema: z.ZodObject<{
|
|
112
112
|
id: z.ZodString;
|
|
113
113
|
title: z.ZodString;
|
|
114
|
+
titleTranslations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
115
|
+
description: z.ZodOptional<z.ZodString>;
|
|
116
|
+
descriptionTranslations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
117
|
+
showTitle: z.ZodDefault<z.ZodBoolean>;
|
|
118
|
+
showDescription: z.ZodDefault<z.ZodBoolean>;
|
|
119
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
120
|
+
nextButtonLabelTranslations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
121
|
+
inAppSingleQuestion: z.ZodDefault<z.ZodBoolean>;
|
|
114
122
|
questionIds: z.ZodArray<z.ZodString>;
|
|
115
123
|
}, z.core.$strip>;
|
|
116
124
|
export declare const questionStatusSchema: z.ZodEnum<{
|
|
@@ -200,11 +208,11 @@ export declare const questionSchema: z.ZodObject<{
|
|
|
200
208
|
type: z.ZodEnum<{
|
|
201
209
|
rating: "rating";
|
|
202
210
|
single_choice: "single_choice";
|
|
203
|
-
nps: "nps";
|
|
204
|
-
nested_selection: "nested_selection";
|
|
205
211
|
multiple_choice_multiple: "multiple_choice_multiple";
|
|
212
|
+
nps: "nps";
|
|
206
213
|
short_answer: "short_answer";
|
|
207
214
|
long_text: "long_text";
|
|
215
|
+
nested_selection: "nested_selection";
|
|
208
216
|
annotation: "annotation";
|
|
209
217
|
welcome: "welcome";
|
|
210
218
|
thank_you: "thank_you";
|
|
@@ -223,15 +231,15 @@ export declare const questionSchema: z.ZodObject<{
|
|
|
223
231
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
224
232
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
225
233
|
type: z.ZodEnum<{
|
|
234
|
+
custom: "custom";
|
|
235
|
+
pattern: "pattern";
|
|
226
236
|
required: "required";
|
|
227
237
|
min: "min";
|
|
228
238
|
max: "max";
|
|
229
239
|
minLength: "minLength";
|
|
230
240
|
maxLength: "maxLength";
|
|
231
|
-
pattern: "pattern";
|
|
232
241
|
email: "email";
|
|
233
242
|
url: "url";
|
|
234
|
-
custom: "custom";
|
|
235
243
|
}>;
|
|
236
244
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
237
245
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -274,15 +282,15 @@ export declare const ratingQuestionSchema: z.ZodObject<{
|
|
|
274
282
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
275
283
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
276
284
|
type: z.ZodEnum<{
|
|
285
|
+
custom: "custom";
|
|
286
|
+
pattern: "pattern";
|
|
277
287
|
required: "required";
|
|
278
288
|
min: "min";
|
|
279
289
|
max: "max";
|
|
280
290
|
minLength: "minLength";
|
|
281
291
|
maxLength: "maxLength";
|
|
282
|
-
pattern: "pattern";
|
|
283
292
|
email: "email";
|
|
284
293
|
url: "url";
|
|
285
|
-
custom: "custom";
|
|
286
294
|
}>;
|
|
287
295
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
288
296
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -344,15 +352,15 @@ export declare const annotationQuestionSchema: z.ZodObject<{
|
|
|
344
352
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
345
353
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
346
354
|
type: z.ZodEnum<{
|
|
355
|
+
custom: "custom";
|
|
356
|
+
pattern: "pattern";
|
|
347
357
|
required: "required";
|
|
348
358
|
min: "min";
|
|
349
359
|
max: "max";
|
|
350
360
|
minLength: "minLength";
|
|
351
361
|
maxLength: "maxLength";
|
|
352
|
-
pattern: "pattern";
|
|
353
362
|
email: "email";
|
|
354
363
|
url: "url";
|
|
355
|
-
custom: "custom";
|
|
356
364
|
}>;
|
|
357
365
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
358
366
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -396,15 +404,15 @@ export declare const welcomeQuestionSchema: z.ZodObject<{
|
|
|
396
404
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
397
405
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
398
406
|
type: z.ZodEnum<{
|
|
407
|
+
custom: "custom";
|
|
408
|
+
pattern: "pattern";
|
|
399
409
|
required: "required";
|
|
400
410
|
min: "min";
|
|
401
411
|
max: "max";
|
|
402
412
|
minLength: "minLength";
|
|
403
413
|
maxLength: "maxLength";
|
|
404
|
-
pattern: "pattern";
|
|
405
414
|
email: "email";
|
|
406
415
|
url: "url";
|
|
407
|
-
custom: "custom";
|
|
408
416
|
}>;
|
|
409
417
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
410
418
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -450,15 +458,15 @@ export declare const thankYouQuestionSchema: z.ZodObject<{
|
|
|
450
458
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
451
459
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
452
460
|
type: z.ZodEnum<{
|
|
461
|
+
custom: "custom";
|
|
462
|
+
pattern: "pattern";
|
|
453
463
|
required: "required";
|
|
454
464
|
min: "min";
|
|
455
465
|
max: "max";
|
|
456
466
|
minLength: "minLength";
|
|
457
467
|
maxLength: "maxLength";
|
|
458
|
-
pattern: "pattern";
|
|
459
468
|
email: "email";
|
|
460
469
|
url: "url";
|
|
461
|
-
custom: "custom";
|
|
462
470
|
}>;
|
|
463
471
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
464
472
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -504,15 +512,15 @@ export declare const messagePanelQuestionSchema: z.ZodObject<{
|
|
|
504
512
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
505
513
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
506
514
|
type: z.ZodEnum<{
|
|
515
|
+
custom: "custom";
|
|
516
|
+
pattern: "pattern";
|
|
507
517
|
required: "required";
|
|
508
518
|
min: "min";
|
|
509
519
|
max: "max";
|
|
510
520
|
minLength: "minLength";
|
|
511
521
|
maxLength: "maxLength";
|
|
512
|
-
pattern: "pattern";
|
|
513
522
|
email: "email";
|
|
514
523
|
url: "url";
|
|
515
|
-
custom: "custom";
|
|
516
524
|
}>;
|
|
517
525
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
518
526
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -560,15 +568,15 @@ export declare const exitFormQuestionSchema: z.ZodObject<{
|
|
|
560
568
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
561
569
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
562
570
|
type: z.ZodEnum<{
|
|
571
|
+
custom: "custom";
|
|
572
|
+
pattern: "pattern";
|
|
563
573
|
required: "required";
|
|
564
574
|
min: "min";
|
|
565
575
|
max: "max";
|
|
566
576
|
minLength: "minLength";
|
|
567
577
|
maxLength: "maxLength";
|
|
568
|
-
pattern: "pattern";
|
|
569
578
|
email: "email";
|
|
570
579
|
url: "url";
|
|
571
|
-
custom: "custom";
|
|
572
580
|
}>;
|
|
573
581
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
574
582
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -612,15 +620,15 @@ export declare const yesNoQuestionSchema: z.ZodObject<{
|
|
|
612
620
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
613
621
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
614
622
|
type: z.ZodEnum<{
|
|
623
|
+
custom: "custom";
|
|
624
|
+
pattern: "pattern";
|
|
615
625
|
required: "required";
|
|
616
626
|
min: "min";
|
|
617
627
|
max: "max";
|
|
618
628
|
minLength: "minLength";
|
|
619
629
|
maxLength: "maxLength";
|
|
620
|
-
pattern: "pattern";
|
|
621
630
|
email: "email";
|
|
622
631
|
url: "url";
|
|
623
|
-
custom: "custom";
|
|
624
632
|
}>;
|
|
625
633
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
626
634
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -720,15 +728,15 @@ export declare const ratingMatrixQuestionSchema: z.ZodObject<{
|
|
|
720
728
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
721
729
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
722
730
|
type: z.ZodEnum<{
|
|
731
|
+
custom: "custom";
|
|
732
|
+
pattern: "pattern";
|
|
723
733
|
required: "required";
|
|
724
734
|
min: "min";
|
|
725
735
|
max: "max";
|
|
726
736
|
minLength: "minLength";
|
|
727
737
|
maxLength: "maxLength";
|
|
728
|
-
pattern: "pattern";
|
|
729
738
|
email: "email";
|
|
730
739
|
url: "url";
|
|
731
|
-
custom: "custom";
|
|
732
740
|
}>;
|
|
733
741
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
734
742
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -823,15 +831,15 @@ export declare const matrixSingleChoiceQuestionSchema: z.ZodObject<{
|
|
|
823
831
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
824
832
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
825
833
|
type: z.ZodEnum<{
|
|
834
|
+
custom: "custom";
|
|
835
|
+
pattern: "pattern";
|
|
826
836
|
required: "required";
|
|
827
837
|
min: "min";
|
|
828
838
|
max: "max";
|
|
829
839
|
minLength: "minLength";
|
|
830
840
|
maxLength: "maxLength";
|
|
831
|
-
pattern: "pattern";
|
|
832
841
|
email: "email";
|
|
833
842
|
url: "url";
|
|
834
|
-
custom: "custom";
|
|
835
843
|
}>;
|
|
836
844
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
837
845
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -889,15 +897,15 @@ export declare const matrixMultipleChoiceQuestionSchema: z.ZodObject<{
|
|
|
889
897
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
890
898
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
891
899
|
type: z.ZodEnum<{
|
|
900
|
+
custom: "custom";
|
|
901
|
+
pattern: "pattern";
|
|
892
902
|
required: "required";
|
|
893
903
|
min: "min";
|
|
894
904
|
max: "max";
|
|
895
905
|
minLength: "minLength";
|
|
896
906
|
maxLength: "maxLength";
|
|
897
|
-
pattern: "pattern";
|
|
898
907
|
email: "email";
|
|
899
908
|
url: "url";
|
|
900
|
-
custom: "custom";
|
|
901
909
|
}>;
|
|
902
910
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
903
911
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -965,15 +973,15 @@ export declare const multipleChoiceSingleQuestionSchema: z.ZodObject<{
|
|
|
965
973
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
966
974
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
967
975
|
type: z.ZodEnum<{
|
|
976
|
+
custom: "custom";
|
|
977
|
+
pattern: "pattern";
|
|
968
978
|
required: "required";
|
|
969
979
|
min: "min";
|
|
970
980
|
max: "max";
|
|
971
981
|
minLength: "minLength";
|
|
972
982
|
maxLength: "maxLength";
|
|
973
|
-
pattern: "pattern";
|
|
974
983
|
email: "email";
|
|
975
984
|
url: "url";
|
|
976
|
-
custom: "custom";
|
|
977
985
|
}>;
|
|
978
986
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
979
987
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1037,15 +1045,15 @@ export declare const multipleChoiceMultipleQuestionSchema: z.ZodObject<{
|
|
|
1037
1045
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1038
1046
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1039
1047
|
type: z.ZodEnum<{
|
|
1048
|
+
custom: "custom";
|
|
1049
|
+
pattern: "pattern";
|
|
1040
1050
|
required: "required";
|
|
1041
1051
|
min: "min";
|
|
1042
1052
|
max: "max";
|
|
1043
1053
|
minLength: "minLength";
|
|
1044
1054
|
maxLength: "maxLength";
|
|
1045
|
-
pattern: "pattern";
|
|
1046
1055
|
email: "email";
|
|
1047
1056
|
url: "url";
|
|
1048
|
-
custom: "custom";
|
|
1049
1057
|
}>;
|
|
1050
1058
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1051
1059
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1110,15 +1118,15 @@ export declare const npsQuestionSchema: z.ZodObject<{
|
|
|
1110
1118
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1111
1119
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1112
1120
|
type: z.ZodEnum<{
|
|
1121
|
+
custom: "custom";
|
|
1122
|
+
pattern: "pattern";
|
|
1113
1123
|
required: "required";
|
|
1114
1124
|
min: "min";
|
|
1115
1125
|
max: "max";
|
|
1116
1126
|
minLength: "minLength";
|
|
1117
1127
|
maxLength: "maxLength";
|
|
1118
|
-
pattern: "pattern";
|
|
1119
1128
|
email: "email";
|
|
1120
1129
|
url: "url";
|
|
1121
|
-
custom: "custom";
|
|
1122
1130
|
}>;
|
|
1123
1131
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1124
1132
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1168,15 +1176,15 @@ export declare const shortAnswerQuestionSchema: z.ZodObject<{
|
|
|
1168
1176
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1169
1177
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1170
1178
|
type: z.ZodEnum<{
|
|
1179
|
+
custom: "custom";
|
|
1180
|
+
pattern: "pattern";
|
|
1171
1181
|
required: "required";
|
|
1172
1182
|
min: "min";
|
|
1173
1183
|
max: "max";
|
|
1174
1184
|
minLength: "minLength";
|
|
1175
1185
|
maxLength: "maxLength";
|
|
1176
|
-
pattern: "pattern";
|
|
1177
1186
|
email: "email";
|
|
1178
1187
|
url: "url";
|
|
1179
|
-
custom: "custom";
|
|
1180
1188
|
}>;
|
|
1181
1189
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1182
1190
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1229,15 +1237,15 @@ export declare const longAnswerQuestionSchema: z.ZodObject<{
|
|
|
1229
1237
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1230
1238
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1231
1239
|
type: z.ZodEnum<{
|
|
1240
|
+
custom: "custom";
|
|
1241
|
+
pattern: "pattern";
|
|
1232
1242
|
required: "required";
|
|
1233
1243
|
min: "min";
|
|
1234
1244
|
max: "max";
|
|
1235
1245
|
minLength: "minLength";
|
|
1236
1246
|
maxLength: "maxLength";
|
|
1237
|
-
pattern: "pattern";
|
|
1238
1247
|
email: "email";
|
|
1239
1248
|
url: "url";
|
|
1240
|
-
custom: "custom";
|
|
1241
1249
|
}>;
|
|
1242
1250
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1243
1251
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1289,15 +1297,15 @@ export declare const nestedDropdownQuestionSchema: z.ZodObject<{
|
|
|
1289
1297
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1290
1298
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1291
1299
|
type: z.ZodEnum<{
|
|
1300
|
+
custom: "custom";
|
|
1301
|
+
pattern: "pattern";
|
|
1292
1302
|
required: "required";
|
|
1293
1303
|
min: "min";
|
|
1294
1304
|
max: "max";
|
|
1295
1305
|
minLength: "minLength";
|
|
1296
1306
|
maxLength: "maxLength";
|
|
1297
|
-
pattern: "pattern";
|
|
1298
1307
|
email: "email";
|
|
1299
1308
|
url: "url";
|
|
1300
|
-
custom: "custom";
|
|
1301
1309
|
}>;
|
|
1302
1310
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1303
1311
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1394,15 +1402,15 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1394
1402
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1395
1403
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1396
1404
|
type: z.ZodEnum<{
|
|
1405
|
+
custom: "custom";
|
|
1406
|
+
pattern: "pattern";
|
|
1397
1407
|
required: "required";
|
|
1398
1408
|
min: "min";
|
|
1399
1409
|
max: "max";
|
|
1400
1410
|
minLength: "minLength";
|
|
1401
1411
|
maxLength: "maxLength";
|
|
1402
|
-
pattern: "pattern";
|
|
1403
1412
|
email: "email";
|
|
1404
1413
|
url: "url";
|
|
1405
|
-
custom: "custom";
|
|
1406
1414
|
}>;
|
|
1407
1415
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1408
1416
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1463,15 +1471,15 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1463
1471
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1464
1472
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1465
1473
|
type: z.ZodEnum<{
|
|
1474
|
+
custom: "custom";
|
|
1475
|
+
pattern: "pattern";
|
|
1466
1476
|
required: "required";
|
|
1467
1477
|
min: "min";
|
|
1468
1478
|
max: "max";
|
|
1469
1479
|
minLength: "minLength";
|
|
1470
1480
|
maxLength: "maxLength";
|
|
1471
|
-
pattern: "pattern";
|
|
1472
1481
|
email: "email";
|
|
1473
1482
|
url: "url";
|
|
1474
|
-
custom: "custom";
|
|
1475
1483
|
}>;
|
|
1476
1484
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1477
1485
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1514,15 +1522,15 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1514
1522
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1515
1523
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1516
1524
|
type: z.ZodEnum<{
|
|
1525
|
+
custom: "custom";
|
|
1526
|
+
pattern: "pattern";
|
|
1517
1527
|
required: "required";
|
|
1518
1528
|
min: "min";
|
|
1519
1529
|
max: "max";
|
|
1520
1530
|
minLength: "minLength";
|
|
1521
1531
|
maxLength: "maxLength";
|
|
1522
|
-
pattern: "pattern";
|
|
1523
1532
|
email: "email";
|
|
1524
1533
|
url: "url";
|
|
1525
|
-
custom: "custom";
|
|
1526
1534
|
}>;
|
|
1527
1535
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1528
1536
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1567,15 +1575,15 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1567
1575
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1568
1576
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1569
1577
|
type: z.ZodEnum<{
|
|
1578
|
+
custom: "custom";
|
|
1579
|
+
pattern: "pattern";
|
|
1570
1580
|
required: "required";
|
|
1571
1581
|
min: "min";
|
|
1572
1582
|
max: "max";
|
|
1573
1583
|
minLength: "minLength";
|
|
1574
1584
|
maxLength: "maxLength";
|
|
1575
|
-
pattern: "pattern";
|
|
1576
1585
|
email: "email";
|
|
1577
1586
|
url: "url";
|
|
1578
|
-
custom: "custom";
|
|
1579
1587
|
}>;
|
|
1580
1588
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1581
1589
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1620,15 +1628,15 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1620
1628
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1621
1629
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1622
1630
|
type: z.ZodEnum<{
|
|
1631
|
+
custom: "custom";
|
|
1632
|
+
pattern: "pattern";
|
|
1623
1633
|
required: "required";
|
|
1624
1634
|
min: "min";
|
|
1625
1635
|
max: "max";
|
|
1626
1636
|
minLength: "minLength";
|
|
1627
1637
|
maxLength: "maxLength";
|
|
1628
|
-
pattern: "pattern";
|
|
1629
1638
|
email: "email";
|
|
1630
1639
|
url: "url";
|
|
1631
|
-
custom: "custom";
|
|
1632
1640
|
}>;
|
|
1633
1641
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1634
1642
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1675,15 +1683,15 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1675
1683
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1676
1684
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1677
1685
|
type: z.ZodEnum<{
|
|
1686
|
+
custom: "custom";
|
|
1687
|
+
pattern: "pattern";
|
|
1678
1688
|
required: "required";
|
|
1679
1689
|
min: "min";
|
|
1680
1690
|
max: "max";
|
|
1681
1691
|
minLength: "minLength";
|
|
1682
1692
|
maxLength: "maxLength";
|
|
1683
|
-
pattern: "pattern";
|
|
1684
1693
|
email: "email";
|
|
1685
1694
|
url: "url";
|
|
1686
|
-
custom: "custom";
|
|
1687
1695
|
}>;
|
|
1688
1696
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1689
1697
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1726,15 +1734,15 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1726
1734
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1727
1735
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1728
1736
|
type: z.ZodEnum<{
|
|
1737
|
+
custom: "custom";
|
|
1738
|
+
pattern: "pattern";
|
|
1729
1739
|
required: "required";
|
|
1730
1740
|
min: "min";
|
|
1731
1741
|
max: "max";
|
|
1732
1742
|
minLength: "minLength";
|
|
1733
1743
|
maxLength: "maxLength";
|
|
1734
|
-
pattern: "pattern";
|
|
1735
1744
|
email: "email";
|
|
1736
1745
|
url: "url";
|
|
1737
|
-
custom: "custom";
|
|
1738
1746
|
}>;
|
|
1739
1747
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1740
1748
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1783,15 +1791,15 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1783
1791
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1784
1792
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1785
1793
|
type: z.ZodEnum<{
|
|
1794
|
+
custom: "custom";
|
|
1795
|
+
pattern: "pattern";
|
|
1786
1796
|
required: "required";
|
|
1787
1797
|
min: "min";
|
|
1788
1798
|
max: "max";
|
|
1789
1799
|
minLength: "minLength";
|
|
1790
1800
|
maxLength: "maxLength";
|
|
1791
|
-
pattern: "pattern";
|
|
1792
1801
|
email: "email";
|
|
1793
1802
|
url: "url";
|
|
1794
|
-
custom: "custom";
|
|
1795
1803
|
}>;
|
|
1796
1804
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1797
1805
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1873,15 +1881,15 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1873
1881
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1874
1882
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1875
1883
|
type: z.ZodEnum<{
|
|
1884
|
+
custom: "custom";
|
|
1885
|
+
pattern: "pattern";
|
|
1876
1886
|
required: "required";
|
|
1877
1887
|
min: "min";
|
|
1878
1888
|
max: "max";
|
|
1879
1889
|
minLength: "minLength";
|
|
1880
1890
|
maxLength: "maxLength";
|
|
1881
|
-
pattern: "pattern";
|
|
1882
1891
|
email: "email";
|
|
1883
1892
|
url: "url";
|
|
1884
|
-
custom: "custom";
|
|
1885
1893
|
}>;
|
|
1886
1894
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1887
1895
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1938,15 +1946,15 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1938
1946
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1939
1947
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1940
1948
|
type: z.ZodEnum<{
|
|
1949
|
+
custom: "custom";
|
|
1950
|
+
pattern: "pattern";
|
|
1941
1951
|
required: "required";
|
|
1942
1952
|
min: "min";
|
|
1943
1953
|
max: "max";
|
|
1944
1954
|
minLength: "minLength";
|
|
1945
1955
|
maxLength: "maxLength";
|
|
1946
|
-
pattern: "pattern";
|
|
1947
1956
|
email: "email";
|
|
1948
1957
|
url: "url";
|
|
1949
|
-
custom: "custom";
|
|
1950
1958
|
}>;
|
|
1951
1959
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1952
1960
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -2005,15 +2013,15 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2005
2013
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
2006
2014
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2007
2015
|
type: z.ZodEnum<{
|
|
2016
|
+
custom: "custom";
|
|
2017
|
+
pattern: "pattern";
|
|
2008
2018
|
required: "required";
|
|
2009
2019
|
min: "min";
|
|
2010
2020
|
max: "max";
|
|
2011
2021
|
minLength: "minLength";
|
|
2012
2022
|
maxLength: "maxLength";
|
|
2013
|
-
pattern: "pattern";
|
|
2014
2023
|
email: "email";
|
|
2015
2024
|
url: "url";
|
|
2016
|
-
custom: "custom";
|
|
2017
2025
|
}>;
|
|
2018
2026
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2019
2027
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -2076,15 +2084,15 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2076
2084
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
2077
2085
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2078
2086
|
type: z.ZodEnum<{
|
|
2087
|
+
custom: "custom";
|
|
2088
|
+
pattern: "pattern";
|
|
2079
2089
|
required: "required";
|
|
2080
2090
|
min: "min";
|
|
2081
2091
|
max: "max";
|
|
2082
2092
|
minLength: "minLength";
|
|
2083
2093
|
maxLength: "maxLength";
|
|
2084
|
-
pattern: "pattern";
|
|
2085
2094
|
email: "email";
|
|
2086
2095
|
url: "url";
|
|
2087
|
-
custom: "custom";
|
|
2088
2096
|
}>;
|
|
2089
2097
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2090
2098
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -2148,15 +2156,15 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2148
2156
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
2149
2157
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2150
2158
|
type: z.ZodEnum<{
|
|
2159
|
+
custom: "custom";
|
|
2160
|
+
pattern: "pattern";
|
|
2151
2161
|
required: "required";
|
|
2152
2162
|
min: "min";
|
|
2153
2163
|
max: "max";
|
|
2154
2164
|
minLength: "minLength";
|
|
2155
2165
|
maxLength: "maxLength";
|
|
2156
|
-
pattern: "pattern";
|
|
2157
2166
|
email: "email";
|
|
2158
2167
|
url: "url";
|
|
2159
|
-
custom: "custom";
|
|
2160
2168
|
}>;
|
|
2161
2169
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2162
2170
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -2205,15 +2213,15 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2205
2213
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
2206
2214
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2207
2215
|
type: z.ZodEnum<{
|
|
2216
|
+
custom: "custom";
|
|
2217
|
+
pattern: "pattern";
|
|
2208
2218
|
required: "required";
|
|
2209
2219
|
min: "min";
|
|
2210
2220
|
max: "max";
|
|
2211
2221
|
minLength: "minLength";
|
|
2212
2222
|
maxLength: "maxLength";
|
|
2213
|
-
pattern: "pattern";
|
|
2214
2223
|
email: "email";
|
|
2215
2224
|
url: "url";
|
|
2216
|
-
custom: "custom";
|
|
2217
2225
|
}>;
|
|
2218
2226
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2219
2227
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -2265,15 +2273,15 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2265
2273
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
2266
2274
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2267
2275
|
type: z.ZodEnum<{
|
|
2276
|
+
custom: "custom";
|
|
2277
|
+
pattern: "pattern";
|
|
2268
2278
|
required: "required";
|
|
2269
2279
|
min: "min";
|
|
2270
2280
|
max: "max";
|
|
2271
2281
|
minLength: "minLength";
|
|
2272
2282
|
maxLength: "maxLength";
|
|
2273
|
-
pattern: "pattern";
|
|
2274
2283
|
email: "email";
|
|
2275
2284
|
url: "url";
|
|
2276
|
-
custom: "custom";
|
|
2277
2285
|
}>;
|
|
2278
2286
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2279
2287
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -2324,15 +2332,15 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2324
2332
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
2325
2333
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2326
2334
|
type: z.ZodEnum<{
|
|
2335
|
+
custom: "custom";
|
|
2336
|
+
pattern: "pattern";
|
|
2327
2337
|
required: "required";
|
|
2328
2338
|
min: "min";
|
|
2329
2339
|
max: "max";
|
|
2330
2340
|
minLength: "minLength";
|
|
2331
2341
|
maxLength: "maxLength";
|
|
2332
|
-
pattern: "pattern";
|
|
2333
2342
|
email: "email";
|
|
2334
2343
|
url: "url";
|
|
2335
|
-
custom: "custom";
|
|
2336
2344
|
}>;
|
|
2337
2345
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2338
2346
|
message: z.ZodOptional<z.ZodString>;
|