Skip to content

Commit e8cc6ce

Browse files
update next question type
1 parent 4489dd1 commit e8cc6ce

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

src/types/quizzes.d.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Nullable } from "./index.d";
1+
import { Nullable } from './index.d';
22
import {
33
ConstructorClientOptions,
44
Facet,
@@ -10,7 +10,7 @@ import {
1010
SortOption,
1111
FilterExpression,
1212
ResultSources,
13-
} from ".";
13+
} from '.';
1414

1515
export default Quizzes;
1616

@@ -22,7 +22,7 @@ export interface QuizzesParameters {
2222
}
2323

2424
export interface QuizResultsFmtOptions {
25-
groups_start?: "current" | "top" | string;
25+
groups_start?: 'current' | 'top' | string;
2626
groups_max_depth?: number;
2727
show_protected_facets?: boolean;
2828
show_hidden_facets?: boolean;
@@ -57,7 +57,7 @@ declare class Quizzes {
5757

5858
getQuizResultsConfig(
5959
quizId: string,
60-
parameters?: Pick<QuizzesParameters, "quizVersionId">,
60+
parameters?: Pick<QuizzesParameters, 'quizVersionId'>,
6161
networkParameters?: NetworkParameters
6262
): Promise<QuizResultsConfigResponse>;
6363
}
@@ -133,17 +133,17 @@ export interface BaseQuestion extends Record<string, any> {
133133
}
134134

135135
export interface SelectQuestion extends BaseQuestion {
136-
type: "single" | "multiple";
136+
type: 'single' | 'multiple';
137137
options: QuestionOption[];
138138
}
139139

140140
export interface OpenQuestion extends BaseQuestion {
141-
type: "open";
141+
type: 'open';
142142
input_placeholder?: Nullable<string>;
143143
}
144144

145145
export interface CoverQuestion extends BaseQuestion {
146-
type: "cover";
146+
type: 'cover';
147147
}
148148

149149
export interface QuizResult extends Record<string, any> {

0 commit comments

Comments
 (0)