@encatch/schema 1.0.1-beta.0 → 1.0.1-beta.2
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 +292 -87
- 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 +1225 -240
- package/dist/types/schemas/api/submit-feedback-schema.d.ts +24 -0
- package/dist/types/schemas/fields/answer-schema.d.ts +8 -0
- package/dist/types/schemas/fields/app-props-schema.d.ts +579 -87
- package/dist/types/schemas/fields/field-schema.d.ts +1339 -192
- package/dist/types/schemas/fields/form-properties-schema.d.ts +587 -165
- package/dist/types/schemas/fields/other-screen-schema.d.ts +0 -39
- package/dist/types/schemas/fields/theme-schema.d.ts +25 -0
- package/dist/types/schemas/fields/translations-schema.d.ts +229 -46
- package/package.json +1 -1
|
@@ -1,37 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const dismissBehaviorSchema: z.ZodEnum<{
|
|
3
|
-
fade: "fade";
|
|
4
|
-
manual: "manual";
|
|
5
|
-
}>;
|
|
6
|
-
export declare const DismissBehaviors: {
|
|
7
|
-
readonly FADE: "fade";
|
|
8
|
-
readonly MANUAL: "manual";
|
|
9
|
-
};
|
|
10
|
-
export declare const WelcomeScreenFieldsSchema: z.ZodObject<{
|
|
11
|
-
title: z.ZodString;
|
|
12
|
-
description: z.ZodString;
|
|
13
|
-
buttonLabel: z.ZodString;
|
|
14
|
-
}, z.core.$strip>;
|
|
15
|
-
export declare const EndScreenFieldsSchema: z.ZodObject<{
|
|
16
|
-
title: z.ZodString;
|
|
17
|
-
message: z.ZodString;
|
|
18
|
-
buttonLabel: z.ZodString;
|
|
19
|
-
dismissBehavior: z.ZodEnum<{
|
|
20
|
-
fade: "fade";
|
|
21
|
-
manual: "manual";
|
|
22
|
-
}>;
|
|
23
|
-
fadeDuration: z.ZodNumber;
|
|
24
|
-
}, z.core.$strip>;
|
|
25
|
-
export declare const WelcomeFieldsTranslationSchema: z.ZodObject<{
|
|
26
|
-
title: z.ZodString;
|
|
27
|
-
description: z.ZodString;
|
|
28
|
-
buttonLabel: z.ZodString;
|
|
29
|
-
}, z.core.$strip>;
|
|
30
|
-
export declare const EndFieldsTranslationSchema: z.ZodObject<{
|
|
31
|
-
buttonLabel: z.ZodString;
|
|
32
|
-
title: z.ZodString;
|
|
33
|
-
message: z.ZodString;
|
|
34
|
-
}, z.core.$strip>;
|
|
35
2
|
export declare const OtherFieldsSchema: z.ZodObject<{
|
|
36
3
|
pagination: z.ZodBoolean;
|
|
37
4
|
questionNumber: z.ZodBoolean;
|
|
@@ -47,12 +14,10 @@ export declare const OtherFieldsSchema: z.ZodObject<{
|
|
|
47
14
|
export declare const LanguageFieldSchema: z.ZodObject<{
|
|
48
15
|
value: z.ZodString;
|
|
49
16
|
label: z.ZodString;
|
|
50
|
-
isFixed: z.ZodDefault<z.ZodBoolean>;
|
|
51
17
|
}, z.core.$strip>;
|
|
52
18
|
export declare const LanguagesSchema: z.ZodArray<z.ZodObject<{
|
|
53
19
|
value: z.ZodString;
|
|
54
20
|
label: z.ZodString;
|
|
55
|
-
isFixed: z.ZodDefault<z.ZodBoolean>;
|
|
56
21
|
}, z.core.$strip>>;
|
|
57
22
|
export declare const OtherFieldsTranslationSchema: z.ZodObject<{
|
|
58
23
|
submitButtonLabel: z.ZodString;
|
|
@@ -62,10 +27,6 @@ export declare const OtherFieldsTranslationSchema: z.ZodObject<{
|
|
|
62
27
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
63
28
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
64
29
|
}, z.core.$strip>;
|
|
65
|
-
export type WelcomeFields = z.infer<typeof WelcomeScreenFieldsSchema>;
|
|
66
|
-
export type EndFields = z.infer<typeof EndScreenFieldsSchema>;
|
|
67
|
-
export type WelcomeFieldsTranslation = z.infer<typeof WelcomeFieldsTranslationSchema>;
|
|
68
|
-
export type EndFieldsTranslation = z.infer<typeof EndFieldsTranslationSchema>;
|
|
69
30
|
export type OtherFields = z.infer<typeof OtherFieldsSchema>;
|
|
70
31
|
export type OtherFieldsTranslation = z.infer<typeof OtherFieldsTranslationSchema>;
|
|
71
32
|
export type LanguageField = z.infer<typeof LanguageFieldSchema>;
|
|
@@ -39,6 +39,16 @@ export declare const ShareableModes: {
|
|
|
39
39
|
readonly DARK: "dark";
|
|
40
40
|
readonly SYSTEM: "system";
|
|
41
41
|
};
|
|
42
|
+
export declare const previousButtonModeSchema: z.ZodEnum<{
|
|
43
|
+
never: "never";
|
|
44
|
+
always: "always";
|
|
45
|
+
auto: "auto";
|
|
46
|
+
}>;
|
|
47
|
+
export declare const PreviousButtonModes: {
|
|
48
|
+
readonly NEVER: "never";
|
|
49
|
+
readonly ALWAYS: "always";
|
|
50
|
+
readonly AUTO: "auto";
|
|
51
|
+
};
|
|
42
52
|
export declare const featureSettingsSchema: z.ZodObject<{
|
|
43
53
|
darkOverlay: z.ZodBoolean;
|
|
44
54
|
closeButton: z.ZodBoolean;
|
|
@@ -52,6 +62,13 @@ export declare const featureSettingsSchema: z.ZodObject<{
|
|
|
52
62
|
dark: "dark";
|
|
53
63
|
system: "system";
|
|
54
64
|
}>>;
|
|
65
|
+
allowMultipleQuestionsPerSection: z.ZodBoolean;
|
|
66
|
+
rtl: z.ZodBoolean;
|
|
67
|
+
previousButton: z.ZodEnum<{
|
|
68
|
+
never: "never";
|
|
69
|
+
always: "always";
|
|
70
|
+
auto: "auto";
|
|
71
|
+
}>;
|
|
55
72
|
}, z.core.$strip>;
|
|
56
73
|
export declare const themeColorsSchema: z.ZodObject<{
|
|
57
74
|
theme: z.ZodOptional<z.ZodString>;
|
|
@@ -86,6 +103,13 @@ export declare const themeConfigurationSchema: z.ZodObject<{
|
|
|
86
103
|
dark: "dark";
|
|
87
104
|
system: "system";
|
|
88
105
|
}>>;
|
|
106
|
+
allowMultipleQuestionsPerSection: z.ZodBoolean;
|
|
107
|
+
rtl: z.ZodBoolean;
|
|
108
|
+
previousButton: z.ZodEnum<{
|
|
109
|
+
never: "never";
|
|
110
|
+
always: "always";
|
|
111
|
+
auto: "auto";
|
|
112
|
+
}>;
|
|
89
113
|
}, z.core.$strip>;
|
|
90
114
|
selectedPosition: z.ZodEnum<{
|
|
91
115
|
"top-left": "top-left";
|
|
@@ -113,6 +137,7 @@ export declare const themeConfigurationSchema: z.ZodObject<{
|
|
|
113
137
|
export type Position = z.infer<typeof positionSchema>;
|
|
114
138
|
export type ThemeMode = z.infer<typeof themeModeSchema>;
|
|
115
139
|
export type ShareableMode = z.infer<typeof shareableModeSchema>;
|
|
140
|
+
export type PreviousButtonMode = z.infer<typeof previousButtonModeSchema>;
|
|
116
141
|
export type FeatureSettings = z.infer<typeof featureSettingsSchema>;
|
|
117
142
|
export type ThemeColors = z.infer<typeof themeColorsSchema>;
|
|
118
143
|
export type Themes = z.infer<typeof themesSchema>;
|
|
@@ -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,16 +60,63 @@ 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>;
|
|
75
66
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
76
67
|
}, z.core.$strip>;
|
|
68
|
+
export declare const welcomeQuestionTranslationSchema: z.ZodObject<{
|
|
69
|
+
title: z.ZodString;
|
|
70
|
+
description: z.ZodOptional<z.ZodString>;
|
|
71
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
72
|
+
type: z.ZodLiteral<"welcome">;
|
|
73
|
+
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
74
|
+
}, z.core.$strip>;
|
|
75
|
+
export declare const thankYouQuestionTranslationSchema: z.ZodObject<{
|
|
76
|
+
title: z.ZodString;
|
|
77
|
+
description: z.ZodOptional<z.ZodString>;
|
|
78
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
79
|
+
type: z.ZodLiteral<"thank_you">;
|
|
80
|
+
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
81
|
+
}, z.core.$strip>;
|
|
82
|
+
export declare const messagePanelQuestionTranslationSchema: z.ZodObject<{
|
|
83
|
+
title: z.ZodString;
|
|
84
|
+
description: z.ZodOptional<z.ZodString>;
|
|
85
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
86
|
+
type: z.ZodLiteral<"message_panel">;
|
|
87
|
+
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
88
|
+
}, z.core.$strip>;
|
|
89
|
+
export declare const yesNoQuestionTranslationSchema: z.ZodObject<{
|
|
90
|
+
title: z.ZodString;
|
|
91
|
+
description: z.ZodOptional<z.ZodString>;
|
|
92
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
93
|
+
type: z.ZodLiteral<"yes_no">;
|
|
94
|
+
yesLabel: z.ZodOptional<z.ZodString>;
|
|
95
|
+
noLabel: z.ZodOptional<z.ZodString>;
|
|
96
|
+
}, z.core.$strip>;
|
|
97
|
+
export declare const ratingMatrixQuestionTranslationSchema: z.ZodObject<{
|
|
98
|
+
title: z.ZodString;
|
|
99
|
+
description: z.ZodOptional<z.ZodString>;
|
|
100
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
101
|
+
type: z.ZodLiteral<"rating_matrix">;
|
|
102
|
+
minLabel: z.ZodOptional<z.ZodString>;
|
|
103
|
+
maxLabel: z.ZodOptional<z.ZodString>;
|
|
104
|
+
}, z.core.$catchall<z.ZodString>>;
|
|
105
|
+
export declare const matrixSingleChoiceQuestionTranslationSchema: z.ZodObject<{
|
|
106
|
+
title: z.ZodString;
|
|
107
|
+
description: z.ZodOptional<z.ZodString>;
|
|
108
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
109
|
+
type: z.ZodLiteral<"matrix_single_choice">;
|
|
110
|
+
}, z.core.$catchall<z.ZodString>>;
|
|
111
|
+
export declare const matrixMultipleChoiceQuestionTranslationSchema: z.ZodObject<{
|
|
112
|
+
title: z.ZodString;
|
|
113
|
+
description: z.ZodOptional<z.ZodString>;
|
|
114
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
115
|
+
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
116
|
+
}, z.core.$catchall<z.ZodString>>;
|
|
77
117
|
export declare const questionTranslationSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
78
118
|
title: z.ZodString;
|
|
79
119
|
description: z.ZodOptional<z.ZodString>;
|
|
80
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
81
120
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
82
121
|
type: z.ZodLiteral<"rating">;
|
|
83
122
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -85,21 +124,18 @@ export declare const questionTranslationSchema: z.ZodUnion<readonly [z.ZodObject
|
|
|
85
124
|
}, z.core.$strip>, z.ZodObject<{
|
|
86
125
|
title: z.ZodString;
|
|
87
126
|
description: z.ZodOptional<z.ZodString>;
|
|
88
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
89
127
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
90
128
|
type: z.ZodLiteral<"single_choice">;
|
|
91
129
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
92
130
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
93
131
|
title: z.ZodString;
|
|
94
132
|
description: z.ZodOptional<z.ZodString>;
|
|
95
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
96
133
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
97
134
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
98
135
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
99
136
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
100
137
|
title: z.ZodString;
|
|
101
138
|
description: z.ZodOptional<z.ZodString>;
|
|
102
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
103
139
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
104
140
|
type: z.ZodLiteral<"nps">;
|
|
105
141
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -107,38 +143,75 @@ export declare const questionTranslationSchema: z.ZodUnion<readonly [z.ZodObject
|
|
|
107
143
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
108
144
|
title: z.ZodString;
|
|
109
145
|
description: z.ZodOptional<z.ZodString>;
|
|
110
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
111
146
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
112
147
|
type: z.ZodLiteral<"short_answer">;
|
|
113
148
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
114
149
|
}, z.core.$strip>, z.ZodObject<{
|
|
115
150
|
title: z.ZodString;
|
|
116
151
|
description: z.ZodOptional<z.ZodString>;
|
|
117
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
118
152
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
119
153
|
type: z.ZodLiteral<"long_text">;
|
|
120
154
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
121
155
|
}, z.core.$strip>, z.ZodObject<{
|
|
122
156
|
title: z.ZodString;
|
|
123
157
|
description: z.ZodOptional<z.ZodString>;
|
|
124
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
125
158
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
126
159
|
type: z.ZodLiteral<"nested_selection">;
|
|
127
160
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
128
161
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
129
162
|
title: z.ZodString;
|
|
130
163
|
description: z.ZodOptional<z.ZodString>;
|
|
131
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
132
164
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
133
165
|
type: z.ZodLiteral<"annotation">;
|
|
134
166
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
135
167
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
136
|
-
}, z.core.$strip
|
|
168
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
169
|
+
title: z.ZodString;
|
|
170
|
+
description: z.ZodOptional<z.ZodString>;
|
|
171
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
172
|
+
type: z.ZodLiteral<"welcome">;
|
|
173
|
+
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
174
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
175
|
+
title: z.ZodString;
|
|
176
|
+
description: z.ZodOptional<z.ZodString>;
|
|
177
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
178
|
+
type: z.ZodLiteral<"thank_you">;
|
|
179
|
+
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
180
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
181
|
+
title: z.ZodString;
|
|
182
|
+
description: z.ZodOptional<z.ZodString>;
|
|
183
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
184
|
+
type: z.ZodLiteral<"message_panel">;
|
|
185
|
+
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
186
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
187
|
+
title: z.ZodString;
|
|
188
|
+
description: z.ZodOptional<z.ZodString>;
|
|
189
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
190
|
+
type: z.ZodLiteral<"yes_no">;
|
|
191
|
+
yesLabel: z.ZodOptional<z.ZodString>;
|
|
192
|
+
noLabel: z.ZodOptional<z.ZodString>;
|
|
193
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
194
|
+
title: z.ZodString;
|
|
195
|
+
description: z.ZodOptional<z.ZodString>;
|
|
196
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
197
|
+
type: z.ZodLiteral<"rating_matrix">;
|
|
198
|
+
minLabel: z.ZodOptional<z.ZodString>;
|
|
199
|
+
maxLabel: z.ZodOptional<z.ZodString>;
|
|
200
|
+
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
201
|
+
title: z.ZodString;
|
|
202
|
+
description: z.ZodOptional<z.ZodString>;
|
|
203
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
204
|
+
type: z.ZodLiteral<"matrix_single_choice">;
|
|
205
|
+
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
206
|
+
title: z.ZodString;
|
|
207
|
+
description: z.ZodOptional<z.ZodString>;
|
|
208
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
209
|
+
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
210
|
+
}, z.core.$catchall<z.ZodString>>]>;
|
|
137
211
|
export declare const languageCodeSchema: z.ZodString;
|
|
138
212
|
export declare const questionTranslationsByLanguageSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
139
213
|
title: z.ZodString;
|
|
140
214
|
description: z.ZodOptional<z.ZodString>;
|
|
141
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
142
215
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
143
216
|
type: z.ZodLiteral<"rating">;
|
|
144
217
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -146,21 +219,18 @@ export declare const questionTranslationsByLanguageSchema: z.ZodRecord<z.ZodStri
|
|
|
146
219
|
}, z.core.$strip>, z.ZodObject<{
|
|
147
220
|
title: z.ZodString;
|
|
148
221
|
description: z.ZodOptional<z.ZodString>;
|
|
149
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
150
222
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
151
223
|
type: z.ZodLiteral<"single_choice">;
|
|
152
224
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
153
225
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
154
226
|
title: z.ZodString;
|
|
155
227
|
description: z.ZodOptional<z.ZodString>;
|
|
156
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
157
228
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
158
229
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
159
230
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
160
231
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
161
232
|
title: z.ZodString;
|
|
162
233
|
description: z.ZodOptional<z.ZodString>;
|
|
163
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
164
234
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
165
235
|
type: z.ZodLiteral<"nps">;
|
|
166
236
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -168,37 +238,74 @@ export declare const questionTranslationsByLanguageSchema: z.ZodRecord<z.ZodStri
|
|
|
168
238
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
169
239
|
title: z.ZodString;
|
|
170
240
|
description: z.ZodOptional<z.ZodString>;
|
|
171
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
172
241
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
173
242
|
type: z.ZodLiteral<"short_answer">;
|
|
174
243
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
175
244
|
}, z.core.$strip>, z.ZodObject<{
|
|
176
245
|
title: z.ZodString;
|
|
177
246
|
description: z.ZodOptional<z.ZodString>;
|
|
178
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
179
247
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
180
248
|
type: z.ZodLiteral<"long_text">;
|
|
181
249
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
182
250
|
}, z.core.$strip>, z.ZodObject<{
|
|
183
251
|
title: z.ZodString;
|
|
184
252
|
description: z.ZodOptional<z.ZodString>;
|
|
185
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
186
253
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
187
254
|
type: z.ZodLiteral<"nested_selection">;
|
|
188
255
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
189
256
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
190
257
|
title: z.ZodString;
|
|
191
258
|
description: z.ZodOptional<z.ZodString>;
|
|
192
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
193
259
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
194
260
|
type: z.ZodLiteral<"annotation">;
|
|
195
261
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
196
262
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
197
|
-
}, z.core.$strip
|
|
263
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
264
|
+
title: z.ZodString;
|
|
265
|
+
description: z.ZodOptional<z.ZodString>;
|
|
266
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
267
|
+
type: z.ZodLiteral<"welcome">;
|
|
268
|
+
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
269
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
270
|
+
title: z.ZodString;
|
|
271
|
+
description: z.ZodOptional<z.ZodString>;
|
|
272
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
273
|
+
type: z.ZodLiteral<"thank_you">;
|
|
274
|
+
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
275
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
276
|
+
title: z.ZodString;
|
|
277
|
+
description: z.ZodOptional<z.ZodString>;
|
|
278
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
279
|
+
type: z.ZodLiteral<"message_panel">;
|
|
280
|
+
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
281
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
282
|
+
title: z.ZodString;
|
|
283
|
+
description: z.ZodOptional<z.ZodString>;
|
|
284
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
285
|
+
type: z.ZodLiteral<"yes_no">;
|
|
286
|
+
yesLabel: z.ZodOptional<z.ZodString>;
|
|
287
|
+
noLabel: z.ZodOptional<z.ZodString>;
|
|
288
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
289
|
+
title: z.ZodString;
|
|
290
|
+
description: z.ZodOptional<z.ZodString>;
|
|
291
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
292
|
+
type: z.ZodLiteral<"rating_matrix">;
|
|
293
|
+
minLabel: z.ZodOptional<z.ZodString>;
|
|
294
|
+
maxLabel: z.ZodOptional<z.ZodString>;
|
|
295
|
+
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
296
|
+
title: z.ZodString;
|
|
297
|
+
description: z.ZodOptional<z.ZodString>;
|
|
298
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
299
|
+
type: z.ZodLiteral<"matrix_single_choice">;
|
|
300
|
+
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
301
|
+
title: z.ZodString;
|
|
302
|
+
description: z.ZodOptional<z.ZodString>;
|
|
303
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
304
|
+
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
305
|
+
}, z.core.$catchall<z.ZodString>>]>>;
|
|
198
306
|
export declare const questionCentricTranslationsSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
199
307
|
title: z.ZodString;
|
|
200
308
|
description: z.ZodOptional<z.ZodString>;
|
|
201
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
202
309
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
203
310
|
type: z.ZodLiteral<"rating">;
|
|
204
311
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -206,21 +313,18 @@ export declare const questionCentricTranslationsSchema: z.ZodRecord<z.ZodString,
|
|
|
206
313
|
}, z.core.$strip>, z.ZodObject<{
|
|
207
314
|
title: z.ZodString;
|
|
208
315
|
description: z.ZodOptional<z.ZodString>;
|
|
209
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
210
316
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
211
317
|
type: z.ZodLiteral<"single_choice">;
|
|
212
318
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
213
319
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
214
320
|
title: z.ZodString;
|
|
215
321
|
description: z.ZodOptional<z.ZodString>;
|
|
216
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
217
322
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
218
323
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
219
324
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
220
325
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
221
326
|
title: z.ZodString;
|
|
222
327
|
description: z.ZodOptional<z.ZodString>;
|
|
223
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
224
328
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
225
329
|
type: z.ZodLiteral<"nps">;
|
|
226
330
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -228,37 +332,74 @@ export declare const questionCentricTranslationsSchema: z.ZodRecord<z.ZodString,
|
|
|
228
332
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
229
333
|
title: z.ZodString;
|
|
230
334
|
description: z.ZodOptional<z.ZodString>;
|
|
231
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
232
335
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
233
336
|
type: z.ZodLiteral<"short_answer">;
|
|
234
337
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
235
338
|
}, z.core.$strip>, z.ZodObject<{
|
|
236
339
|
title: z.ZodString;
|
|
237
340
|
description: z.ZodOptional<z.ZodString>;
|
|
238
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
239
341
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
240
342
|
type: z.ZodLiteral<"long_text">;
|
|
241
343
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
242
344
|
}, z.core.$strip>, z.ZodObject<{
|
|
243
345
|
title: z.ZodString;
|
|
244
346
|
description: z.ZodOptional<z.ZodString>;
|
|
245
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
246
347
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
247
348
|
type: z.ZodLiteral<"nested_selection">;
|
|
248
349
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
249
350
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
250
351
|
title: z.ZodString;
|
|
251
352
|
description: z.ZodOptional<z.ZodString>;
|
|
252
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
253
353
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
254
354
|
type: z.ZodLiteral<"annotation">;
|
|
255
355
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
256
356
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
257
|
-
}, z.core.$strip
|
|
357
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
358
|
+
title: z.ZodString;
|
|
359
|
+
description: z.ZodOptional<z.ZodString>;
|
|
360
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
361
|
+
type: z.ZodLiteral<"welcome">;
|
|
362
|
+
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
363
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
364
|
+
title: z.ZodString;
|
|
365
|
+
description: z.ZodOptional<z.ZodString>;
|
|
366
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
367
|
+
type: z.ZodLiteral<"thank_you">;
|
|
368
|
+
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
369
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
370
|
+
title: z.ZodString;
|
|
371
|
+
description: z.ZodOptional<z.ZodString>;
|
|
372
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
373
|
+
type: z.ZodLiteral<"message_panel">;
|
|
374
|
+
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
375
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
376
|
+
title: z.ZodString;
|
|
377
|
+
description: z.ZodOptional<z.ZodString>;
|
|
378
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
379
|
+
type: z.ZodLiteral<"yes_no">;
|
|
380
|
+
yesLabel: z.ZodOptional<z.ZodString>;
|
|
381
|
+
noLabel: z.ZodOptional<z.ZodString>;
|
|
382
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
383
|
+
title: z.ZodString;
|
|
384
|
+
description: z.ZodOptional<z.ZodString>;
|
|
385
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
386
|
+
type: z.ZodLiteral<"rating_matrix">;
|
|
387
|
+
minLabel: z.ZodOptional<z.ZodString>;
|
|
388
|
+
maxLabel: z.ZodOptional<z.ZodString>;
|
|
389
|
+
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
390
|
+
title: z.ZodString;
|
|
391
|
+
description: z.ZodOptional<z.ZodString>;
|
|
392
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
393
|
+
type: z.ZodLiteral<"matrix_single_choice">;
|
|
394
|
+
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
395
|
+
title: z.ZodString;
|
|
396
|
+
description: z.ZodOptional<z.ZodString>;
|
|
397
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
398
|
+
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
399
|
+
}, z.core.$catchall<z.ZodString>>]>>>;
|
|
258
400
|
export declare const translationsSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
259
401
|
title: z.ZodString;
|
|
260
402
|
description: z.ZodOptional<z.ZodString>;
|
|
261
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
262
403
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
263
404
|
type: z.ZodLiteral<"rating">;
|
|
264
405
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -266,21 +407,18 @@ export declare const translationsSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.
|
|
|
266
407
|
}, z.core.$strip>, z.ZodObject<{
|
|
267
408
|
title: z.ZodString;
|
|
268
409
|
description: z.ZodOptional<z.ZodString>;
|
|
269
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
270
410
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
271
411
|
type: z.ZodLiteral<"single_choice">;
|
|
272
412
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
273
413
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
274
414
|
title: z.ZodString;
|
|
275
415
|
description: z.ZodOptional<z.ZodString>;
|
|
276
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
277
416
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
278
417
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
279
418
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
280
419
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
281
420
|
title: z.ZodString;
|
|
282
421
|
description: z.ZodOptional<z.ZodString>;
|
|
283
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
284
422
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
285
423
|
type: z.ZodLiteral<"nps">;
|
|
286
424
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -288,33 +426,71 @@ export declare const translationsSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.
|
|
|
288
426
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
289
427
|
title: z.ZodString;
|
|
290
428
|
description: z.ZodOptional<z.ZodString>;
|
|
291
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
292
429
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
293
430
|
type: z.ZodLiteral<"short_answer">;
|
|
294
431
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
295
432
|
}, z.core.$strip>, z.ZodObject<{
|
|
296
433
|
title: z.ZodString;
|
|
297
434
|
description: z.ZodOptional<z.ZodString>;
|
|
298
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
299
435
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
300
436
|
type: z.ZodLiteral<"long_text">;
|
|
301
437
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
302
438
|
}, z.core.$strip>, z.ZodObject<{
|
|
303
439
|
title: z.ZodString;
|
|
304
440
|
description: z.ZodOptional<z.ZodString>;
|
|
305
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
306
441
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
307
442
|
type: z.ZodLiteral<"nested_selection">;
|
|
308
443
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
309
444
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
310
445
|
title: z.ZodString;
|
|
311
446
|
description: z.ZodOptional<z.ZodString>;
|
|
312
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
313
447
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
314
448
|
type: z.ZodLiteral<"annotation">;
|
|
315
449
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
316
450
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
317
|
-
}, z.core.$strip
|
|
451
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
452
|
+
title: z.ZodString;
|
|
453
|
+
description: z.ZodOptional<z.ZodString>;
|
|
454
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
455
|
+
type: z.ZodLiteral<"welcome">;
|
|
456
|
+
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
457
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
458
|
+
title: z.ZodString;
|
|
459
|
+
description: z.ZodOptional<z.ZodString>;
|
|
460
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
461
|
+
type: z.ZodLiteral<"thank_you">;
|
|
462
|
+
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
463
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
464
|
+
title: z.ZodString;
|
|
465
|
+
description: z.ZodOptional<z.ZodString>;
|
|
466
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
467
|
+
type: z.ZodLiteral<"message_panel">;
|
|
468
|
+
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
469
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
470
|
+
title: z.ZodString;
|
|
471
|
+
description: z.ZodOptional<z.ZodString>;
|
|
472
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
473
|
+
type: z.ZodLiteral<"yes_no">;
|
|
474
|
+
yesLabel: z.ZodOptional<z.ZodString>;
|
|
475
|
+
noLabel: z.ZodOptional<z.ZodString>;
|
|
476
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
477
|
+
title: z.ZodString;
|
|
478
|
+
description: z.ZodOptional<z.ZodString>;
|
|
479
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
480
|
+
type: z.ZodLiteral<"rating_matrix">;
|
|
481
|
+
minLabel: z.ZodOptional<z.ZodString>;
|
|
482
|
+
maxLabel: z.ZodOptional<z.ZodString>;
|
|
483
|
+
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
484
|
+
title: z.ZodString;
|
|
485
|
+
description: z.ZodOptional<z.ZodString>;
|
|
486
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
487
|
+
type: z.ZodLiteral<"matrix_single_choice">;
|
|
488
|
+
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
489
|
+
title: z.ZodString;
|
|
490
|
+
description: z.ZodOptional<z.ZodString>;
|
|
491
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
492
|
+
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
493
|
+
}, z.core.$catchall<z.ZodString>>]>>>;
|
|
318
494
|
export type TranslationEntry = z.infer<typeof translationEntrySchema>;
|
|
319
495
|
export type RatingQuestionTranslation = z.infer<typeof ratingQuestionTranslationSchema>;
|
|
320
496
|
export type SingleChoiceQuestionTranslation = z.infer<typeof singleChoiceQuestionTranslationSchema>;
|
|
@@ -324,6 +500,13 @@ export type ShortAnswerQuestionTranslation = z.infer<typeof shortAnswerQuestionT
|
|
|
324
500
|
export type LongAnswerQuestionTranslation = z.infer<typeof longAnswerQuestionTranslationSchema>;
|
|
325
501
|
export type NestedSelectionQuestionTranslation = z.infer<typeof nestedSelectionQuestionTranslationSchema>;
|
|
326
502
|
export type AnnotationQuestionTranslation = z.infer<typeof annotationQuestionTranslationSchema>;
|
|
503
|
+
export type WelcomeQuestionTranslation = z.infer<typeof welcomeQuestionTranslationSchema>;
|
|
504
|
+
export type ThankYouQuestionTranslation = z.infer<typeof thankYouQuestionTranslationSchema>;
|
|
505
|
+
export type MessagePanelQuestionTranslation = z.infer<typeof messagePanelQuestionTranslationSchema>;
|
|
506
|
+
export type YesNoQuestionTranslation = z.infer<typeof yesNoQuestionTranslationSchema>;
|
|
507
|
+
export type RatingMatrixQuestionTranslation = z.infer<typeof ratingMatrixQuestionTranslationSchema>;
|
|
508
|
+
export type MatrixSingleChoiceQuestionTranslation = z.infer<typeof matrixSingleChoiceQuestionTranslationSchema>;
|
|
509
|
+
export type MatrixMultipleChoiceQuestionTranslation = z.infer<typeof matrixMultipleChoiceQuestionTranslationSchema>;
|
|
327
510
|
export type QuestionTranslation = z.infer<typeof questionTranslationSchema>;
|
|
328
511
|
export type LanguageCode = z.infer<typeof languageCodeSchema>;
|
|
329
512
|
export type QuestionTranslationsByLanguage = z.infer<typeof questionTranslationsByLanguageSchema>;
|
package/package.json
CHANGED