@constructor-io/constructorio-client-javascript 2.73.0 → 2.73.1
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/lib/types/quizzes.d.ts +6 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
package/lib/types/quizzes.d.ts
CHANGED
|
@@ -127,7 +127,7 @@ export interface QuizResultData extends Record<string, any> {
|
|
|
127
127
|
variations: Record<string, any>[];
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
-
export type Question = SelectQuestion | FilterValueQuestion | OpenQuestion | CoverQuestion;
|
|
130
|
+
export type Question = SelectQuestion | FilterValueQuestion | OpenQuestion | CoverQuestion | FreeFormQuestion;
|
|
131
131
|
|
|
132
132
|
export interface BaseQuestion extends Record<string, any> {
|
|
133
133
|
id: number;
|
|
@@ -158,6 +158,11 @@ export interface CoverQuestion extends BaseQuestion {
|
|
|
158
158
|
type: 'cover';
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
+
export interface FreeFormQuestion extends BaseQuestion {
|
|
162
|
+
type: 'free_form';
|
|
163
|
+
input_placeholder?: Nullable<string>;
|
|
164
|
+
}
|
|
165
|
+
|
|
161
166
|
export interface QuizResult extends Record<string, any> {
|
|
162
167
|
filter_expression: Record<string, any>;
|
|
163
168
|
results_url: string;
|
package/lib/version.js
CHANGED