@encatch/schema 1.2.0-beta.7 → 1.2.0-beta.9
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 +52 -4
- package/dist/esm/index.js.map +2 -2
- package/dist/types/index.d.ts +1 -1
- package/dist/types/schemas/api/fetch-feedback-schema.d.ts +484 -4
- package/dist/types/schemas/api/submit-feedback-schema.d.ts +6 -6
- package/dist/types/schemas/fields/answer-schema.d.ts +3 -3
- package/dist/types/schemas/fields/app-props-schema.d.ts +272 -2
- package/dist/types/schemas/fields/field-schema.d.ts +494 -7
- package/dist/types/schemas/fields/form-properties-schema.d.ts +272 -2
- package/dist/types/schemas/fields/translations-schema.d.ts +154 -0
- package/package.json +1 -1
|
@@ -68,6 +68,38 @@ export declare const videoAudioQuestionTranslationSchema: z.ZodObject<{
|
|
|
68
68
|
modeTabLabelAudio: z.ZodOptional<z.ZodString>;
|
|
69
69
|
modeTabLabelPhoto: z.ZodOptional<z.ZodString>;
|
|
70
70
|
modeTabLabelText: z.ZodOptional<z.ZodString>;
|
|
71
|
+
recordButtonLabel: z.ZodOptional<z.ZodString>;
|
|
72
|
+
uploadMediaButtonLabel: z.ZodOptional<z.ZodString>;
|
|
73
|
+
videoIdleHint: z.ZodOptional<z.ZodString>;
|
|
74
|
+
photoEmptyHint: z.ZodOptional<z.ZodString>;
|
|
75
|
+
photoUseCameraButtonLabel: z.ZodOptional<z.ZodString>;
|
|
76
|
+
photoUploadImageButtonLabel: z.ZodOptional<z.ZodString>;
|
|
77
|
+
}, z.core.$strip>;
|
|
78
|
+
export declare const dateQuestionTranslationSchema: z.ZodObject<{
|
|
79
|
+
title: z.ZodString;
|
|
80
|
+
description: z.ZodOptional<z.ZodString>;
|
|
81
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
82
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
83
|
+
type: z.ZodLiteral<"date">;
|
|
84
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
85
|
+
segmentLabelDD: z.ZodOptional<z.ZodString>;
|
|
86
|
+
segmentLabelMM: z.ZodOptional<z.ZodString>;
|
|
87
|
+
segmentLabelYYYY: z.ZodOptional<z.ZodString>;
|
|
88
|
+
}, z.core.$strip>;
|
|
89
|
+
export declare const signatureQuestionTranslationSchema: z.ZodObject<{
|
|
90
|
+
title: z.ZodString;
|
|
91
|
+
description: z.ZodOptional<z.ZodString>;
|
|
92
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
93
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
94
|
+
type: z.ZodLiteral<"signature">;
|
|
95
|
+
clearButtonLabel: z.ZodOptional<z.ZodString>;
|
|
96
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
97
|
+
modeTabLabelType: z.ZodOptional<z.ZodString>;
|
|
98
|
+
modeTabLabelDraw: z.ZodOptional<z.ZodString>;
|
|
99
|
+
modeTabLabelUpload: z.ZodOptional<z.ZodString>;
|
|
100
|
+
drawCanvasHint: z.ZodOptional<z.ZodString>;
|
|
101
|
+
uploadZonePrimary: z.ZodOptional<z.ZodString>;
|
|
102
|
+
uploadZoneDrag: z.ZodOptional<z.ZodString>;
|
|
71
103
|
}, z.core.$strip>;
|
|
72
104
|
export declare const nestedSelectionQuestionTranslationSchema: z.ZodObject<{
|
|
73
105
|
title: z.ZodString;
|
|
@@ -201,6 +233,36 @@ export declare const questionTranslationSchema: z.ZodUnion<readonly [z.ZodObject
|
|
|
201
233
|
modeTabLabelAudio: z.ZodOptional<z.ZodString>;
|
|
202
234
|
modeTabLabelPhoto: z.ZodOptional<z.ZodString>;
|
|
203
235
|
modeTabLabelText: z.ZodOptional<z.ZodString>;
|
|
236
|
+
recordButtonLabel: z.ZodOptional<z.ZodString>;
|
|
237
|
+
uploadMediaButtonLabel: z.ZodOptional<z.ZodString>;
|
|
238
|
+
videoIdleHint: z.ZodOptional<z.ZodString>;
|
|
239
|
+
photoEmptyHint: z.ZodOptional<z.ZodString>;
|
|
240
|
+
photoUseCameraButtonLabel: z.ZodOptional<z.ZodString>;
|
|
241
|
+
photoUploadImageButtonLabel: z.ZodOptional<z.ZodString>;
|
|
242
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
243
|
+
title: z.ZodString;
|
|
244
|
+
description: z.ZodOptional<z.ZodString>;
|
|
245
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
246
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
247
|
+
type: z.ZodLiteral<"date">;
|
|
248
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
249
|
+
segmentLabelDD: z.ZodOptional<z.ZodString>;
|
|
250
|
+
segmentLabelMM: z.ZodOptional<z.ZodString>;
|
|
251
|
+
segmentLabelYYYY: z.ZodOptional<z.ZodString>;
|
|
252
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
253
|
+
title: z.ZodString;
|
|
254
|
+
description: z.ZodOptional<z.ZodString>;
|
|
255
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
256
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
257
|
+
type: z.ZodLiteral<"signature">;
|
|
258
|
+
clearButtonLabel: z.ZodOptional<z.ZodString>;
|
|
259
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
260
|
+
modeTabLabelType: z.ZodOptional<z.ZodString>;
|
|
261
|
+
modeTabLabelDraw: z.ZodOptional<z.ZodString>;
|
|
262
|
+
modeTabLabelUpload: z.ZodOptional<z.ZodString>;
|
|
263
|
+
drawCanvasHint: z.ZodOptional<z.ZodString>;
|
|
264
|
+
uploadZonePrimary: z.ZodOptional<z.ZodString>;
|
|
265
|
+
uploadZoneDrag: z.ZodOptional<z.ZodString>;
|
|
204
266
|
}, z.core.$strip>, z.ZodObject<{
|
|
205
267
|
title: z.ZodString;
|
|
206
268
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -335,6 +397,36 @@ export declare const questionTranslationsByLanguageSchema: z.ZodRecord<z.ZodStri
|
|
|
335
397
|
modeTabLabelAudio: z.ZodOptional<z.ZodString>;
|
|
336
398
|
modeTabLabelPhoto: z.ZodOptional<z.ZodString>;
|
|
337
399
|
modeTabLabelText: z.ZodOptional<z.ZodString>;
|
|
400
|
+
recordButtonLabel: z.ZodOptional<z.ZodString>;
|
|
401
|
+
uploadMediaButtonLabel: z.ZodOptional<z.ZodString>;
|
|
402
|
+
videoIdleHint: z.ZodOptional<z.ZodString>;
|
|
403
|
+
photoEmptyHint: z.ZodOptional<z.ZodString>;
|
|
404
|
+
photoUseCameraButtonLabel: z.ZodOptional<z.ZodString>;
|
|
405
|
+
photoUploadImageButtonLabel: z.ZodOptional<z.ZodString>;
|
|
406
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
407
|
+
title: z.ZodString;
|
|
408
|
+
description: z.ZodOptional<z.ZodString>;
|
|
409
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
410
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
411
|
+
type: z.ZodLiteral<"date">;
|
|
412
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
413
|
+
segmentLabelDD: z.ZodOptional<z.ZodString>;
|
|
414
|
+
segmentLabelMM: z.ZodOptional<z.ZodString>;
|
|
415
|
+
segmentLabelYYYY: z.ZodOptional<z.ZodString>;
|
|
416
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
417
|
+
title: z.ZodString;
|
|
418
|
+
description: z.ZodOptional<z.ZodString>;
|
|
419
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
420
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
421
|
+
type: z.ZodLiteral<"signature">;
|
|
422
|
+
clearButtonLabel: z.ZodOptional<z.ZodString>;
|
|
423
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
424
|
+
modeTabLabelType: z.ZodOptional<z.ZodString>;
|
|
425
|
+
modeTabLabelDraw: z.ZodOptional<z.ZodString>;
|
|
426
|
+
modeTabLabelUpload: z.ZodOptional<z.ZodString>;
|
|
427
|
+
drawCanvasHint: z.ZodOptional<z.ZodString>;
|
|
428
|
+
uploadZonePrimary: z.ZodOptional<z.ZodString>;
|
|
429
|
+
uploadZoneDrag: z.ZodOptional<z.ZodString>;
|
|
338
430
|
}, z.core.$strip>, z.ZodObject<{
|
|
339
431
|
title: z.ZodString;
|
|
340
432
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -458,6 +550,36 @@ export declare const questionCentricTranslationsSchema: z.ZodRecord<z.ZodString,
|
|
|
458
550
|
modeTabLabelAudio: z.ZodOptional<z.ZodString>;
|
|
459
551
|
modeTabLabelPhoto: z.ZodOptional<z.ZodString>;
|
|
460
552
|
modeTabLabelText: z.ZodOptional<z.ZodString>;
|
|
553
|
+
recordButtonLabel: z.ZodOptional<z.ZodString>;
|
|
554
|
+
uploadMediaButtonLabel: z.ZodOptional<z.ZodString>;
|
|
555
|
+
videoIdleHint: z.ZodOptional<z.ZodString>;
|
|
556
|
+
photoEmptyHint: z.ZodOptional<z.ZodString>;
|
|
557
|
+
photoUseCameraButtonLabel: z.ZodOptional<z.ZodString>;
|
|
558
|
+
photoUploadImageButtonLabel: z.ZodOptional<z.ZodString>;
|
|
559
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
560
|
+
title: z.ZodString;
|
|
561
|
+
description: z.ZodOptional<z.ZodString>;
|
|
562
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
563
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
564
|
+
type: z.ZodLiteral<"date">;
|
|
565
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
566
|
+
segmentLabelDD: z.ZodOptional<z.ZodString>;
|
|
567
|
+
segmentLabelMM: z.ZodOptional<z.ZodString>;
|
|
568
|
+
segmentLabelYYYY: z.ZodOptional<z.ZodString>;
|
|
569
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
570
|
+
title: z.ZodString;
|
|
571
|
+
description: z.ZodOptional<z.ZodString>;
|
|
572
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
573
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
574
|
+
type: z.ZodLiteral<"signature">;
|
|
575
|
+
clearButtonLabel: z.ZodOptional<z.ZodString>;
|
|
576
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
577
|
+
modeTabLabelType: z.ZodOptional<z.ZodString>;
|
|
578
|
+
modeTabLabelDraw: z.ZodOptional<z.ZodString>;
|
|
579
|
+
modeTabLabelUpload: z.ZodOptional<z.ZodString>;
|
|
580
|
+
drawCanvasHint: z.ZodOptional<z.ZodString>;
|
|
581
|
+
uploadZonePrimary: z.ZodOptional<z.ZodString>;
|
|
582
|
+
uploadZoneDrag: z.ZodOptional<z.ZodString>;
|
|
461
583
|
}, z.core.$strip>, z.ZodObject<{
|
|
462
584
|
title: z.ZodString;
|
|
463
585
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -581,6 +703,36 @@ export declare const translationsSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.
|
|
|
581
703
|
modeTabLabelAudio: z.ZodOptional<z.ZodString>;
|
|
582
704
|
modeTabLabelPhoto: z.ZodOptional<z.ZodString>;
|
|
583
705
|
modeTabLabelText: z.ZodOptional<z.ZodString>;
|
|
706
|
+
recordButtonLabel: z.ZodOptional<z.ZodString>;
|
|
707
|
+
uploadMediaButtonLabel: z.ZodOptional<z.ZodString>;
|
|
708
|
+
videoIdleHint: z.ZodOptional<z.ZodString>;
|
|
709
|
+
photoEmptyHint: z.ZodOptional<z.ZodString>;
|
|
710
|
+
photoUseCameraButtonLabel: z.ZodOptional<z.ZodString>;
|
|
711
|
+
photoUploadImageButtonLabel: z.ZodOptional<z.ZodString>;
|
|
712
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
713
|
+
title: z.ZodString;
|
|
714
|
+
description: z.ZodOptional<z.ZodString>;
|
|
715
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
716
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
717
|
+
type: z.ZodLiteral<"date">;
|
|
718
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
719
|
+
segmentLabelDD: z.ZodOptional<z.ZodString>;
|
|
720
|
+
segmentLabelMM: z.ZodOptional<z.ZodString>;
|
|
721
|
+
segmentLabelYYYY: z.ZodOptional<z.ZodString>;
|
|
722
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
723
|
+
title: z.ZodString;
|
|
724
|
+
description: z.ZodOptional<z.ZodString>;
|
|
725
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
726
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
727
|
+
type: z.ZodLiteral<"signature">;
|
|
728
|
+
clearButtonLabel: z.ZodOptional<z.ZodString>;
|
|
729
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
730
|
+
modeTabLabelType: z.ZodOptional<z.ZodString>;
|
|
731
|
+
modeTabLabelDraw: z.ZodOptional<z.ZodString>;
|
|
732
|
+
modeTabLabelUpload: z.ZodOptional<z.ZodString>;
|
|
733
|
+
drawCanvasHint: z.ZodOptional<z.ZodString>;
|
|
734
|
+
uploadZonePrimary: z.ZodOptional<z.ZodString>;
|
|
735
|
+
uploadZoneDrag: z.ZodOptional<z.ZodString>;
|
|
584
736
|
}, z.core.$strip>, z.ZodObject<{
|
|
585
737
|
title: z.ZodString;
|
|
586
738
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -657,6 +809,8 @@ export type NpsQuestionTranslation = z.infer<typeof npsQuestionTranslationSchema
|
|
|
657
809
|
export type ShortAnswerQuestionTranslation = z.infer<typeof shortAnswerQuestionTranslationSchema>;
|
|
658
810
|
export type LongAnswerQuestionTranslation = z.infer<typeof longAnswerQuestionTranslationSchema>;
|
|
659
811
|
export type VideoAudioQuestionTranslation = z.infer<typeof videoAudioQuestionTranslationSchema>;
|
|
812
|
+
export type DateQuestionTranslation = z.infer<typeof dateQuestionTranslationSchema>;
|
|
813
|
+
export type SignatureQuestionTranslation = z.infer<typeof signatureQuestionTranslationSchema>;
|
|
660
814
|
export type NestedSelectionQuestionTranslation = z.infer<typeof nestedSelectionQuestionTranslationSchema>;
|
|
661
815
|
export type AnnotationQuestionTranslation = z.infer<typeof annotationQuestionTranslationSchema>;
|
|
662
816
|
export type WelcomeQuestionTranslation = z.infer<typeof welcomeQuestionTranslationSchema>;
|
package/package.json
CHANGED