@encatch/schema 1.3.0-beta.6 → 1.3.0-beta.7
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 +34 -4
- package/dist/esm/index.js.map +2 -2
- package/dist/types/schemas/api/fetch-feedback-schema.d.ts +30 -0
- package/dist/types/schemas/fields/app-props-schema.d.ts +30 -0
- package/dist/types/schemas/fields/field-schema.d.ts +30 -0
- package/dist/types/schemas/fields/form-properties-schema.d.ts +30 -0
- package/dist/types/schemas/fields/translations-schema.d.ts +75 -0
- package/package.json +1 -1
- package/dist/types/schemas/fields/translations-example.d.ts +0 -10
package/dist/esm/index.js
CHANGED
|
@@ -96,7 +96,18 @@ var videoAudioQuestionTranslationSchema = baseQuestionTranslationFieldsSchema.ex
|
|
|
96
96
|
videoIdleHint: z.string().max(200).optional().describe("Translated video idle overlay hint"),
|
|
97
97
|
photoEmptyHint: z.string().max(200).optional().describe("Translated empty photo area hint"),
|
|
98
98
|
photoUseCameraButtonLabel: z.string().max(80).optional().describe("Translated Use camera button"),
|
|
99
|
-
photoUploadImageButtonLabel: z.string().max(80).optional().describe("Translated Upload image button")
|
|
99
|
+
photoUploadImageButtonLabel: z.string().max(80).optional().describe("Translated Upload image button"),
|
|
100
|
+
capturePhotoButtonLabel: z.string().max(80).optional().describe("Translated Capture photo button"),
|
|
101
|
+
cancelButtonLabel: z.string().max(80).optional().describe("Translated Cancel button in live photo mode"),
|
|
102
|
+
uploadPhotoButtonLabel: z.string().max(80).optional().describe("Translated Upload Photo button"),
|
|
103
|
+
replaceButtonLabel: z.string().max(80).optional().describe("Translated Replace button"),
|
|
104
|
+
removeButtonLabel: z.string().max(80).optional().describe("Translated Remove button"),
|
|
105
|
+
stopRecordingButtonLabel: z.string().max(80).optional().describe("Translated Stop recording button"),
|
|
106
|
+
playButtonLabel: z.string().max(80).optional().describe("Translated Play button"),
|
|
107
|
+
pauseButtonLabel: z.string().max(80).optional().describe("Translated Pause button"),
|
|
108
|
+
uploadButtonLabel: z.string().max(80).optional().describe("Translated Upload button on preview"),
|
|
109
|
+
rerecordButtonLabel: z.string().max(80).optional().describe("Translated Re-record button"),
|
|
110
|
+
dismissErrorButtonLabel: z.string().max(80).optional().describe("Translated dismiss error control label")
|
|
100
111
|
}).describe("Translation schema for video/audio/photo/text questions");
|
|
101
112
|
var dateQuestionTranslationSchema = baseQuestionTranslationFieldsSchema.extend({
|
|
102
113
|
type: z.literal("date").describe("Question type identifier"),
|
|
@@ -114,7 +125,11 @@ var signatureQuestionTranslationSchema = baseQuestionTranslationFieldsSchema.ext
|
|
|
114
125
|
modeTabLabelUpload: z.string().max(80).optional().describe("Translated Upload tab label"),
|
|
115
126
|
drawCanvasHint: z.string().max(200).optional().describe("Translated empty-canvas hint"),
|
|
116
127
|
uploadZonePrimary: z.string().max(200).optional().describe("Translated idle upload prompt"),
|
|
117
|
-
uploadZoneDrag: z.string().max(120).optional().describe("Translated drag-over upload prompt")
|
|
128
|
+
uploadZoneDrag: z.string().max(120).optional().describe("Translated drag-over upload prompt"),
|
|
129
|
+
uploadSignatureButtonLabel: z.string().max(80).optional().describe("Translated Upload Signature button"),
|
|
130
|
+
uploadButtonLabel: z.string().max(80).optional().describe("Translated Upload button in upload mode"),
|
|
131
|
+
removeButtonLabel: z.string().max(80).optional().describe("Translated Remove button"),
|
|
132
|
+
dismissErrorButtonLabel: z.string().max(80).optional().describe("Translated dismiss error control label")
|
|
118
133
|
}).describe("Translation schema for signature questions");
|
|
119
134
|
var schedulerQuestionTranslationSchema = baseQuestionTranslationFieldsSchema.extend({
|
|
120
135
|
type: z.literal("scheduler").describe("Question type identifier"),
|
|
@@ -1561,7 +1576,11 @@ var signatureQuestionSchema = questionSchema.extend({
|
|
|
1561
1576
|
),
|
|
1562
1577
|
uploadZoneDrag: z4.string().max(120).optional().describe(
|
|
1563
1578
|
"Short prompt when dragging a file over the upload zone; falls back to platform default"
|
|
1564
|
-
)
|
|
1579
|
+
),
|
|
1580
|
+
uploadSignatureButtonLabel: z4.string().max(80).optional().describe("Label for the Upload Signature button in draw mode"),
|
|
1581
|
+
uploadButtonLabel: z4.string().max(80).optional().describe("Label for the Upload button in upload mode preview"),
|
|
1582
|
+
removeButtonLabel: z4.string().max(80).optional().describe("Label for Remove controls in upload mode"),
|
|
1583
|
+
dismissErrorButtonLabel: z4.string().max(80).optional().describe("Accessible label for the dismiss control on upload error overlays")
|
|
1565
1584
|
}).describe(
|
|
1566
1585
|
"Schema for a signature question where respondents can type, draw, or upload their electronic signature"
|
|
1567
1586
|
);
|
|
@@ -1723,7 +1742,18 @@ var videoAudioQuestionSchema = questionSchema.extend({
|
|
|
1723
1742
|
"Hint in the empty photo preview area; falls back to placeholder then built-in copy"
|
|
1724
1743
|
),
|
|
1725
1744
|
photoUseCameraButtonLabel: z4.string().max(80).optional().describe("Label for the Use camera button in photo mode"),
|
|
1726
|
-
photoUploadImageButtonLabel: z4.string().max(80).optional().describe("Label for the upload image button in photo mode")
|
|
1745
|
+
photoUploadImageButtonLabel: z4.string().max(80).optional().describe("Label for the upload image button in photo mode"),
|
|
1746
|
+
capturePhotoButtonLabel: z4.string().max(80).optional().describe("Label for the Capture photo button in live photo mode"),
|
|
1747
|
+
cancelButtonLabel: z4.string().max(80).optional().describe("Label for the Cancel button when live photo camera is open"),
|
|
1748
|
+
uploadPhotoButtonLabel: z4.string().max(80).optional().describe("Label for the Upload Photo button on photo preview"),
|
|
1749
|
+
replaceButtonLabel: z4.string().max(80).optional().describe("Label for the Replace button on photo preview"),
|
|
1750
|
+
removeButtonLabel: z4.string().max(80).optional().describe("Label for Remove controls across media modes"),
|
|
1751
|
+
stopRecordingButtonLabel: z4.string().max(80).optional().describe("Label for the Stop recording button while recording"),
|
|
1752
|
+
playButtonLabel: z4.string().max(80).optional().describe("Label for the Play button on recording preview"),
|
|
1753
|
+
pauseButtonLabel: z4.string().max(80).optional().describe("Label for the Pause button on recording preview"),
|
|
1754
|
+
uploadButtonLabel: z4.string().max(80).optional().describe("Label for the Upload button on recording preview"),
|
|
1755
|
+
rerecordButtonLabel: z4.string().max(80).optional().describe("Label for the Re-record button on recording preview"),
|
|
1756
|
+
dismissErrorButtonLabel: z4.string().max(80).optional().describe("Accessible label for dismiss on media upload error overlays")
|
|
1727
1757
|
}).describe(
|
|
1728
1758
|
"Schema for a video, audio, and photo question where respondents can record or upload media or enter a text answer"
|
|
1729
1759
|
);
|