@encatch/schema 1.0.1-beta.1 → 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 +643 -793
- package/dist/esm/index.js.map +3 -3
- package/dist/types/index.d.ts +4 -4
- package/dist/types/schemas/api/fetch-feedback-schema.d.ts +350 -236
- package/dist/types/schemas/fields/app-props-schema.d.ts +175 -142
- package/dist/types/schemas/fields/field-schema.d.ts +377 -144
- package/dist/types/schemas/fields/form-properties-schema.d.ts +176 -244
- package/dist/types/schemas/fields/form-schema.d.ts +0 -58
- package/dist/types/schemas/fields/other-screen-schema.d.ts +0 -39
- package/dist/types/schemas/fields/theme-schema.d.ts +0 -4
- package/dist/types/schemas/fields/translations-schema.d.ts +1 -77
- package/package.json +1 -1
|
@@ -3,14 +3,12 @@ export declare const translationEntrySchema: z.ZodString;
|
|
|
3
3
|
export declare const baseQuestionTranslationFieldsSchema: z.ZodObject<{
|
|
4
4
|
title: z.ZodString;
|
|
5
5
|
description: z.ZodOptional<z.ZodString>;
|
|
6
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
7
6
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
8
7
|
}, z.core.$strip>;
|
|
9
|
-
export declare const BASE_QUESTION_TRANSLATION_KEYS: readonly ["type", "title", "description", "
|
|
8
|
+
export declare const BASE_QUESTION_TRANSLATION_KEYS: readonly ["type", "title", "description", "errorMessage"];
|
|
10
9
|
export declare const ratingQuestionTranslationSchema: z.ZodObject<{
|
|
11
10
|
title: z.ZodString;
|
|
12
11
|
description: z.ZodOptional<z.ZodString>;
|
|
13
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
14
12
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
15
13
|
type: z.ZodLiteral<"rating">;
|
|
16
14
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -19,7 +17,6 @@ export declare const ratingQuestionTranslationSchema: z.ZodObject<{
|
|
|
19
17
|
export declare const singleChoiceQuestionTranslationSchema: z.ZodObject<{
|
|
20
18
|
title: z.ZodString;
|
|
21
19
|
description: z.ZodOptional<z.ZodString>;
|
|
22
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
23
20
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
24
21
|
type: z.ZodLiteral<"single_choice">;
|
|
25
22
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
@@ -27,7 +24,6 @@ export declare const singleChoiceQuestionTranslationSchema: z.ZodObject<{
|
|
|
27
24
|
export declare const multipleChoiceQuestionTranslationSchema: z.ZodObject<{
|
|
28
25
|
title: z.ZodString;
|
|
29
26
|
description: z.ZodOptional<z.ZodString>;
|
|
30
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
31
27
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
32
28
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
33
29
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
@@ -35,7 +31,6 @@ export declare const multipleChoiceQuestionTranslationSchema: z.ZodObject<{
|
|
|
35
31
|
export declare const npsQuestionTranslationSchema: z.ZodObject<{
|
|
36
32
|
title: z.ZodString;
|
|
37
33
|
description: z.ZodOptional<z.ZodString>;
|
|
38
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
39
34
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
40
35
|
type: z.ZodLiteral<"nps">;
|
|
41
36
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -44,7 +39,6 @@ export declare const npsQuestionTranslationSchema: z.ZodObject<{
|
|
|
44
39
|
export declare const shortAnswerQuestionTranslationSchema: z.ZodObject<{
|
|
45
40
|
title: z.ZodString;
|
|
46
41
|
description: z.ZodOptional<z.ZodString>;
|
|
47
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
48
42
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
49
43
|
type: z.ZodLiteral<"short_answer">;
|
|
50
44
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
@@ -52,7 +46,6 @@ export declare const shortAnswerQuestionTranslationSchema: z.ZodObject<{
|
|
|
52
46
|
export declare const longAnswerQuestionTranslationSchema: z.ZodObject<{
|
|
53
47
|
title: z.ZodString;
|
|
54
48
|
description: z.ZodOptional<z.ZodString>;
|
|
55
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
56
49
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
57
50
|
type: z.ZodLiteral<"long_text">;
|
|
58
51
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
@@ -60,7 +53,6 @@ export declare const longAnswerQuestionTranslationSchema: z.ZodObject<{
|
|
|
60
53
|
export declare const nestedSelectionQuestionTranslationSchema: z.ZodObject<{
|
|
61
54
|
title: z.ZodString;
|
|
62
55
|
description: z.ZodOptional<z.ZodString>;
|
|
63
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
64
56
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
65
57
|
type: z.ZodLiteral<"nested_selection">;
|
|
66
58
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
@@ -68,7 +60,6 @@ export declare const nestedSelectionQuestionTranslationSchema: z.ZodObject<{
|
|
|
68
60
|
export declare const annotationQuestionTranslationSchema: z.ZodObject<{
|
|
69
61
|
title: z.ZodString;
|
|
70
62
|
description: z.ZodOptional<z.ZodString>;
|
|
71
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
72
63
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
73
64
|
type: z.ZodLiteral<"annotation">;
|
|
74
65
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
@@ -77,7 +68,6 @@ export declare const annotationQuestionTranslationSchema: z.ZodObject<{
|
|
|
77
68
|
export declare const welcomeQuestionTranslationSchema: z.ZodObject<{
|
|
78
69
|
title: z.ZodString;
|
|
79
70
|
description: z.ZodOptional<z.ZodString>;
|
|
80
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
81
71
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
82
72
|
type: z.ZodLiteral<"welcome">;
|
|
83
73
|
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -85,7 +75,6 @@ export declare const welcomeQuestionTranslationSchema: z.ZodObject<{
|
|
|
85
75
|
export declare const thankYouQuestionTranslationSchema: z.ZodObject<{
|
|
86
76
|
title: z.ZodString;
|
|
87
77
|
description: z.ZodOptional<z.ZodString>;
|
|
88
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
89
78
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
90
79
|
type: z.ZodLiteral<"thank_you">;
|
|
91
80
|
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -93,7 +82,6 @@ export declare const thankYouQuestionTranslationSchema: z.ZodObject<{
|
|
|
93
82
|
export declare const messagePanelQuestionTranslationSchema: z.ZodObject<{
|
|
94
83
|
title: z.ZodString;
|
|
95
84
|
description: z.ZodOptional<z.ZodString>;
|
|
96
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
97
85
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
98
86
|
type: z.ZodLiteral<"message_panel">;
|
|
99
87
|
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -101,7 +89,6 @@ export declare const messagePanelQuestionTranslationSchema: z.ZodObject<{
|
|
|
101
89
|
export declare const yesNoQuestionTranslationSchema: z.ZodObject<{
|
|
102
90
|
title: z.ZodString;
|
|
103
91
|
description: z.ZodOptional<z.ZodString>;
|
|
104
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
105
92
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
106
93
|
type: z.ZodLiteral<"yes_no">;
|
|
107
94
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -110,7 +97,6 @@ export declare const yesNoQuestionTranslationSchema: z.ZodObject<{
|
|
|
110
97
|
export declare const ratingMatrixQuestionTranslationSchema: z.ZodObject<{
|
|
111
98
|
title: z.ZodString;
|
|
112
99
|
description: z.ZodOptional<z.ZodString>;
|
|
113
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
114
100
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
115
101
|
type: z.ZodLiteral<"rating_matrix">;
|
|
116
102
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -119,21 +105,18 @@ export declare const ratingMatrixQuestionTranslationSchema: z.ZodObject<{
|
|
|
119
105
|
export declare const matrixSingleChoiceQuestionTranslationSchema: z.ZodObject<{
|
|
120
106
|
title: z.ZodString;
|
|
121
107
|
description: z.ZodOptional<z.ZodString>;
|
|
122
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
123
108
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
124
109
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
125
110
|
}, z.core.$catchall<z.ZodString>>;
|
|
126
111
|
export declare const matrixMultipleChoiceQuestionTranslationSchema: z.ZodObject<{
|
|
127
112
|
title: z.ZodString;
|
|
128
113
|
description: z.ZodOptional<z.ZodString>;
|
|
129
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
130
114
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
131
115
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
132
116
|
}, z.core.$catchall<z.ZodString>>;
|
|
133
117
|
export declare const questionTranslationSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
134
118
|
title: z.ZodString;
|
|
135
119
|
description: z.ZodOptional<z.ZodString>;
|
|
136
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
137
120
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
138
121
|
type: z.ZodLiteral<"rating">;
|
|
139
122
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -141,21 +124,18 @@ export declare const questionTranslationSchema: z.ZodUnion<readonly [z.ZodObject
|
|
|
141
124
|
}, z.core.$strip>, z.ZodObject<{
|
|
142
125
|
title: z.ZodString;
|
|
143
126
|
description: z.ZodOptional<z.ZodString>;
|
|
144
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
145
127
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
146
128
|
type: z.ZodLiteral<"single_choice">;
|
|
147
129
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
148
130
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
149
131
|
title: z.ZodString;
|
|
150
132
|
description: z.ZodOptional<z.ZodString>;
|
|
151
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
152
133
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
153
134
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
154
135
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
155
136
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
156
137
|
title: z.ZodString;
|
|
157
138
|
description: z.ZodOptional<z.ZodString>;
|
|
158
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
159
139
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
160
140
|
type: z.ZodLiteral<"nps">;
|
|
161
141
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -163,28 +143,24 @@ export declare const questionTranslationSchema: z.ZodUnion<readonly [z.ZodObject
|
|
|
163
143
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
164
144
|
title: z.ZodString;
|
|
165
145
|
description: z.ZodOptional<z.ZodString>;
|
|
166
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
167
146
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
168
147
|
type: z.ZodLiteral<"short_answer">;
|
|
169
148
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
170
149
|
}, z.core.$strip>, z.ZodObject<{
|
|
171
150
|
title: z.ZodString;
|
|
172
151
|
description: z.ZodOptional<z.ZodString>;
|
|
173
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
174
152
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
175
153
|
type: z.ZodLiteral<"long_text">;
|
|
176
154
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
177
155
|
}, z.core.$strip>, z.ZodObject<{
|
|
178
156
|
title: z.ZodString;
|
|
179
157
|
description: z.ZodOptional<z.ZodString>;
|
|
180
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
181
158
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
182
159
|
type: z.ZodLiteral<"nested_selection">;
|
|
183
160
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
184
161
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
185
162
|
title: z.ZodString;
|
|
186
163
|
description: z.ZodOptional<z.ZodString>;
|
|
187
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
188
164
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
189
165
|
type: z.ZodLiteral<"annotation">;
|
|
190
166
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
@@ -192,28 +168,24 @@ export declare const questionTranslationSchema: z.ZodUnion<readonly [z.ZodObject
|
|
|
192
168
|
}, z.core.$strip>, z.ZodObject<{
|
|
193
169
|
title: z.ZodString;
|
|
194
170
|
description: z.ZodOptional<z.ZodString>;
|
|
195
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
196
171
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
197
172
|
type: z.ZodLiteral<"welcome">;
|
|
198
173
|
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
199
174
|
}, z.core.$strip>, z.ZodObject<{
|
|
200
175
|
title: z.ZodString;
|
|
201
176
|
description: z.ZodOptional<z.ZodString>;
|
|
202
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
203
177
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
204
178
|
type: z.ZodLiteral<"thank_you">;
|
|
205
179
|
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
206
180
|
}, z.core.$strip>, z.ZodObject<{
|
|
207
181
|
title: z.ZodString;
|
|
208
182
|
description: z.ZodOptional<z.ZodString>;
|
|
209
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
210
183
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
211
184
|
type: z.ZodLiteral<"message_panel">;
|
|
212
185
|
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
213
186
|
}, z.core.$strip>, z.ZodObject<{
|
|
214
187
|
title: z.ZodString;
|
|
215
188
|
description: z.ZodOptional<z.ZodString>;
|
|
216
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
217
189
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
218
190
|
type: z.ZodLiteral<"yes_no">;
|
|
219
191
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -221,7 +193,6 @@ export declare const questionTranslationSchema: z.ZodUnion<readonly [z.ZodObject
|
|
|
221
193
|
}, z.core.$strip>, z.ZodObject<{
|
|
222
194
|
title: z.ZodString;
|
|
223
195
|
description: z.ZodOptional<z.ZodString>;
|
|
224
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
225
196
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
226
197
|
type: z.ZodLiteral<"rating_matrix">;
|
|
227
198
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -229,13 +200,11 @@ export declare const questionTranslationSchema: z.ZodUnion<readonly [z.ZodObject
|
|
|
229
200
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
230
201
|
title: z.ZodString;
|
|
231
202
|
description: z.ZodOptional<z.ZodString>;
|
|
232
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
233
203
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
234
204
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
235
205
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
236
206
|
title: z.ZodString;
|
|
237
207
|
description: z.ZodOptional<z.ZodString>;
|
|
238
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
239
208
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
240
209
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
241
210
|
}, z.core.$catchall<z.ZodString>>]>;
|
|
@@ -243,7 +212,6 @@ export declare const languageCodeSchema: z.ZodString;
|
|
|
243
212
|
export declare const questionTranslationsByLanguageSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
244
213
|
title: z.ZodString;
|
|
245
214
|
description: z.ZodOptional<z.ZodString>;
|
|
246
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
247
215
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
248
216
|
type: z.ZodLiteral<"rating">;
|
|
249
217
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -251,21 +219,18 @@ export declare const questionTranslationsByLanguageSchema: z.ZodRecord<z.ZodStri
|
|
|
251
219
|
}, z.core.$strip>, z.ZodObject<{
|
|
252
220
|
title: z.ZodString;
|
|
253
221
|
description: z.ZodOptional<z.ZodString>;
|
|
254
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
255
222
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
256
223
|
type: z.ZodLiteral<"single_choice">;
|
|
257
224
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
258
225
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
259
226
|
title: z.ZodString;
|
|
260
227
|
description: z.ZodOptional<z.ZodString>;
|
|
261
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
262
228
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
263
229
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
264
230
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
265
231
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
266
232
|
title: z.ZodString;
|
|
267
233
|
description: z.ZodOptional<z.ZodString>;
|
|
268
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
269
234
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
270
235
|
type: z.ZodLiteral<"nps">;
|
|
271
236
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -273,28 +238,24 @@ export declare const questionTranslationsByLanguageSchema: z.ZodRecord<z.ZodStri
|
|
|
273
238
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
274
239
|
title: z.ZodString;
|
|
275
240
|
description: z.ZodOptional<z.ZodString>;
|
|
276
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
277
241
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
278
242
|
type: z.ZodLiteral<"short_answer">;
|
|
279
243
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
280
244
|
}, z.core.$strip>, z.ZodObject<{
|
|
281
245
|
title: z.ZodString;
|
|
282
246
|
description: z.ZodOptional<z.ZodString>;
|
|
283
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
284
247
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
285
248
|
type: z.ZodLiteral<"long_text">;
|
|
286
249
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
287
250
|
}, z.core.$strip>, z.ZodObject<{
|
|
288
251
|
title: z.ZodString;
|
|
289
252
|
description: z.ZodOptional<z.ZodString>;
|
|
290
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
291
253
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
292
254
|
type: z.ZodLiteral<"nested_selection">;
|
|
293
255
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
294
256
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
295
257
|
title: z.ZodString;
|
|
296
258
|
description: z.ZodOptional<z.ZodString>;
|
|
297
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
298
259
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
299
260
|
type: z.ZodLiteral<"annotation">;
|
|
300
261
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
@@ -302,28 +263,24 @@ export declare const questionTranslationsByLanguageSchema: z.ZodRecord<z.ZodStri
|
|
|
302
263
|
}, z.core.$strip>, z.ZodObject<{
|
|
303
264
|
title: z.ZodString;
|
|
304
265
|
description: z.ZodOptional<z.ZodString>;
|
|
305
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
306
266
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
307
267
|
type: z.ZodLiteral<"welcome">;
|
|
308
268
|
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
309
269
|
}, z.core.$strip>, z.ZodObject<{
|
|
310
270
|
title: z.ZodString;
|
|
311
271
|
description: z.ZodOptional<z.ZodString>;
|
|
312
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
313
272
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
314
273
|
type: z.ZodLiteral<"thank_you">;
|
|
315
274
|
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
316
275
|
}, z.core.$strip>, z.ZodObject<{
|
|
317
276
|
title: z.ZodString;
|
|
318
277
|
description: z.ZodOptional<z.ZodString>;
|
|
319
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
320
278
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
321
279
|
type: z.ZodLiteral<"message_panel">;
|
|
322
280
|
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
323
281
|
}, z.core.$strip>, z.ZodObject<{
|
|
324
282
|
title: z.ZodString;
|
|
325
283
|
description: z.ZodOptional<z.ZodString>;
|
|
326
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
327
284
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
328
285
|
type: z.ZodLiteral<"yes_no">;
|
|
329
286
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -331,7 +288,6 @@ export declare const questionTranslationsByLanguageSchema: z.ZodRecord<z.ZodStri
|
|
|
331
288
|
}, z.core.$strip>, z.ZodObject<{
|
|
332
289
|
title: z.ZodString;
|
|
333
290
|
description: z.ZodOptional<z.ZodString>;
|
|
334
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
335
291
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
336
292
|
type: z.ZodLiteral<"rating_matrix">;
|
|
337
293
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -339,20 +295,17 @@ export declare const questionTranslationsByLanguageSchema: z.ZodRecord<z.ZodStri
|
|
|
339
295
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
340
296
|
title: z.ZodString;
|
|
341
297
|
description: z.ZodOptional<z.ZodString>;
|
|
342
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
343
298
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
344
299
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
345
300
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
346
301
|
title: z.ZodString;
|
|
347
302
|
description: z.ZodOptional<z.ZodString>;
|
|
348
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
349
303
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
350
304
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
351
305
|
}, z.core.$catchall<z.ZodString>>]>>;
|
|
352
306
|
export declare const questionCentricTranslationsSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
353
307
|
title: z.ZodString;
|
|
354
308
|
description: z.ZodOptional<z.ZodString>;
|
|
355
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
356
309
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
357
310
|
type: z.ZodLiteral<"rating">;
|
|
358
311
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -360,21 +313,18 @@ export declare const questionCentricTranslationsSchema: z.ZodRecord<z.ZodString,
|
|
|
360
313
|
}, z.core.$strip>, z.ZodObject<{
|
|
361
314
|
title: z.ZodString;
|
|
362
315
|
description: z.ZodOptional<z.ZodString>;
|
|
363
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
364
316
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
365
317
|
type: z.ZodLiteral<"single_choice">;
|
|
366
318
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
367
319
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
368
320
|
title: z.ZodString;
|
|
369
321
|
description: z.ZodOptional<z.ZodString>;
|
|
370
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
371
322
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
372
323
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
373
324
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
374
325
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
375
326
|
title: z.ZodString;
|
|
376
327
|
description: z.ZodOptional<z.ZodString>;
|
|
377
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
378
328
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
379
329
|
type: z.ZodLiteral<"nps">;
|
|
380
330
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -382,28 +332,24 @@ export declare const questionCentricTranslationsSchema: z.ZodRecord<z.ZodString,
|
|
|
382
332
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
383
333
|
title: z.ZodString;
|
|
384
334
|
description: z.ZodOptional<z.ZodString>;
|
|
385
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
386
335
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
387
336
|
type: z.ZodLiteral<"short_answer">;
|
|
388
337
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
389
338
|
}, z.core.$strip>, z.ZodObject<{
|
|
390
339
|
title: z.ZodString;
|
|
391
340
|
description: z.ZodOptional<z.ZodString>;
|
|
392
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
393
341
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
394
342
|
type: z.ZodLiteral<"long_text">;
|
|
395
343
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
396
344
|
}, z.core.$strip>, z.ZodObject<{
|
|
397
345
|
title: z.ZodString;
|
|
398
346
|
description: z.ZodOptional<z.ZodString>;
|
|
399
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
400
347
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
401
348
|
type: z.ZodLiteral<"nested_selection">;
|
|
402
349
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
403
350
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
404
351
|
title: z.ZodString;
|
|
405
352
|
description: z.ZodOptional<z.ZodString>;
|
|
406
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
407
353
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
408
354
|
type: z.ZodLiteral<"annotation">;
|
|
409
355
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
@@ -411,28 +357,24 @@ export declare const questionCentricTranslationsSchema: z.ZodRecord<z.ZodString,
|
|
|
411
357
|
}, z.core.$strip>, z.ZodObject<{
|
|
412
358
|
title: z.ZodString;
|
|
413
359
|
description: z.ZodOptional<z.ZodString>;
|
|
414
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
415
360
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
416
361
|
type: z.ZodLiteral<"welcome">;
|
|
417
362
|
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
418
363
|
}, z.core.$strip>, z.ZodObject<{
|
|
419
364
|
title: z.ZodString;
|
|
420
365
|
description: z.ZodOptional<z.ZodString>;
|
|
421
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
422
366
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
423
367
|
type: z.ZodLiteral<"thank_you">;
|
|
424
368
|
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
425
369
|
}, z.core.$strip>, z.ZodObject<{
|
|
426
370
|
title: z.ZodString;
|
|
427
371
|
description: z.ZodOptional<z.ZodString>;
|
|
428
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
429
372
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
430
373
|
type: z.ZodLiteral<"message_panel">;
|
|
431
374
|
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
432
375
|
}, z.core.$strip>, z.ZodObject<{
|
|
433
376
|
title: z.ZodString;
|
|
434
377
|
description: z.ZodOptional<z.ZodString>;
|
|
435
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
436
378
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
437
379
|
type: z.ZodLiteral<"yes_no">;
|
|
438
380
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -440,7 +382,6 @@ export declare const questionCentricTranslationsSchema: z.ZodRecord<z.ZodString,
|
|
|
440
382
|
}, z.core.$strip>, z.ZodObject<{
|
|
441
383
|
title: z.ZodString;
|
|
442
384
|
description: z.ZodOptional<z.ZodString>;
|
|
443
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
444
385
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
445
386
|
type: z.ZodLiteral<"rating_matrix">;
|
|
446
387
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -448,20 +389,17 @@ export declare const questionCentricTranslationsSchema: z.ZodRecord<z.ZodString,
|
|
|
448
389
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
449
390
|
title: z.ZodString;
|
|
450
391
|
description: z.ZodOptional<z.ZodString>;
|
|
451
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
452
392
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
453
393
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
454
394
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
455
395
|
title: z.ZodString;
|
|
456
396
|
description: z.ZodOptional<z.ZodString>;
|
|
457
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
458
397
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
459
398
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
460
399
|
}, z.core.$catchall<z.ZodString>>]>>>;
|
|
461
400
|
export declare const translationsSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
462
401
|
title: z.ZodString;
|
|
463
402
|
description: z.ZodOptional<z.ZodString>;
|
|
464
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
465
403
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
466
404
|
type: z.ZodLiteral<"rating">;
|
|
467
405
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -469,21 +407,18 @@ export declare const translationsSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.
|
|
|
469
407
|
}, z.core.$strip>, z.ZodObject<{
|
|
470
408
|
title: z.ZodString;
|
|
471
409
|
description: z.ZodOptional<z.ZodString>;
|
|
472
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
473
410
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
474
411
|
type: z.ZodLiteral<"single_choice">;
|
|
475
412
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
476
413
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
477
414
|
title: z.ZodString;
|
|
478
415
|
description: z.ZodOptional<z.ZodString>;
|
|
479
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
480
416
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
481
417
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
482
418
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
483
419
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
484
420
|
title: z.ZodString;
|
|
485
421
|
description: z.ZodOptional<z.ZodString>;
|
|
486
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
487
422
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
488
423
|
type: z.ZodLiteral<"nps">;
|
|
489
424
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -491,28 +426,24 @@ export declare const translationsSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.
|
|
|
491
426
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
492
427
|
title: z.ZodString;
|
|
493
428
|
description: z.ZodOptional<z.ZodString>;
|
|
494
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
495
429
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
496
430
|
type: z.ZodLiteral<"short_answer">;
|
|
497
431
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
498
432
|
}, z.core.$strip>, z.ZodObject<{
|
|
499
433
|
title: z.ZodString;
|
|
500
434
|
description: z.ZodOptional<z.ZodString>;
|
|
501
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
502
435
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
503
436
|
type: z.ZodLiteral<"long_text">;
|
|
504
437
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
505
438
|
}, z.core.$strip>, z.ZodObject<{
|
|
506
439
|
title: z.ZodString;
|
|
507
440
|
description: z.ZodOptional<z.ZodString>;
|
|
508
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
509
441
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
510
442
|
type: z.ZodLiteral<"nested_selection">;
|
|
511
443
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
512
444
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
513
445
|
title: z.ZodString;
|
|
514
446
|
description: z.ZodOptional<z.ZodString>;
|
|
515
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
516
447
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
517
448
|
type: z.ZodLiteral<"annotation">;
|
|
518
449
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
@@ -520,28 +451,24 @@ export declare const translationsSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.
|
|
|
520
451
|
}, z.core.$strip>, z.ZodObject<{
|
|
521
452
|
title: z.ZodString;
|
|
522
453
|
description: z.ZodOptional<z.ZodString>;
|
|
523
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
524
454
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
525
455
|
type: z.ZodLiteral<"welcome">;
|
|
526
456
|
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
527
457
|
}, z.core.$strip>, z.ZodObject<{
|
|
528
458
|
title: z.ZodString;
|
|
529
459
|
description: z.ZodOptional<z.ZodString>;
|
|
530
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
531
460
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
532
461
|
type: z.ZodLiteral<"thank_you">;
|
|
533
462
|
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
534
463
|
}, z.core.$strip>, z.ZodObject<{
|
|
535
464
|
title: z.ZodString;
|
|
536
465
|
description: z.ZodOptional<z.ZodString>;
|
|
537
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
538
466
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
539
467
|
type: z.ZodLiteral<"message_panel">;
|
|
540
468
|
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
541
469
|
}, z.core.$strip>, z.ZodObject<{
|
|
542
470
|
title: z.ZodString;
|
|
543
471
|
description: z.ZodOptional<z.ZodString>;
|
|
544
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
545
472
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
546
473
|
type: z.ZodLiteral<"yes_no">;
|
|
547
474
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -549,7 +476,6 @@ export declare const translationsSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.
|
|
|
549
476
|
}, z.core.$strip>, z.ZodObject<{
|
|
550
477
|
title: z.ZodString;
|
|
551
478
|
description: z.ZodOptional<z.ZodString>;
|
|
552
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
553
479
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
554
480
|
type: z.ZodLiteral<"rating_matrix">;
|
|
555
481
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -557,13 +483,11 @@ export declare const translationsSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.
|
|
|
557
483
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
558
484
|
title: z.ZodString;
|
|
559
485
|
description: z.ZodOptional<z.ZodString>;
|
|
560
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
561
486
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
562
487
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
563
488
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
564
489
|
title: z.ZodString;
|
|
565
490
|
description: z.ZodOptional<z.ZodString>;
|
|
566
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
567
491
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
568
492
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
569
493
|
}, z.core.$catchall<z.ZodString>>]>>>;
|
package/package.json
CHANGED