@encatch/schema 1.0.1-beta.2 → 1.1.0-beta.4

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.
@@ -34,15 +34,15 @@ export declare const appPropsSchema: z.ZodObject<{
34
34
  errorMessage: z.ZodOptional<z.ZodString>;
35
35
  validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
36
36
  type: z.ZodEnum<{
37
+ custom: "custom";
38
+ pattern: "pattern";
37
39
  required: "required";
38
40
  min: "min";
39
41
  max: "max";
40
42
  minLength: "minLength";
41
43
  maxLength: "maxLength";
42
- pattern: "pattern";
43
44
  email: "email";
44
45
  url: "url";
45
- custom: "custom";
46
46
  }>;
47
47
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
48
48
  message: z.ZodOptional<z.ZodString>;
@@ -103,15 +103,15 @@ export declare const appPropsSchema: z.ZodObject<{
103
103
  errorMessage: z.ZodOptional<z.ZodString>;
104
104
  validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
105
105
  type: z.ZodEnum<{
106
+ custom: "custom";
107
+ pattern: "pattern";
106
108
  required: "required";
107
109
  min: "min";
108
110
  max: "max";
109
111
  minLength: "minLength";
110
112
  maxLength: "maxLength";
111
- pattern: "pattern";
112
113
  email: "email";
113
114
  url: "url";
114
- custom: "custom";
115
115
  }>;
116
116
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
117
117
  message: z.ZodOptional<z.ZodString>;
@@ -154,15 +154,15 @@ export declare const appPropsSchema: z.ZodObject<{
154
154
  errorMessage: z.ZodOptional<z.ZodString>;
155
155
  validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
156
156
  type: z.ZodEnum<{
157
+ custom: "custom";
158
+ pattern: "pattern";
157
159
  required: "required";
158
160
  min: "min";
159
161
  max: "max";
160
162
  minLength: "minLength";
161
163
  maxLength: "maxLength";
162
- pattern: "pattern";
163
164
  email: "email";
164
165
  url: "url";
165
- custom: "custom";
166
166
  }>;
167
167
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
168
168
  message: z.ZodOptional<z.ZodString>;
@@ -207,15 +207,15 @@ export declare const appPropsSchema: z.ZodObject<{
207
207
  errorMessage: z.ZodOptional<z.ZodString>;
208
208
  validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
209
209
  type: z.ZodEnum<{
210
+ custom: "custom";
211
+ pattern: "pattern";
210
212
  required: "required";
211
213
  min: "min";
212
214
  max: "max";
213
215
  minLength: "minLength";
214
216
  maxLength: "maxLength";
215
- pattern: "pattern";
216
217
  email: "email";
217
218
  url: "url";
218
- custom: "custom";
219
219
  }>;
220
220
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
221
221
  message: z.ZodOptional<z.ZodString>;
@@ -260,15 +260,15 @@ export declare const appPropsSchema: z.ZodObject<{
260
260
  errorMessage: z.ZodOptional<z.ZodString>;
261
261
  validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
262
262
  type: z.ZodEnum<{
263
+ custom: "custom";
264
+ pattern: "pattern";
263
265
  required: "required";
264
266
  min: "min";
265
267
  max: "max";
266
268
  minLength: "minLength";
267
269
  maxLength: "maxLength";
268
- pattern: "pattern";
269
270
  email: "email";
270
271
  url: "url";
271
- custom: "custom";
272
272
  }>;
273
273
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
274
274
  message: z.ZodOptional<z.ZodString>;
@@ -315,15 +315,15 @@ export declare const appPropsSchema: z.ZodObject<{
315
315
  errorMessage: z.ZodOptional<z.ZodString>;
316
316
  validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
317
317
  type: z.ZodEnum<{
318
+ custom: "custom";
319
+ pattern: "pattern";
318
320
  required: "required";
319
321
  min: "min";
320
322
  max: "max";
321
323
  minLength: "minLength";
322
324
  maxLength: "maxLength";
323
- pattern: "pattern";
324
325
  email: "email";
325
326
  url: "url";
326
- custom: "custom";
327
327
  }>;
328
328
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
329
329
  message: z.ZodOptional<z.ZodString>;
@@ -366,15 +366,15 @@ export declare const appPropsSchema: z.ZodObject<{
366
366
  errorMessage: z.ZodOptional<z.ZodString>;
367
367
  validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
368
368
  type: z.ZodEnum<{
369
+ custom: "custom";
370
+ pattern: "pattern";
369
371
  required: "required";
370
372
  min: "min";
371
373
  max: "max";
372
374
  minLength: "minLength";
373
375
  maxLength: "maxLength";
374
- pattern: "pattern";
375
376
  email: "email";
376
377
  url: "url";
377
- custom: "custom";
378
378
  }>;
379
379
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
380
380
  message: z.ZodOptional<z.ZodString>;
@@ -423,15 +423,15 @@ export declare const appPropsSchema: z.ZodObject<{
423
423
  errorMessage: z.ZodOptional<z.ZodString>;
424
424
  validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
425
425
  type: z.ZodEnum<{
426
+ custom: "custom";
427
+ pattern: "pattern";
426
428
  required: "required";
427
429
  min: "min";
428
430
  max: "max";
429
431
  minLength: "minLength";
430
432
  maxLength: "maxLength";
431
- pattern: "pattern";
432
433
  email: "email";
433
434
  url: "url";
434
- custom: "custom";
435
435
  }>;
436
436
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
437
437
  message: z.ZodOptional<z.ZodString>;
@@ -513,15 +513,15 @@ export declare const appPropsSchema: z.ZodObject<{
513
513
  errorMessage: z.ZodOptional<z.ZodString>;
514
514
  validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
515
515
  type: z.ZodEnum<{
516
+ custom: "custom";
517
+ pattern: "pattern";
516
518
  required: "required";
517
519
  min: "min";
518
520
  max: "max";
519
521
  minLength: "minLength";
520
522
  maxLength: "maxLength";
521
- pattern: "pattern";
522
523
  email: "email";
523
524
  url: "url";
524
- custom: "custom";
525
525
  }>;
526
526
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
527
527
  message: z.ZodOptional<z.ZodString>;
@@ -578,15 +578,15 @@ export declare const appPropsSchema: z.ZodObject<{
578
578
  errorMessage: z.ZodOptional<z.ZodString>;
579
579
  validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
580
580
  type: z.ZodEnum<{
581
+ custom: "custom";
582
+ pattern: "pattern";
581
583
  required: "required";
582
584
  min: "min";
583
585
  max: "max";
584
586
  minLength: "minLength";
585
587
  maxLength: "maxLength";
586
- pattern: "pattern";
587
588
  email: "email";
588
589
  url: "url";
589
- custom: "custom";
590
590
  }>;
591
591
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
592
592
  message: z.ZodOptional<z.ZodString>;
@@ -645,15 +645,15 @@ export declare const appPropsSchema: z.ZodObject<{
645
645
  errorMessage: z.ZodOptional<z.ZodString>;
646
646
  validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
647
647
  type: z.ZodEnum<{
648
+ custom: "custom";
649
+ pattern: "pattern";
648
650
  required: "required";
649
651
  min: "min";
650
652
  max: "max";
651
653
  minLength: "minLength";
652
654
  maxLength: "maxLength";
653
- pattern: "pattern";
654
655
  email: "email";
655
656
  url: "url";
656
- custom: "custom";
657
657
  }>;
658
658
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
659
659
  message: z.ZodOptional<z.ZodString>;
@@ -716,15 +716,15 @@ export declare const appPropsSchema: z.ZodObject<{
716
716
  errorMessage: z.ZodOptional<z.ZodString>;
717
717
  validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
718
718
  type: z.ZodEnum<{
719
+ custom: "custom";
720
+ pattern: "pattern";
719
721
  required: "required";
720
722
  min: "min";
721
723
  max: "max";
722
724
  minLength: "minLength";
723
725
  maxLength: "maxLength";
724
- pattern: "pattern";
725
726
  email: "email";
726
727
  url: "url";
727
- custom: "custom";
728
728
  }>;
729
729
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
730
730
  message: z.ZodOptional<z.ZodString>;
@@ -788,15 +788,15 @@ export declare const appPropsSchema: z.ZodObject<{
788
788
  errorMessage: z.ZodOptional<z.ZodString>;
789
789
  validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
790
790
  type: z.ZodEnum<{
791
+ custom: "custom";
792
+ pattern: "pattern";
791
793
  required: "required";
792
794
  min: "min";
793
795
  max: "max";
794
796
  minLength: "minLength";
795
797
  maxLength: "maxLength";
796
- pattern: "pattern";
797
798
  email: "email";
798
799
  url: "url";
799
- custom: "custom";
800
800
  }>;
801
801
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
802
802
  message: z.ZodOptional<z.ZodString>;
@@ -845,15 +845,15 @@ export declare const appPropsSchema: z.ZodObject<{
845
845
  errorMessage: z.ZodOptional<z.ZodString>;
846
846
  validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
847
847
  type: z.ZodEnum<{
848
+ custom: "custom";
849
+ pattern: "pattern";
848
850
  required: "required";
849
851
  min: "min";
850
852
  max: "max";
851
853
  minLength: "minLength";
852
854
  maxLength: "maxLength";
853
- pattern: "pattern";
854
855
  email: "email";
855
856
  url: "url";
856
- custom: "custom";
857
857
  }>;
858
858
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
859
859
  message: z.ZodOptional<z.ZodString>;
@@ -905,15 +905,15 @@ export declare const appPropsSchema: z.ZodObject<{
905
905
  errorMessage: z.ZodOptional<z.ZodString>;
906
906
  validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
907
907
  type: z.ZodEnum<{
908
+ custom: "custom";
909
+ pattern: "pattern";
908
910
  required: "required";
909
911
  min: "min";
910
912
  max: "max";
911
913
  minLength: "minLength";
912
914
  maxLength: "maxLength";
913
- pattern: "pattern";
914
915
  email: "email";
915
916
  url: "url";
916
- custom: "custom";
917
917
  }>;
918
918
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
919
919
  message: z.ZodOptional<z.ZodString>;
@@ -964,15 +964,15 @@ export declare const appPropsSchema: z.ZodObject<{
964
964
  errorMessage: z.ZodOptional<z.ZodString>;
965
965
  validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
966
966
  type: z.ZodEnum<{
967
+ custom: "custom";
968
+ pattern: "pattern";
967
969
  required: "required";
968
970
  min: "min";
969
971
  max: "max";
970
972
  minLength: "minLength";
971
973
  maxLength: "maxLength";
972
- pattern: "pattern";
973
974
  email: "email";
974
975
  url: "url";
975
- custom: "custom";
976
976
  }>;
977
977
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
978
978
  message: z.ZodOptional<z.ZodString>;
@@ -1170,6 +1170,16 @@ export declare const appPropsSchema: z.ZodObject<{
1170
1170
  sections: z.ZodArray<z.ZodObject<{
1171
1171
  id: z.ZodString;
1172
1172
  title: z.ZodString;
1173
+ description: z.ZodOptional<z.ZodString>;
1174
+ showTitle: z.ZodDefault<z.ZodBoolean>;
1175
+ showDescription: z.ZodDefault<z.ZodBoolean>;
1176
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
1177
+ translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1178
+ title: z.ZodString;
1179
+ description: z.ZodOptional<z.ZodString>;
1180
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
1181
+ }, z.core.$strip>>>;
1182
+ inAppSingleQuestion: z.ZodDefault<z.ZodBoolean>;
1173
1183
  questionIds: z.ZodArray<z.ZodString>;
1174
1184
  }, z.core.$strip>>;
1175
1185
  themeSettings: z.ZodObject<{
@@ -1187,14 +1197,12 @@ export declare const appPropsSchema: z.ZodObject<{
1187
1197
  progressBar: z.ZodBoolean;
1188
1198
  showBranding: z.ZodBoolean;
1189
1199
  customPosition: z.ZodBoolean;
1190
- customIconPosition: z.ZodBoolean;
1191
1200
  customCss: z.ZodOptional<z.ZodString>;
1192
1201
  shareableMode: z.ZodOptional<z.ZodEnum<{
1193
1202
  light: "light";
1194
1203
  dark: "dark";
1195
1204
  system: "system";
1196
1205
  }>>;
1197
- allowMultipleQuestionsPerSection: z.ZodBoolean;
1198
1206
  rtl: z.ZodBoolean;
1199
1207
  previousButton: z.ZodEnum<{
1200
1208
  never: "never";