@thanh01.pmt/interactive-quiz-kit 1.0.9 → 1.0.11
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/HEADLESS.md +21 -21
- package/package.json +85 -87
- package/dist/index.d.mts +0 -1665
- package/dist/index.d.ts +0 -1665
- package/dist/index.js +0 -2779
- package/dist/index.mjs +0 -2727
package/dist/index.d.ts
DELETED
|
@@ -1,1665 +0,0 @@
|
|
|
1
|
-
import { z } from 'genkit';
|
|
2
|
-
import { ClassValue } from 'clsx';
|
|
3
|
-
|
|
4
|
-
type QuestionTypeStrings = 'multiple_choice' | 'multiple_response' | 'fill_in_the_blanks' | 'drag_and_drop' | 'true_false' | 'short_answer' | 'numeric' | 'sequence' | 'matching' | 'hotspot' | 'blockly_programming' | 'scratch_programming';
|
|
5
|
-
interface BaseQuestion {
|
|
6
|
-
id: string;
|
|
7
|
-
questionType: QuestionTypeStrings;
|
|
8
|
-
prompt: string;
|
|
9
|
-
points?: number;
|
|
10
|
-
explanation?: string;
|
|
11
|
-
learningObjective?: string;
|
|
12
|
-
glossary?: string[];
|
|
13
|
-
bloomLevel?: string;
|
|
14
|
-
difficulty?: 'easy' | 'medium' | 'hard';
|
|
15
|
-
contextCode?: string;
|
|
16
|
-
gradeBand?: string;
|
|
17
|
-
course?: string;
|
|
18
|
-
category?: string;
|
|
19
|
-
topic?: string;
|
|
20
|
-
}
|
|
21
|
-
interface MultipleChoiceQuestion extends BaseQuestion {
|
|
22
|
-
questionType: 'multiple_choice';
|
|
23
|
-
options: {
|
|
24
|
-
id: string;
|
|
25
|
-
text: string;
|
|
26
|
-
}[];
|
|
27
|
-
correctAnswerId: string;
|
|
28
|
-
}
|
|
29
|
-
interface MultipleResponseQuestion extends BaseQuestion {
|
|
30
|
-
questionType: 'multiple_response';
|
|
31
|
-
options: {
|
|
32
|
-
id: string;
|
|
33
|
-
text: string;
|
|
34
|
-
}[];
|
|
35
|
-
correctAnswerIds: string[];
|
|
36
|
-
}
|
|
37
|
-
interface FillInTheBlanksQuestion extends BaseQuestion {
|
|
38
|
-
questionType: 'fill_in_the_blanks';
|
|
39
|
-
segments: {
|
|
40
|
-
type: 'text' | 'blank';
|
|
41
|
-
content?: string;
|
|
42
|
-
id?: string;
|
|
43
|
-
}[];
|
|
44
|
-
answers: {
|
|
45
|
-
blankId: string;
|
|
46
|
-
acceptedValues: string[];
|
|
47
|
-
}[];
|
|
48
|
-
isCaseSensitive?: boolean;
|
|
49
|
-
}
|
|
50
|
-
interface DraggableItem {
|
|
51
|
-
id: string;
|
|
52
|
-
content: string;
|
|
53
|
-
}
|
|
54
|
-
interface DropZone {
|
|
55
|
-
id: string;
|
|
56
|
-
label: string;
|
|
57
|
-
}
|
|
58
|
-
interface DragAndDropQuestion extends BaseQuestion {
|
|
59
|
-
questionType: 'drag_and_drop';
|
|
60
|
-
draggableItems: DraggableItem[];
|
|
61
|
-
dropZones: DropZone[];
|
|
62
|
-
answerMap: {
|
|
63
|
-
draggableId: string;
|
|
64
|
-
dropZoneId: string;
|
|
65
|
-
}[];
|
|
66
|
-
backgroundImageUrl?: string;
|
|
67
|
-
imageAltText?: string;
|
|
68
|
-
}
|
|
69
|
-
interface TrueFalseQuestion extends BaseQuestion {
|
|
70
|
-
questionType: 'true_false';
|
|
71
|
-
correctAnswer: boolean;
|
|
72
|
-
}
|
|
73
|
-
interface ShortAnswerQuestion extends BaseQuestion {
|
|
74
|
-
questionType: 'short_answer';
|
|
75
|
-
acceptedAnswers: string[];
|
|
76
|
-
isCaseSensitive?: boolean;
|
|
77
|
-
}
|
|
78
|
-
interface NumericQuestion extends BaseQuestion {
|
|
79
|
-
questionType: 'numeric';
|
|
80
|
-
answer: number;
|
|
81
|
-
tolerance?: number;
|
|
82
|
-
}
|
|
83
|
-
interface SequenceItem {
|
|
84
|
-
id: string;
|
|
85
|
-
content: string;
|
|
86
|
-
}
|
|
87
|
-
interface SequenceQuestion extends BaseQuestion {
|
|
88
|
-
questionType: 'sequence';
|
|
89
|
-
items: SequenceItem[];
|
|
90
|
-
correctOrder: string[];
|
|
91
|
-
}
|
|
92
|
-
interface MatchPromptItem {
|
|
93
|
-
id: string;
|
|
94
|
-
content: string;
|
|
95
|
-
}
|
|
96
|
-
interface MatchOptionItem {
|
|
97
|
-
id: string;
|
|
98
|
-
content: string;
|
|
99
|
-
}
|
|
100
|
-
interface MatchingQuestion extends BaseQuestion {
|
|
101
|
-
questionType: 'matching';
|
|
102
|
-
prompts: MatchPromptItem[];
|
|
103
|
-
options: MatchOptionItem[];
|
|
104
|
-
correctAnswerMap: {
|
|
105
|
-
promptId: string;
|
|
106
|
-
optionId: string;
|
|
107
|
-
}[];
|
|
108
|
-
shuffleOptions?: boolean;
|
|
109
|
-
}
|
|
110
|
-
interface HotspotArea {
|
|
111
|
-
id: string;
|
|
112
|
-
shape: 'rect' | 'circle';
|
|
113
|
-
coords: number[];
|
|
114
|
-
description?: string;
|
|
115
|
-
}
|
|
116
|
-
interface HotspotQuestion extends BaseQuestion {
|
|
117
|
-
questionType: 'hotspot';
|
|
118
|
-
imageUrl: string;
|
|
119
|
-
imageAltText?: string;
|
|
120
|
-
hotspots: HotspotArea[];
|
|
121
|
-
correctHotspotIds: string[];
|
|
122
|
-
}
|
|
123
|
-
interface BlocklyProgrammingQuestion extends BaseQuestion {
|
|
124
|
-
questionType: 'blockly_programming';
|
|
125
|
-
toolboxDefinition: string;
|
|
126
|
-
initialWorkspace?: string;
|
|
127
|
-
solutionWorkspaceXML?: string;
|
|
128
|
-
solutionGeneratedCode?: string;
|
|
129
|
-
}
|
|
130
|
-
interface ScratchProgrammingQuestion extends BaseQuestion {
|
|
131
|
-
questionType: 'scratch_programming';
|
|
132
|
-
toolboxDefinition: string;
|
|
133
|
-
initialWorkspace?: string;
|
|
134
|
-
solutionWorkspaceXML?: string;
|
|
135
|
-
solutionGeneratedCode?: string;
|
|
136
|
-
}
|
|
137
|
-
type QuizQuestion = MultipleChoiceQuestion | MultipleResponseQuestion | FillInTheBlanksQuestion | DragAndDropQuestion | TrueFalseQuestion | ShortAnswerQuestion | NumericQuestion | SequenceQuestion | MatchingQuestion | HotspotQuestion | BlocklyProgrammingQuestion | ScratchProgrammingQuestion;
|
|
138
|
-
interface QuizConfig {
|
|
139
|
-
id: string;
|
|
140
|
-
title: string;
|
|
141
|
-
description?: string;
|
|
142
|
-
questions: QuizQuestion[];
|
|
143
|
-
settings?: QuizSettings;
|
|
144
|
-
}
|
|
145
|
-
interface SCORMSettings {
|
|
146
|
-
version: "1.2" | "2004";
|
|
147
|
-
setCompletionOnFinish?: boolean;
|
|
148
|
-
setSuccessOnPass?: boolean;
|
|
149
|
-
autoCommit?: boolean;
|
|
150
|
-
studentNameVar?: string;
|
|
151
|
-
lessonStatusVar?: string;
|
|
152
|
-
scoreRawVar?: string;
|
|
153
|
-
scoreMaxVar?: string;
|
|
154
|
-
scoreMinVar?: string;
|
|
155
|
-
sessionTimeVar?: string;
|
|
156
|
-
exitVar?: string;
|
|
157
|
-
suspendDataVar?: string;
|
|
158
|
-
lessonStatusVar_1_2?: string;
|
|
159
|
-
scoreRawVar_1_2?: string;
|
|
160
|
-
scoreMaxVar_1_2?: string;
|
|
161
|
-
scoreMinVar_1_2?: string;
|
|
162
|
-
completionStatusVar_2004?: string;
|
|
163
|
-
successStatusVar_2004?: string;
|
|
164
|
-
scoreScaledVar_2004?: string;
|
|
165
|
-
scoreRawVar_2004?: string;
|
|
166
|
-
scoreMaxVar_2004?: string;
|
|
167
|
-
scoreMinVar_2004?: string;
|
|
168
|
-
}
|
|
169
|
-
interface QuizSettings {
|
|
170
|
-
shuffleQuestions?: boolean;
|
|
171
|
-
shuffleOptions?: boolean;
|
|
172
|
-
timeLimitMinutes?: number;
|
|
173
|
-
showCorrectAnswers?: 'immediately' | 'end_of_quiz' | 'never';
|
|
174
|
-
passingScorePercent?: number;
|
|
175
|
-
webhookUrl?: string;
|
|
176
|
-
scorm?: SCORMSettings;
|
|
177
|
-
}
|
|
178
|
-
type UserAnswerType = string | string[] | Record<string, string> | boolean | null;
|
|
179
|
-
type UserAnswers = Map<string, UserAnswerType>;
|
|
180
|
-
interface PerformanceMetric {
|
|
181
|
-
totalQuestions: number;
|
|
182
|
-
correctQuestions: number;
|
|
183
|
-
pointsEarned: number;
|
|
184
|
-
maxPoints: number;
|
|
185
|
-
percentage: number;
|
|
186
|
-
}
|
|
187
|
-
interface PerformanceByLearningObjective extends PerformanceMetric {
|
|
188
|
-
learningObjective: string;
|
|
189
|
-
}
|
|
190
|
-
interface PerformanceByCategory extends PerformanceMetric {
|
|
191
|
-
category: string;
|
|
192
|
-
}
|
|
193
|
-
interface PerformanceByTopic extends PerformanceMetric {
|
|
194
|
-
topic: string;
|
|
195
|
-
}
|
|
196
|
-
interface PerformanceByDifficulty extends PerformanceMetric {
|
|
197
|
-
difficulty: string;
|
|
198
|
-
}
|
|
199
|
-
interface PerformanceByBloomLevel extends PerformanceMetric {
|
|
200
|
-
bloomLevel: string;
|
|
201
|
-
}
|
|
202
|
-
interface QuestionOption {
|
|
203
|
-
id: string;
|
|
204
|
-
text: string;
|
|
205
|
-
}
|
|
206
|
-
interface QuizResult {
|
|
207
|
-
score: number;
|
|
208
|
-
maxScore: number;
|
|
209
|
-
percentage: number;
|
|
210
|
-
answers: UserAnswers;
|
|
211
|
-
passed?: boolean;
|
|
212
|
-
questionResults: Array<{
|
|
213
|
-
questionId: string;
|
|
214
|
-
isCorrect: boolean;
|
|
215
|
-
pointsEarned: number;
|
|
216
|
-
userAnswer: UserAnswerType;
|
|
217
|
-
correctAnswer: any;
|
|
218
|
-
timeSpentSeconds?: number;
|
|
219
|
-
}>;
|
|
220
|
-
webhookStatus?: 'idle' | 'sending' | 'success' | 'error';
|
|
221
|
-
webhookError?: string;
|
|
222
|
-
scormStatus?: 'idle' | 'no_api' | 'initializing' | 'initialized' | 'sending_data' | 'committed' | 'terminated' | 'error';
|
|
223
|
-
scormError?: string;
|
|
224
|
-
studentName?: string;
|
|
225
|
-
totalTimeSpentSeconds?: number;
|
|
226
|
-
averageTimePerQuestionSeconds?: number;
|
|
227
|
-
performanceByLearningObjective?: PerformanceByLearningObjective[];
|
|
228
|
-
performanceByCategory?: PerformanceByCategory[];
|
|
229
|
-
performanceByTopic?: PerformanceByTopic[];
|
|
230
|
-
performanceByDifficulty?: PerformanceByDifficulty[];
|
|
231
|
-
performanceByBloomLevel?: PerformanceByBloomLevel[];
|
|
232
|
-
}
|
|
233
|
-
interface QuizEngineCallbacks {
|
|
234
|
-
onQuizStart?: (initialData: {
|
|
235
|
-
initialQuestion: QuizQuestion | null;
|
|
236
|
-
currentQuestionNumber: number;
|
|
237
|
-
totalQuestions: number;
|
|
238
|
-
timeLimitInSeconds: number | null;
|
|
239
|
-
scormStatus?: QuizResult['scormStatus'];
|
|
240
|
-
studentName?: string;
|
|
241
|
-
}) => void;
|
|
242
|
-
onQuestionChange?: (question: QuizQuestion | null, currentQuestionNumber: number, totalQuestions: number) => void;
|
|
243
|
-
onAnswerSubmit?: (question: QuizQuestion, userAnswer: UserAnswerType) => void;
|
|
244
|
-
onQuizFinish?: (results: QuizResult) => void;
|
|
245
|
-
onTimeTick?: (timeLeftInSeconds: number) => void;
|
|
246
|
-
onQuizTimeUp?: () => void;
|
|
247
|
-
}
|
|
248
|
-
interface QuizEngineConstructorOptions {
|
|
249
|
-
config: QuizConfig;
|
|
250
|
-
callbacks?: QuizEngineCallbacks;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
declare class QuizEngine {
|
|
254
|
-
private config;
|
|
255
|
-
private userAnswers;
|
|
256
|
-
private currentQuestionIndex;
|
|
257
|
-
questions: QuizQuestion[];
|
|
258
|
-
private callbacks;
|
|
259
|
-
private timerId;
|
|
260
|
-
private timeLeftInSeconds;
|
|
261
|
-
private scormService;
|
|
262
|
-
private quizResultState;
|
|
263
|
-
private overallStartTime;
|
|
264
|
-
private questionStartTime;
|
|
265
|
-
private questionTimings;
|
|
266
|
-
constructor(options: QuizEngineConstructorOptions);
|
|
267
|
-
private _recordCurrentQuestionTime;
|
|
268
|
-
private startTimer;
|
|
269
|
-
private stopTimer;
|
|
270
|
-
private handleTick;
|
|
271
|
-
getTimeLeftInSeconds(): number | null;
|
|
272
|
-
getCurrentQuestion(): QuizQuestion | null;
|
|
273
|
-
getCurrentQuestionNumber(): number;
|
|
274
|
-
getTotalQuestions(): number;
|
|
275
|
-
submitAnswer(questionId: string, answer: UserAnswerType): void;
|
|
276
|
-
getUserAnswer(questionId: string): UserAnswerType | undefined;
|
|
277
|
-
nextQuestion(): QuizQuestion | null;
|
|
278
|
-
previousQuestion(): QuizQuestion | null;
|
|
279
|
-
goToQuestion(index: number): QuizQuestion | null;
|
|
280
|
-
isQuizFinished(): boolean;
|
|
281
|
-
private _sendResultsToWebhook;
|
|
282
|
-
private _sendResultsToSCORM;
|
|
283
|
-
private _calculateMetadataPerformance;
|
|
284
|
-
calculateResults(): Promise<QuizResult>;
|
|
285
|
-
private evaluateQuestion;
|
|
286
|
-
getElapsedTime(): number;
|
|
287
|
-
destroy(): void;
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
declare const generateLauncherHTML: (quizConfig: QuizConfig, // Used for title, but quizData is loaded from path
|
|
291
|
-
libraryJSPath?: string, // Ensure this is a valid relative path in the ZIP
|
|
292
|
-
quizDataPath?: string, // This path is relative to the launcher in the ZIP
|
|
293
|
-
blocklyCSSPath?: string, // This path is relative to the launcher
|
|
294
|
-
title?: string) => string;
|
|
295
|
-
|
|
296
|
-
declare const generateSCORMManifest: (quizConfig: QuizConfig, scormVersion: "1.2" | "2004", // Explicitly take version
|
|
297
|
-
launcherFile?: string, libraryJSPath?: string, quizDataPath?: string, blocklyCSSPath?: string) => string;
|
|
298
|
-
|
|
299
|
-
declare class SCORMService {
|
|
300
|
-
private scormAPI;
|
|
301
|
-
private scormVersionFound;
|
|
302
|
-
private settings;
|
|
303
|
-
private isInitialized;
|
|
304
|
-
private isTerminated;
|
|
305
|
-
studentName: string | null;
|
|
306
|
-
constructor(settings: SCORMSettings);
|
|
307
|
-
private _findAPIRecursive;
|
|
308
|
-
private _findAPI;
|
|
309
|
-
hasAPI(): boolean;
|
|
310
|
-
getSCORMVersion(): "1.2" | "2004" | null;
|
|
311
|
-
initialize(): {
|
|
312
|
-
success: boolean;
|
|
313
|
-
error?: string;
|
|
314
|
-
studentName?: string;
|
|
315
|
-
};
|
|
316
|
-
terminate(): {
|
|
317
|
-
success: boolean;
|
|
318
|
-
error?: string;
|
|
319
|
-
};
|
|
320
|
-
setValue(element: string, value: string | number | boolean): {
|
|
321
|
-
success: boolean;
|
|
322
|
-
error?: string;
|
|
323
|
-
};
|
|
324
|
-
getValue(element: string): string | null;
|
|
325
|
-
commit(): {
|
|
326
|
-
success: boolean;
|
|
327
|
-
error?: string;
|
|
328
|
-
};
|
|
329
|
-
setScore(rawScore: number, maxScore: number, minScore?: number): void;
|
|
330
|
-
setLessonStatus(status: 'passed' | 'failed' | 'completed' | 'incomplete' | 'browsed', passed?: boolean): void;
|
|
331
|
-
getLastError(): {
|
|
332
|
-
code: string;
|
|
333
|
-
message: string;
|
|
334
|
-
diagnostic?: string;
|
|
335
|
-
};
|
|
336
|
-
formatCMITime(totalSeconds: number): string;
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
declare const sampleQuiz: QuizConfig;
|
|
340
|
-
declare const emptyQuiz: QuizConfig;
|
|
341
|
-
|
|
342
|
-
interface SCORMExportOptions {
|
|
343
|
-
scormVersion: "1.2" | "2004";
|
|
344
|
-
}
|
|
345
|
-
declare const exportQuizAsSCORMZip: (quiz: QuizConfig, options: SCORMExportOptions) => Promise<{
|
|
346
|
-
success: boolean;
|
|
347
|
-
error?: string;
|
|
348
|
-
fileName?: string;
|
|
349
|
-
}>;
|
|
350
|
-
|
|
351
|
-
declare const GenerateFillInTheBlanksQuestionInputSchema: z.ZodObject<{
|
|
352
|
-
topic: z.ZodString;
|
|
353
|
-
difficulty: z.ZodDefault<z.ZodOptional<z.ZodEnum<["easy", "medium", "hard"]>>>;
|
|
354
|
-
numberOfBlanks: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
355
|
-
isCaseSensitive: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
356
|
-
contextDescription: z.ZodOptional<z.ZodString>;
|
|
357
|
-
selectedContextId: z.ZodOptional<z.ZodString>;
|
|
358
|
-
}, "strip", z.ZodTypeAny, {
|
|
359
|
-
topic: string;
|
|
360
|
-
difficulty: "easy" | "medium" | "hard";
|
|
361
|
-
numberOfBlanks: number;
|
|
362
|
-
isCaseSensitive: boolean;
|
|
363
|
-
contextDescription?: string | undefined;
|
|
364
|
-
selectedContextId?: string | undefined;
|
|
365
|
-
}, {
|
|
366
|
-
topic: string;
|
|
367
|
-
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
368
|
-
numberOfBlanks?: number | undefined;
|
|
369
|
-
isCaseSensitive?: boolean | undefined;
|
|
370
|
-
contextDescription?: string | undefined;
|
|
371
|
-
selectedContextId?: string | undefined;
|
|
372
|
-
}>;
|
|
373
|
-
type GenerateFillInTheBlanksQuestionInput = z.infer<typeof GenerateFillInTheBlanksQuestionInputSchema>;
|
|
374
|
-
declare const GenerateFillInTheBlanksQuestionOutputSchema: z.ZodObject<{
|
|
375
|
-
question: z.ZodOptional<z.ZodObject<{
|
|
376
|
-
id: z.ZodString;
|
|
377
|
-
questionType: z.ZodLiteral<"fill_in_the_blanks">;
|
|
378
|
-
prompt: z.ZodString;
|
|
379
|
-
segments: z.ZodArray<z.ZodObject<{
|
|
380
|
-
type: z.ZodEnum<["text", "blank"]>;
|
|
381
|
-
content: z.ZodOptional<z.ZodString>;
|
|
382
|
-
id: z.ZodOptional<z.ZodString>;
|
|
383
|
-
}, "strip", z.ZodTypeAny, {
|
|
384
|
-
type: "text" | "blank";
|
|
385
|
-
id?: string | undefined;
|
|
386
|
-
content?: string | undefined;
|
|
387
|
-
}, {
|
|
388
|
-
type: "text" | "blank";
|
|
389
|
-
id?: string | undefined;
|
|
390
|
-
content?: string | undefined;
|
|
391
|
-
}>, "many">;
|
|
392
|
-
answers: z.ZodArray<z.ZodObject<{
|
|
393
|
-
blankId: z.ZodString;
|
|
394
|
-
acceptedValues: z.ZodArray<z.ZodString, "many">;
|
|
395
|
-
}, "strip", z.ZodTypeAny, {
|
|
396
|
-
blankId: string;
|
|
397
|
-
acceptedValues: string[];
|
|
398
|
-
}, {
|
|
399
|
-
blankId: string;
|
|
400
|
-
acceptedValues: string[];
|
|
401
|
-
}>, "many">;
|
|
402
|
-
isCaseSensitive: z.ZodOptional<z.ZodBoolean>;
|
|
403
|
-
points: z.ZodOptional<z.ZodNumber>;
|
|
404
|
-
explanation: z.ZodOptional<z.ZodString>;
|
|
405
|
-
learningObjective: z.ZodOptional<z.ZodString>;
|
|
406
|
-
glossary: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
407
|
-
bloomLevel: z.ZodOptional<z.ZodString>;
|
|
408
|
-
difficulty: z.ZodOptional<z.ZodEnum<["easy", "medium", "hard"]>>;
|
|
409
|
-
contextCode: z.ZodOptional<z.ZodString>;
|
|
410
|
-
gradeBand: z.ZodOptional<z.ZodString>;
|
|
411
|
-
course: z.ZodOptional<z.ZodString>;
|
|
412
|
-
category: z.ZodOptional<z.ZodString>;
|
|
413
|
-
topic: z.ZodOptional<z.ZodString>;
|
|
414
|
-
}, "strip", z.ZodTypeAny, {
|
|
415
|
-
answers: {
|
|
416
|
-
blankId: string;
|
|
417
|
-
acceptedValues: string[];
|
|
418
|
-
}[];
|
|
419
|
-
prompt: string;
|
|
420
|
-
id: string;
|
|
421
|
-
questionType: "fill_in_the_blanks";
|
|
422
|
-
segments: {
|
|
423
|
-
type: "text" | "blank";
|
|
424
|
-
id?: string | undefined;
|
|
425
|
-
content?: string | undefined;
|
|
426
|
-
}[];
|
|
427
|
-
learningObjective?: string | undefined;
|
|
428
|
-
category?: string | undefined;
|
|
429
|
-
topic?: string | undefined;
|
|
430
|
-
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
431
|
-
bloomLevel?: string | undefined;
|
|
432
|
-
isCaseSensitive?: boolean | undefined;
|
|
433
|
-
explanation?: string | undefined;
|
|
434
|
-
points?: number | undefined;
|
|
435
|
-
glossary?: string[] | undefined;
|
|
436
|
-
contextCode?: string | undefined;
|
|
437
|
-
gradeBand?: string | undefined;
|
|
438
|
-
course?: string | undefined;
|
|
439
|
-
}, {
|
|
440
|
-
answers: {
|
|
441
|
-
blankId: string;
|
|
442
|
-
acceptedValues: string[];
|
|
443
|
-
}[];
|
|
444
|
-
prompt: string;
|
|
445
|
-
id: string;
|
|
446
|
-
questionType: "fill_in_the_blanks";
|
|
447
|
-
segments: {
|
|
448
|
-
type: "text" | "blank";
|
|
449
|
-
id?: string | undefined;
|
|
450
|
-
content?: string | undefined;
|
|
451
|
-
}[];
|
|
452
|
-
learningObjective?: string | undefined;
|
|
453
|
-
category?: string | undefined;
|
|
454
|
-
topic?: string | undefined;
|
|
455
|
-
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
456
|
-
bloomLevel?: string | undefined;
|
|
457
|
-
isCaseSensitive?: boolean | undefined;
|
|
458
|
-
explanation?: string | undefined;
|
|
459
|
-
points?: number | undefined;
|
|
460
|
-
glossary?: string[] | undefined;
|
|
461
|
-
contextCode?: string | undefined;
|
|
462
|
-
gradeBand?: string | undefined;
|
|
463
|
-
course?: string | undefined;
|
|
464
|
-
}>>;
|
|
465
|
-
}, "strip", z.ZodTypeAny, {
|
|
466
|
-
question?: {
|
|
467
|
-
answers: {
|
|
468
|
-
blankId: string;
|
|
469
|
-
acceptedValues: string[];
|
|
470
|
-
}[];
|
|
471
|
-
prompt: string;
|
|
472
|
-
id: string;
|
|
473
|
-
questionType: "fill_in_the_blanks";
|
|
474
|
-
segments: {
|
|
475
|
-
type: "text" | "blank";
|
|
476
|
-
id?: string | undefined;
|
|
477
|
-
content?: string | undefined;
|
|
478
|
-
}[];
|
|
479
|
-
learningObjective?: string | undefined;
|
|
480
|
-
category?: string | undefined;
|
|
481
|
-
topic?: string | undefined;
|
|
482
|
-
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
483
|
-
bloomLevel?: string | undefined;
|
|
484
|
-
isCaseSensitive?: boolean | undefined;
|
|
485
|
-
explanation?: string | undefined;
|
|
486
|
-
points?: number | undefined;
|
|
487
|
-
glossary?: string[] | undefined;
|
|
488
|
-
contextCode?: string | undefined;
|
|
489
|
-
gradeBand?: string | undefined;
|
|
490
|
-
course?: string | undefined;
|
|
491
|
-
} | undefined;
|
|
492
|
-
}, {
|
|
493
|
-
question?: {
|
|
494
|
-
answers: {
|
|
495
|
-
blankId: string;
|
|
496
|
-
acceptedValues: string[];
|
|
497
|
-
}[];
|
|
498
|
-
prompt: string;
|
|
499
|
-
id: string;
|
|
500
|
-
questionType: "fill_in_the_blanks";
|
|
501
|
-
segments: {
|
|
502
|
-
type: "text" | "blank";
|
|
503
|
-
id?: string | undefined;
|
|
504
|
-
content?: string | undefined;
|
|
505
|
-
}[];
|
|
506
|
-
learningObjective?: string | undefined;
|
|
507
|
-
category?: string | undefined;
|
|
508
|
-
topic?: string | undefined;
|
|
509
|
-
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
510
|
-
bloomLevel?: string | undefined;
|
|
511
|
-
isCaseSensitive?: boolean | undefined;
|
|
512
|
-
explanation?: string | undefined;
|
|
513
|
-
points?: number | undefined;
|
|
514
|
-
glossary?: string[] | undefined;
|
|
515
|
-
contextCode?: string | undefined;
|
|
516
|
-
gradeBand?: string | undefined;
|
|
517
|
-
course?: string | undefined;
|
|
518
|
-
} | undefined;
|
|
519
|
-
}>;
|
|
520
|
-
type GenerateFillInTheBlanksQuestionOutput = z.infer<typeof GenerateFillInTheBlanksQuestionOutputSchema>;
|
|
521
|
-
declare function generateFillInTheBlanksQuestion(input: GenerateFillInTheBlanksQuestionInput): Promise<GenerateFillInTheBlanksQuestionOutput>;
|
|
522
|
-
|
|
523
|
-
declare const GenerateMatchingQuestionInputSchema: z.ZodObject<{
|
|
524
|
-
topic: z.ZodString;
|
|
525
|
-
difficulty: z.ZodDefault<z.ZodOptional<z.ZodEnum<["easy", "medium", "hard"]>>>;
|
|
526
|
-
numberOfPairs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
527
|
-
shuffleOptions: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
528
|
-
contextDescription: z.ZodOptional<z.ZodString>;
|
|
529
|
-
selectedContextId: z.ZodOptional<z.ZodString>;
|
|
530
|
-
}, "strip", z.ZodTypeAny, {
|
|
531
|
-
topic: string;
|
|
532
|
-
difficulty: "easy" | "medium" | "hard";
|
|
533
|
-
shuffleOptions: boolean;
|
|
534
|
-
numberOfPairs: number;
|
|
535
|
-
contextDescription?: string | undefined;
|
|
536
|
-
selectedContextId?: string | undefined;
|
|
537
|
-
}, {
|
|
538
|
-
topic: string;
|
|
539
|
-
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
540
|
-
shuffleOptions?: boolean | undefined;
|
|
541
|
-
contextDescription?: string | undefined;
|
|
542
|
-
selectedContextId?: string | undefined;
|
|
543
|
-
numberOfPairs?: number | undefined;
|
|
544
|
-
}>;
|
|
545
|
-
type GenerateMatchingQuestionInput = z.infer<typeof GenerateMatchingQuestionInputSchema>;
|
|
546
|
-
declare const GenerateMatchingQuestionOutputSchema: z.ZodObject<{
|
|
547
|
-
question: z.ZodOptional<z.ZodObject<{
|
|
548
|
-
id: z.ZodString;
|
|
549
|
-
questionType: z.ZodLiteral<"matching">;
|
|
550
|
-
prompt: z.ZodString;
|
|
551
|
-
prompts: z.ZodArray<z.ZodObject<{
|
|
552
|
-
id: z.ZodString;
|
|
553
|
-
content: z.ZodString;
|
|
554
|
-
}, "strip", z.ZodTypeAny, {
|
|
555
|
-
id: string;
|
|
556
|
-
content: string;
|
|
557
|
-
}, {
|
|
558
|
-
id: string;
|
|
559
|
-
content: string;
|
|
560
|
-
}>, "many">;
|
|
561
|
-
options: z.ZodArray<z.ZodObject<{
|
|
562
|
-
id: z.ZodString;
|
|
563
|
-
content: z.ZodString;
|
|
564
|
-
}, "strip", z.ZodTypeAny, {
|
|
565
|
-
id: string;
|
|
566
|
-
content: string;
|
|
567
|
-
}, {
|
|
568
|
-
id: string;
|
|
569
|
-
content: string;
|
|
570
|
-
}>, "many">;
|
|
571
|
-
correctAnswerMap: z.ZodArray<z.ZodObject<{
|
|
572
|
-
promptId: z.ZodString;
|
|
573
|
-
optionId: z.ZodString;
|
|
574
|
-
}, "strip", z.ZodTypeAny, {
|
|
575
|
-
promptId: string;
|
|
576
|
-
optionId: string;
|
|
577
|
-
}, {
|
|
578
|
-
promptId: string;
|
|
579
|
-
optionId: string;
|
|
580
|
-
}>, "many">;
|
|
581
|
-
shuffleOptions: z.ZodOptional<z.ZodBoolean>;
|
|
582
|
-
points: z.ZodOptional<z.ZodNumber>;
|
|
583
|
-
explanation: z.ZodOptional<z.ZodString>;
|
|
584
|
-
learningObjective: z.ZodOptional<z.ZodString>;
|
|
585
|
-
glossary: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
586
|
-
bloomLevel: z.ZodOptional<z.ZodString>;
|
|
587
|
-
difficulty: z.ZodOptional<z.ZodEnum<["easy", "medium", "hard"]>>;
|
|
588
|
-
contextCode: z.ZodOptional<z.ZodString>;
|
|
589
|
-
gradeBand: z.ZodOptional<z.ZodString>;
|
|
590
|
-
course: z.ZodOptional<z.ZodString>;
|
|
591
|
-
category: z.ZodOptional<z.ZodString>;
|
|
592
|
-
topic: z.ZodOptional<z.ZodString>;
|
|
593
|
-
}, "strip", z.ZodTypeAny, {
|
|
594
|
-
options: {
|
|
595
|
-
id: string;
|
|
596
|
-
content: string;
|
|
597
|
-
}[];
|
|
598
|
-
prompt: string;
|
|
599
|
-
id: string;
|
|
600
|
-
questionType: "matching";
|
|
601
|
-
prompts: {
|
|
602
|
-
id: string;
|
|
603
|
-
content: string;
|
|
604
|
-
}[];
|
|
605
|
-
correctAnswerMap: {
|
|
606
|
-
promptId: string;
|
|
607
|
-
optionId: string;
|
|
608
|
-
}[];
|
|
609
|
-
learningObjective?: string | undefined;
|
|
610
|
-
category?: string | undefined;
|
|
611
|
-
topic?: string | undefined;
|
|
612
|
-
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
613
|
-
bloomLevel?: string | undefined;
|
|
614
|
-
shuffleOptions?: boolean | undefined;
|
|
615
|
-
explanation?: string | undefined;
|
|
616
|
-
points?: number | undefined;
|
|
617
|
-
glossary?: string[] | undefined;
|
|
618
|
-
contextCode?: string | undefined;
|
|
619
|
-
gradeBand?: string | undefined;
|
|
620
|
-
course?: string | undefined;
|
|
621
|
-
}, {
|
|
622
|
-
options: {
|
|
623
|
-
id: string;
|
|
624
|
-
content: string;
|
|
625
|
-
}[];
|
|
626
|
-
prompt: string;
|
|
627
|
-
id: string;
|
|
628
|
-
questionType: "matching";
|
|
629
|
-
prompts: {
|
|
630
|
-
id: string;
|
|
631
|
-
content: string;
|
|
632
|
-
}[];
|
|
633
|
-
correctAnswerMap: {
|
|
634
|
-
promptId: string;
|
|
635
|
-
optionId: string;
|
|
636
|
-
}[];
|
|
637
|
-
learningObjective?: string | undefined;
|
|
638
|
-
category?: string | undefined;
|
|
639
|
-
topic?: string | undefined;
|
|
640
|
-
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
641
|
-
bloomLevel?: string | undefined;
|
|
642
|
-
shuffleOptions?: boolean | undefined;
|
|
643
|
-
explanation?: string | undefined;
|
|
644
|
-
points?: number | undefined;
|
|
645
|
-
glossary?: string[] | undefined;
|
|
646
|
-
contextCode?: string | undefined;
|
|
647
|
-
gradeBand?: string | undefined;
|
|
648
|
-
course?: string | undefined;
|
|
649
|
-
}>>;
|
|
650
|
-
}, "strip", z.ZodTypeAny, {
|
|
651
|
-
question?: {
|
|
652
|
-
options: {
|
|
653
|
-
id: string;
|
|
654
|
-
content: string;
|
|
655
|
-
}[];
|
|
656
|
-
prompt: string;
|
|
657
|
-
id: string;
|
|
658
|
-
questionType: "matching";
|
|
659
|
-
prompts: {
|
|
660
|
-
id: string;
|
|
661
|
-
content: string;
|
|
662
|
-
}[];
|
|
663
|
-
correctAnswerMap: {
|
|
664
|
-
promptId: string;
|
|
665
|
-
optionId: string;
|
|
666
|
-
}[];
|
|
667
|
-
learningObjective?: string | undefined;
|
|
668
|
-
category?: string | undefined;
|
|
669
|
-
topic?: string | undefined;
|
|
670
|
-
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
671
|
-
bloomLevel?: string | undefined;
|
|
672
|
-
shuffleOptions?: boolean | undefined;
|
|
673
|
-
explanation?: string | undefined;
|
|
674
|
-
points?: number | undefined;
|
|
675
|
-
glossary?: string[] | undefined;
|
|
676
|
-
contextCode?: string | undefined;
|
|
677
|
-
gradeBand?: string | undefined;
|
|
678
|
-
course?: string | undefined;
|
|
679
|
-
} | undefined;
|
|
680
|
-
}, {
|
|
681
|
-
question?: {
|
|
682
|
-
options: {
|
|
683
|
-
id: string;
|
|
684
|
-
content: string;
|
|
685
|
-
}[];
|
|
686
|
-
prompt: string;
|
|
687
|
-
id: string;
|
|
688
|
-
questionType: "matching";
|
|
689
|
-
prompts: {
|
|
690
|
-
id: string;
|
|
691
|
-
content: string;
|
|
692
|
-
}[];
|
|
693
|
-
correctAnswerMap: {
|
|
694
|
-
promptId: string;
|
|
695
|
-
optionId: string;
|
|
696
|
-
}[];
|
|
697
|
-
learningObjective?: string | undefined;
|
|
698
|
-
category?: string | undefined;
|
|
699
|
-
topic?: string | undefined;
|
|
700
|
-
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
701
|
-
bloomLevel?: string | undefined;
|
|
702
|
-
shuffleOptions?: boolean | undefined;
|
|
703
|
-
explanation?: string | undefined;
|
|
704
|
-
points?: number | undefined;
|
|
705
|
-
glossary?: string[] | undefined;
|
|
706
|
-
contextCode?: string | undefined;
|
|
707
|
-
gradeBand?: string | undefined;
|
|
708
|
-
course?: string | undefined;
|
|
709
|
-
} | undefined;
|
|
710
|
-
}>;
|
|
711
|
-
type GenerateMatchingQuestionOutput = z.infer<typeof GenerateMatchingQuestionOutputSchema>;
|
|
712
|
-
declare function generateMatchingQuestion(input: GenerateMatchingQuestionInput): Promise<GenerateMatchingQuestionOutput>;
|
|
713
|
-
|
|
714
|
-
declare const GenerateMCQQuestionInputSchema: z.ZodObject<{
|
|
715
|
-
topic: z.ZodString;
|
|
716
|
-
difficulty: z.ZodDefault<z.ZodOptional<z.ZodEnum<["easy", "medium", "hard"]>>>;
|
|
717
|
-
numberOfOptions: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
718
|
-
contextDescription: z.ZodOptional<z.ZodString>;
|
|
719
|
-
selectedContextId: z.ZodOptional<z.ZodString>;
|
|
720
|
-
}, "strip", z.ZodTypeAny, {
|
|
721
|
-
topic: string;
|
|
722
|
-
difficulty: "easy" | "medium" | "hard";
|
|
723
|
-
numberOfOptions: number;
|
|
724
|
-
contextDescription?: string | undefined;
|
|
725
|
-
selectedContextId?: string | undefined;
|
|
726
|
-
}, {
|
|
727
|
-
topic: string;
|
|
728
|
-
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
729
|
-
contextDescription?: string | undefined;
|
|
730
|
-
selectedContextId?: string | undefined;
|
|
731
|
-
numberOfOptions?: number | undefined;
|
|
732
|
-
}>;
|
|
733
|
-
type GenerateMCQQuestionInput = z.infer<typeof GenerateMCQQuestionInputSchema>;
|
|
734
|
-
declare const GenerateMCQQuestionOutputSchema: z.ZodObject<{
|
|
735
|
-
question: z.ZodOptional<z.ZodObject<{
|
|
736
|
-
id: z.ZodString;
|
|
737
|
-
questionType: z.ZodLiteral<"multiple_choice">;
|
|
738
|
-
prompt: z.ZodString;
|
|
739
|
-
options: z.ZodArray<z.ZodObject<{
|
|
740
|
-
id: z.ZodString;
|
|
741
|
-
text: z.ZodString;
|
|
742
|
-
}, "strip", z.ZodTypeAny, {
|
|
743
|
-
text: string;
|
|
744
|
-
id: string;
|
|
745
|
-
}, {
|
|
746
|
-
text: string;
|
|
747
|
-
id: string;
|
|
748
|
-
}>, "many">;
|
|
749
|
-
correctAnswerId: z.ZodString;
|
|
750
|
-
points: z.ZodOptional<z.ZodNumber>;
|
|
751
|
-
explanation: z.ZodOptional<z.ZodString>;
|
|
752
|
-
learningObjective: z.ZodOptional<z.ZodString>;
|
|
753
|
-
glossary: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
754
|
-
bloomLevel: z.ZodOptional<z.ZodString>;
|
|
755
|
-
difficulty: z.ZodOptional<z.ZodEnum<["easy", "medium", "hard"]>>;
|
|
756
|
-
contextCode: z.ZodOptional<z.ZodString>;
|
|
757
|
-
gradeBand: z.ZodOptional<z.ZodString>;
|
|
758
|
-
course: z.ZodOptional<z.ZodString>;
|
|
759
|
-
category: z.ZodOptional<z.ZodString>;
|
|
760
|
-
topic: z.ZodOptional<z.ZodString>;
|
|
761
|
-
}, "strip", z.ZodTypeAny, {
|
|
762
|
-
options: {
|
|
763
|
-
text: string;
|
|
764
|
-
id: string;
|
|
765
|
-
}[];
|
|
766
|
-
prompt: string;
|
|
767
|
-
id: string;
|
|
768
|
-
questionType: "multiple_choice";
|
|
769
|
-
correctAnswerId: string;
|
|
770
|
-
learningObjective?: string | undefined;
|
|
771
|
-
category?: string | undefined;
|
|
772
|
-
topic?: string | undefined;
|
|
773
|
-
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
774
|
-
bloomLevel?: string | undefined;
|
|
775
|
-
explanation?: string | undefined;
|
|
776
|
-
points?: number | undefined;
|
|
777
|
-
glossary?: string[] | undefined;
|
|
778
|
-
contextCode?: string | undefined;
|
|
779
|
-
gradeBand?: string | undefined;
|
|
780
|
-
course?: string | undefined;
|
|
781
|
-
}, {
|
|
782
|
-
options: {
|
|
783
|
-
text: string;
|
|
784
|
-
id: string;
|
|
785
|
-
}[];
|
|
786
|
-
prompt: string;
|
|
787
|
-
id: string;
|
|
788
|
-
questionType: "multiple_choice";
|
|
789
|
-
correctAnswerId: string;
|
|
790
|
-
learningObjective?: string | undefined;
|
|
791
|
-
category?: string | undefined;
|
|
792
|
-
topic?: string | undefined;
|
|
793
|
-
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
794
|
-
bloomLevel?: string | undefined;
|
|
795
|
-
explanation?: string | undefined;
|
|
796
|
-
points?: number | undefined;
|
|
797
|
-
glossary?: string[] | undefined;
|
|
798
|
-
contextCode?: string | undefined;
|
|
799
|
-
gradeBand?: string | undefined;
|
|
800
|
-
course?: string | undefined;
|
|
801
|
-
}>>;
|
|
802
|
-
}, "strip", z.ZodTypeAny, {
|
|
803
|
-
question?: {
|
|
804
|
-
options: {
|
|
805
|
-
text: string;
|
|
806
|
-
id: string;
|
|
807
|
-
}[];
|
|
808
|
-
prompt: string;
|
|
809
|
-
id: string;
|
|
810
|
-
questionType: "multiple_choice";
|
|
811
|
-
correctAnswerId: string;
|
|
812
|
-
learningObjective?: string | undefined;
|
|
813
|
-
category?: string | undefined;
|
|
814
|
-
topic?: string | undefined;
|
|
815
|
-
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
816
|
-
bloomLevel?: string | undefined;
|
|
817
|
-
explanation?: string | undefined;
|
|
818
|
-
points?: number | undefined;
|
|
819
|
-
glossary?: string[] | undefined;
|
|
820
|
-
contextCode?: string | undefined;
|
|
821
|
-
gradeBand?: string | undefined;
|
|
822
|
-
course?: string | undefined;
|
|
823
|
-
} | undefined;
|
|
824
|
-
}, {
|
|
825
|
-
question?: {
|
|
826
|
-
options: {
|
|
827
|
-
text: string;
|
|
828
|
-
id: string;
|
|
829
|
-
}[];
|
|
830
|
-
prompt: string;
|
|
831
|
-
id: string;
|
|
832
|
-
questionType: "multiple_choice";
|
|
833
|
-
correctAnswerId: string;
|
|
834
|
-
learningObjective?: string | undefined;
|
|
835
|
-
category?: string | undefined;
|
|
836
|
-
topic?: string | undefined;
|
|
837
|
-
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
838
|
-
bloomLevel?: string | undefined;
|
|
839
|
-
explanation?: string | undefined;
|
|
840
|
-
points?: number | undefined;
|
|
841
|
-
glossary?: string[] | undefined;
|
|
842
|
-
contextCode?: string | undefined;
|
|
843
|
-
gradeBand?: string | undefined;
|
|
844
|
-
course?: string | undefined;
|
|
845
|
-
} | undefined;
|
|
846
|
-
}>;
|
|
847
|
-
type GenerateMCQQuestionOutput = z.infer<typeof GenerateMCQQuestionOutputSchema>;
|
|
848
|
-
declare function generateMCQQuestion(input: GenerateMCQQuestionInput): Promise<GenerateMCQQuestionOutput>;
|
|
849
|
-
|
|
850
|
-
declare const GenerateMRQQuestionInputSchema: z.ZodObject<{
|
|
851
|
-
topic: z.ZodString;
|
|
852
|
-
difficulty: z.ZodDefault<z.ZodOptional<z.ZodEnum<["easy", "medium", "hard"]>>>;
|
|
853
|
-
numberOfOptions: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
854
|
-
minCorrectAnswers: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
855
|
-
maxCorrectAnswers: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
856
|
-
contextDescription: z.ZodOptional<z.ZodString>;
|
|
857
|
-
selectedContextId: z.ZodOptional<z.ZodString>;
|
|
858
|
-
}, "strip", z.ZodTypeAny, {
|
|
859
|
-
topic: string;
|
|
860
|
-
difficulty: "easy" | "medium" | "hard";
|
|
861
|
-
numberOfOptions: number;
|
|
862
|
-
minCorrectAnswers: number;
|
|
863
|
-
maxCorrectAnswers: number;
|
|
864
|
-
contextDescription?: string | undefined;
|
|
865
|
-
selectedContextId?: string | undefined;
|
|
866
|
-
}, {
|
|
867
|
-
topic: string;
|
|
868
|
-
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
869
|
-
contextDescription?: string | undefined;
|
|
870
|
-
selectedContextId?: string | undefined;
|
|
871
|
-
numberOfOptions?: number | undefined;
|
|
872
|
-
minCorrectAnswers?: number | undefined;
|
|
873
|
-
maxCorrectAnswers?: number | undefined;
|
|
874
|
-
}>;
|
|
875
|
-
type GenerateMRQQuestionInput = z.infer<typeof GenerateMRQQuestionInputSchema>;
|
|
876
|
-
declare const GenerateMRQQuestionOutputSchema: z.ZodObject<{
|
|
877
|
-
question: z.ZodOptional<z.ZodObject<{
|
|
878
|
-
id: z.ZodString;
|
|
879
|
-
questionType: z.ZodLiteral<"multiple_response">;
|
|
880
|
-
prompt: z.ZodString;
|
|
881
|
-
options: z.ZodArray<z.ZodObject<{
|
|
882
|
-
id: z.ZodString;
|
|
883
|
-
text: z.ZodString;
|
|
884
|
-
}, "strip", z.ZodTypeAny, {
|
|
885
|
-
text: string;
|
|
886
|
-
id: string;
|
|
887
|
-
}, {
|
|
888
|
-
text: string;
|
|
889
|
-
id: string;
|
|
890
|
-
}>, "many">;
|
|
891
|
-
correctAnswerIds: z.ZodArray<z.ZodString, "many">;
|
|
892
|
-
points: z.ZodOptional<z.ZodNumber>;
|
|
893
|
-
explanation: z.ZodOptional<z.ZodString>;
|
|
894
|
-
learningObjective: z.ZodOptional<z.ZodString>;
|
|
895
|
-
glossary: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
896
|
-
bloomLevel: z.ZodOptional<z.ZodString>;
|
|
897
|
-
difficulty: z.ZodOptional<z.ZodEnum<["easy", "medium", "hard"]>>;
|
|
898
|
-
contextCode: z.ZodOptional<z.ZodString>;
|
|
899
|
-
gradeBand: z.ZodOptional<z.ZodString>;
|
|
900
|
-
course: z.ZodOptional<z.ZodString>;
|
|
901
|
-
category: z.ZodOptional<z.ZodString>;
|
|
902
|
-
topic: z.ZodOptional<z.ZodString>;
|
|
903
|
-
}, "strip", z.ZodTypeAny, {
|
|
904
|
-
options: {
|
|
905
|
-
text: string;
|
|
906
|
-
id: string;
|
|
907
|
-
}[];
|
|
908
|
-
prompt: string;
|
|
909
|
-
id: string;
|
|
910
|
-
questionType: "multiple_response";
|
|
911
|
-
correctAnswerIds: string[];
|
|
912
|
-
learningObjective?: string | undefined;
|
|
913
|
-
category?: string | undefined;
|
|
914
|
-
topic?: string | undefined;
|
|
915
|
-
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
916
|
-
bloomLevel?: string | undefined;
|
|
917
|
-
explanation?: string | undefined;
|
|
918
|
-
points?: number | undefined;
|
|
919
|
-
glossary?: string[] | undefined;
|
|
920
|
-
contextCode?: string | undefined;
|
|
921
|
-
gradeBand?: string | undefined;
|
|
922
|
-
course?: string | undefined;
|
|
923
|
-
}, {
|
|
924
|
-
options: {
|
|
925
|
-
text: string;
|
|
926
|
-
id: string;
|
|
927
|
-
}[];
|
|
928
|
-
prompt: string;
|
|
929
|
-
id: string;
|
|
930
|
-
questionType: "multiple_response";
|
|
931
|
-
correctAnswerIds: string[];
|
|
932
|
-
learningObjective?: string | undefined;
|
|
933
|
-
category?: string | undefined;
|
|
934
|
-
topic?: string | undefined;
|
|
935
|
-
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
936
|
-
bloomLevel?: string | undefined;
|
|
937
|
-
explanation?: string | undefined;
|
|
938
|
-
points?: number | undefined;
|
|
939
|
-
glossary?: string[] | undefined;
|
|
940
|
-
contextCode?: string | undefined;
|
|
941
|
-
gradeBand?: string | undefined;
|
|
942
|
-
course?: string | undefined;
|
|
943
|
-
}>>;
|
|
944
|
-
}, "strip", z.ZodTypeAny, {
|
|
945
|
-
question?: {
|
|
946
|
-
options: {
|
|
947
|
-
text: string;
|
|
948
|
-
id: string;
|
|
949
|
-
}[];
|
|
950
|
-
prompt: string;
|
|
951
|
-
id: string;
|
|
952
|
-
questionType: "multiple_response";
|
|
953
|
-
correctAnswerIds: string[];
|
|
954
|
-
learningObjective?: string | undefined;
|
|
955
|
-
category?: string | undefined;
|
|
956
|
-
topic?: string | undefined;
|
|
957
|
-
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
958
|
-
bloomLevel?: string | undefined;
|
|
959
|
-
explanation?: string | undefined;
|
|
960
|
-
points?: number | undefined;
|
|
961
|
-
glossary?: string[] | undefined;
|
|
962
|
-
contextCode?: string | undefined;
|
|
963
|
-
gradeBand?: string | undefined;
|
|
964
|
-
course?: string | undefined;
|
|
965
|
-
} | undefined;
|
|
966
|
-
}, {
|
|
967
|
-
question?: {
|
|
968
|
-
options: {
|
|
969
|
-
text: string;
|
|
970
|
-
id: string;
|
|
971
|
-
}[];
|
|
972
|
-
prompt: string;
|
|
973
|
-
id: string;
|
|
974
|
-
questionType: "multiple_response";
|
|
975
|
-
correctAnswerIds: string[];
|
|
976
|
-
learningObjective?: string | undefined;
|
|
977
|
-
category?: string | undefined;
|
|
978
|
-
topic?: string | undefined;
|
|
979
|
-
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
980
|
-
bloomLevel?: string | undefined;
|
|
981
|
-
explanation?: string | undefined;
|
|
982
|
-
points?: number | undefined;
|
|
983
|
-
glossary?: string[] | undefined;
|
|
984
|
-
contextCode?: string | undefined;
|
|
985
|
-
gradeBand?: string | undefined;
|
|
986
|
-
course?: string | undefined;
|
|
987
|
-
} | undefined;
|
|
988
|
-
}>;
|
|
989
|
-
type GenerateMRQQuestionOutput = z.infer<typeof GenerateMRQQuestionOutputSchema>;
|
|
990
|
-
declare function generateMRQQuestion(input: GenerateMRQQuestionInput): Promise<GenerateMRQQuestionOutput>;
|
|
991
|
-
|
|
992
|
-
declare const GenerateNumericQuestionInputSchema: z.ZodObject<{
|
|
993
|
-
topic: z.ZodString;
|
|
994
|
-
difficulty: z.ZodDefault<z.ZodOptional<z.ZodEnum<["easy", "medium", "hard"]>>>;
|
|
995
|
-
allowDecimals: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
996
|
-
minRange: z.ZodOptional<z.ZodNumber>;
|
|
997
|
-
maxRange: z.ZodOptional<z.ZodNumber>;
|
|
998
|
-
contextDescription: z.ZodOptional<z.ZodString>;
|
|
999
|
-
selectedContextId: z.ZodOptional<z.ZodString>;
|
|
1000
|
-
}, "strip", z.ZodTypeAny, {
|
|
1001
|
-
topic: string;
|
|
1002
|
-
difficulty: "easy" | "medium" | "hard";
|
|
1003
|
-
allowDecimals: boolean;
|
|
1004
|
-
contextDescription?: string | undefined;
|
|
1005
|
-
selectedContextId?: string | undefined;
|
|
1006
|
-
minRange?: number | undefined;
|
|
1007
|
-
maxRange?: number | undefined;
|
|
1008
|
-
}, {
|
|
1009
|
-
topic: string;
|
|
1010
|
-
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
1011
|
-
contextDescription?: string | undefined;
|
|
1012
|
-
selectedContextId?: string | undefined;
|
|
1013
|
-
allowDecimals?: boolean | undefined;
|
|
1014
|
-
minRange?: number | undefined;
|
|
1015
|
-
maxRange?: number | undefined;
|
|
1016
|
-
}>;
|
|
1017
|
-
type GenerateNumericQuestionInput = z.infer<typeof GenerateNumericQuestionInputSchema>;
|
|
1018
|
-
declare const GenerateNumericQuestionOutputSchema: z.ZodObject<{
|
|
1019
|
-
question: z.ZodOptional<z.ZodObject<{
|
|
1020
|
-
id: z.ZodString;
|
|
1021
|
-
questionType: z.ZodLiteral<"numeric">;
|
|
1022
|
-
prompt: z.ZodString;
|
|
1023
|
-
answer: z.ZodNumber;
|
|
1024
|
-
tolerance: z.ZodOptional<z.ZodNumber>;
|
|
1025
|
-
points: z.ZodOptional<z.ZodNumber>;
|
|
1026
|
-
explanation: z.ZodOptional<z.ZodString>;
|
|
1027
|
-
learningObjective: z.ZodOptional<z.ZodString>;
|
|
1028
|
-
glossary: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1029
|
-
bloomLevel: z.ZodOptional<z.ZodString>;
|
|
1030
|
-
difficulty: z.ZodOptional<z.ZodEnum<["easy", "medium", "hard"]>>;
|
|
1031
|
-
contextCode: z.ZodOptional<z.ZodString>;
|
|
1032
|
-
gradeBand: z.ZodOptional<z.ZodString>;
|
|
1033
|
-
course: z.ZodOptional<z.ZodString>;
|
|
1034
|
-
category: z.ZodOptional<z.ZodString>;
|
|
1035
|
-
topic: z.ZodOptional<z.ZodString>;
|
|
1036
|
-
}, "strip", z.ZodTypeAny, {
|
|
1037
|
-
prompt: string;
|
|
1038
|
-
id: string;
|
|
1039
|
-
questionType: "numeric";
|
|
1040
|
-
answer: number;
|
|
1041
|
-
learningObjective?: string | undefined;
|
|
1042
|
-
category?: string | undefined;
|
|
1043
|
-
topic?: string | undefined;
|
|
1044
|
-
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
1045
|
-
bloomLevel?: string | undefined;
|
|
1046
|
-
explanation?: string | undefined;
|
|
1047
|
-
points?: number | undefined;
|
|
1048
|
-
glossary?: string[] | undefined;
|
|
1049
|
-
contextCode?: string | undefined;
|
|
1050
|
-
gradeBand?: string | undefined;
|
|
1051
|
-
course?: string | undefined;
|
|
1052
|
-
tolerance?: number | undefined;
|
|
1053
|
-
}, {
|
|
1054
|
-
prompt: string;
|
|
1055
|
-
id: string;
|
|
1056
|
-
questionType: "numeric";
|
|
1057
|
-
answer: number;
|
|
1058
|
-
learningObjective?: string | undefined;
|
|
1059
|
-
category?: string | undefined;
|
|
1060
|
-
topic?: string | undefined;
|
|
1061
|
-
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
1062
|
-
bloomLevel?: string | undefined;
|
|
1063
|
-
explanation?: string | undefined;
|
|
1064
|
-
points?: number | undefined;
|
|
1065
|
-
glossary?: string[] | undefined;
|
|
1066
|
-
contextCode?: string | undefined;
|
|
1067
|
-
gradeBand?: string | undefined;
|
|
1068
|
-
course?: string | undefined;
|
|
1069
|
-
tolerance?: number | undefined;
|
|
1070
|
-
}>>;
|
|
1071
|
-
}, "strip", z.ZodTypeAny, {
|
|
1072
|
-
question?: {
|
|
1073
|
-
prompt: string;
|
|
1074
|
-
id: string;
|
|
1075
|
-
questionType: "numeric";
|
|
1076
|
-
answer: number;
|
|
1077
|
-
learningObjective?: string | undefined;
|
|
1078
|
-
category?: string | undefined;
|
|
1079
|
-
topic?: string | undefined;
|
|
1080
|
-
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
1081
|
-
bloomLevel?: string | undefined;
|
|
1082
|
-
explanation?: string | undefined;
|
|
1083
|
-
points?: number | undefined;
|
|
1084
|
-
glossary?: string[] | undefined;
|
|
1085
|
-
contextCode?: string | undefined;
|
|
1086
|
-
gradeBand?: string | undefined;
|
|
1087
|
-
course?: string | undefined;
|
|
1088
|
-
tolerance?: number | undefined;
|
|
1089
|
-
} | undefined;
|
|
1090
|
-
}, {
|
|
1091
|
-
question?: {
|
|
1092
|
-
prompt: string;
|
|
1093
|
-
id: string;
|
|
1094
|
-
questionType: "numeric";
|
|
1095
|
-
answer: number;
|
|
1096
|
-
learningObjective?: string | undefined;
|
|
1097
|
-
category?: string | undefined;
|
|
1098
|
-
topic?: string | undefined;
|
|
1099
|
-
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
1100
|
-
bloomLevel?: string | undefined;
|
|
1101
|
-
explanation?: string | undefined;
|
|
1102
|
-
points?: number | undefined;
|
|
1103
|
-
glossary?: string[] | undefined;
|
|
1104
|
-
contextCode?: string | undefined;
|
|
1105
|
-
gradeBand?: string | undefined;
|
|
1106
|
-
course?: string | undefined;
|
|
1107
|
-
tolerance?: number | undefined;
|
|
1108
|
-
} | undefined;
|
|
1109
|
-
}>;
|
|
1110
|
-
type GenerateNumericQuestionOutput = z.infer<typeof GenerateNumericQuestionOutputSchema>;
|
|
1111
|
-
declare function generateNumericQuestion(input: GenerateNumericQuestionInput): Promise<GenerateNumericQuestionOutput>;
|
|
1112
|
-
|
|
1113
|
-
declare const BloomLevelStringsEnum: z.ZodEnum<["remembering", "understanding", "applying"]>;
|
|
1114
|
-
type BloomLevelStringsForAI = z.infer<typeof BloomLevelStringsEnum>;
|
|
1115
|
-
declare const GenerateQuizPlanInputSchema: z.ZodObject<{
|
|
1116
|
-
totalQuestions: z.ZodNumber;
|
|
1117
|
-
topics: z.ZodArray<z.ZodObject<{
|
|
1118
|
-
topic: z.ZodString;
|
|
1119
|
-
ratio: z.ZodNumber;
|
|
1120
|
-
}, "strip", z.ZodTypeAny, {
|
|
1121
|
-
topic: string;
|
|
1122
|
-
ratio: number;
|
|
1123
|
-
}, {
|
|
1124
|
-
topic: string;
|
|
1125
|
-
ratio: number;
|
|
1126
|
-
}>, "many">;
|
|
1127
|
-
bloomLevels: z.ZodArray<z.ZodObject<{
|
|
1128
|
-
level: z.ZodEnum<["remembering", "understanding", "applying"]>;
|
|
1129
|
-
ratio: z.ZodNumber;
|
|
1130
|
-
}, "strip", z.ZodTypeAny, {
|
|
1131
|
-
ratio: number;
|
|
1132
|
-
level: "remembering" | "understanding" | "applying";
|
|
1133
|
-
}, {
|
|
1134
|
-
ratio: number;
|
|
1135
|
-
level: "remembering" | "understanding" | "applying";
|
|
1136
|
-
}>, "many">;
|
|
1137
|
-
selectedContextIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1138
|
-
selectedQuestionTypes: z.ZodArray<z.ZodEnum<[QuestionTypeStrings, ...QuestionTypeStrings[]]>, "many">;
|
|
1139
|
-
}, "strip", z.ZodTypeAny, {
|
|
1140
|
-
totalQuestions: number;
|
|
1141
|
-
topics: {
|
|
1142
|
-
topic: string;
|
|
1143
|
-
ratio: number;
|
|
1144
|
-
}[];
|
|
1145
|
-
bloomLevels: {
|
|
1146
|
-
ratio: number;
|
|
1147
|
-
level: "remembering" | "understanding" | "applying";
|
|
1148
|
-
}[];
|
|
1149
|
-
selectedQuestionTypes: QuestionTypeStrings[];
|
|
1150
|
-
selectedContextIds?: string[] | undefined;
|
|
1151
|
-
}, {
|
|
1152
|
-
totalQuestions: number;
|
|
1153
|
-
topics: {
|
|
1154
|
-
topic: string;
|
|
1155
|
-
ratio: number;
|
|
1156
|
-
}[];
|
|
1157
|
-
bloomLevels: {
|
|
1158
|
-
ratio: number;
|
|
1159
|
-
level: "remembering" | "understanding" | "applying";
|
|
1160
|
-
}[];
|
|
1161
|
-
selectedQuestionTypes: QuestionTypeStrings[];
|
|
1162
|
-
selectedContextIds?: string[] | undefined;
|
|
1163
|
-
}>;
|
|
1164
|
-
type GenerateQuizPlanInput = z.infer<typeof GenerateQuizPlanInputSchema>;
|
|
1165
|
-
declare const PlannedQuestionSchema: z.ZodObject<{
|
|
1166
|
-
plannedTopic: z.ZodString;
|
|
1167
|
-
plannedQuestionType: z.ZodEnum<[QuestionTypeStrings, ...QuestionTypeStrings[]]>;
|
|
1168
|
-
plannedBloomLevel: z.ZodEnum<["remembering", "understanding", "applying"]>;
|
|
1169
|
-
}, "strip", z.ZodTypeAny, {
|
|
1170
|
-
plannedTopic: string;
|
|
1171
|
-
plannedQuestionType: QuestionTypeStrings;
|
|
1172
|
-
plannedBloomLevel: "remembering" | "understanding" | "applying";
|
|
1173
|
-
}, {
|
|
1174
|
-
plannedTopic: string;
|
|
1175
|
-
plannedQuestionType: QuestionTypeStrings;
|
|
1176
|
-
plannedBloomLevel: "remembering" | "understanding" | "applying";
|
|
1177
|
-
}>;
|
|
1178
|
-
type PlannedQuestion = z.infer<typeof PlannedQuestionSchema>;
|
|
1179
|
-
declare const GenerateQuizPlanOutputSchema: z.ZodObject<{
|
|
1180
|
-
quizPlan: z.ZodArray<z.ZodObject<{
|
|
1181
|
-
plannedTopic: z.ZodString;
|
|
1182
|
-
plannedQuestionType: z.ZodEnum<[QuestionTypeStrings, ...QuestionTypeStrings[]]>;
|
|
1183
|
-
plannedBloomLevel: z.ZodEnum<["remembering", "understanding", "applying"]>;
|
|
1184
|
-
}, "strip", z.ZodTypeAny, {
|
|
1185
|
-
plannedTopic: string;
|
|
1186
|
-
plannedQuestionType: QuestionTypeStrings;
|
|
1187
|
-
plannedBloomLevel: "remembering" | "understanding" | "applying";
|
|
1188
|
-
}, {
|
|
1189
|
-
plannedTopic: string;
|
|
1190
|
-
plannedQuestionType: QuestionTypeStrings;
|
|
1191
|
-
plannedBloomLevel: "remembering" | "understanding" | "applying";
|
|
1192
|
-
}>, "many">;
|
|
1193
|
-
}, "strip", z.ZodTypeAny, {
|
|
1194
|
-
quizPlan: {
|
|
1195
|
-
plannedTopic: string;
|
|
1196
|
-
plannedQuestionType: QuestionTypeStrings;
|
|
1197
|
-
plannedBloomLevel: "remembering" | "understanding" | "applying";
|
|
1198
|
-
}[];
|
|
1199
|
-
}, {
|
|
1200
|
-
quizPlan: {
|
|
1201
|
-
plannedTopic: string;
|
|
1202
|
-
plannedQuestionType: QuestionTypeStrings;
|
|
1203
|
-
plannedBloomLevel: "remembering" | "understanding" | "applying";
|
|
1204
|
-
}[];
|
|
1205
|
-
}>;
|
|
1206
|
-
type GenerateQuizPlanOutput = z.infer<typeof GenerateQuizPlanOutputSchema>;
|
|
1207
|
-
declare function generateQuizPlan(input: GenerateQuizPlanInput): Promise<GenerateQuizPlanOutput>;
|
|
1208
|
-
|
|
1209
|
-
declare const GenerateSequenceQuestionInputSchema: z.ZodObject<{
|
|
1210
|
-
topic: z.ZodString;
|
|
1211
|
-
difficulty: z.ZodDefault<z.ZodOptional<z.ZodEnum<["easy", "medium", "hard"]>>>;
|
|
1212
|
-
numberOfItems: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1213
|
-
contextDescription: z.ZodOptional<z.ZodString>;
|
|
1214
|
-
selectedContextId: z.ZodOptional<z.ZodString>;
|
|
1215
|
-
}, "strip", z.ZodTypeAny, {
|
|
1216
|
-
topic: string;
|
|
1217
|
-
difficulty: "easy" | "medium" | "hard";
|
|
1218
|
-
numberOfItems: number;
|
|
1219
|
-
contextDescription?: string | undefined;
|
|
1220
|
-
selectedContextId?: string | undefined;
|
|
1221
|
-
}, {
|
|
1222
|
-
topic: string;
|
|
1223
|
-
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
1224
|
-
contextDescription?: string | undefined;
|
|
1225
|
-
selectedContextId?: string | undefined;
|
|
1226
|
-
numberOfItems?: number | undefined;
|
|
1227
|
-
}>;
|
|
1228
|
-
type GenerateSequenceQuestionInput = z.infer<typeof GenerateSequenceQuestionInputSchema>;
|
|
1229
|
-
declare const GenerateSequenceQuestionOutputSchema: z.ZodObject<{
|
|
1230
|
-
question: z.ZodOptional<z.ZodObject<{
|
|
1231
|
-
id: z.ZodString;
|
|
1232
|
-
questionType: z.ZodLiteral<"sequence">;
|
|
1233
|
-
prompt: z.ZodString;
|
|
1234
|
-
items: z.ZodArray<z.ZodObject<{
|
|
1235
|
-
id: z.ZodString;
|
|
1236
|
-
content: z.ZodString;
|
|
1237
|
-
}, "strip", z.ZodTypeAny, {
|
|
1238
|
-
id: string;
|
|
1239
|
-
content: string;
|
|
1240
|
-
}, {
|
|
1241
|
-
id: string;
|
|
1242
|
-
content: string;
|
|
1243
|
-
}>, "many">;
|
|
1244
|
-
correctOrder: z.ZodArray<z.ZodString, "many">;
|
|
1245
|
-
points: z.ZodOptional<z.ZodNumber>;
|
|
1246
|
-
explanation: z.ZodOptional<z.ZodString>;
|
|
1247
|
-
learningObjective: z.ZodOptional<z.ZodString>;
|
|
1248
|
-
glossary: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1249
|
-
bloomLevel: z.ZodOptional<z.ZodString>;
|
|
1250
|
-
difficulty: z.ZodOptional<z.ZodEnum<["easy", "medium", "hard"]>>;
|
|
1251
|
-
contextCode: z.ZodOptional<z.ZodString>;
|
|
1252
|
-
gradeBand: z.ZodOptional<z.ZodString>;
|
|
1253
|
-
course: z.ZodOptional<z.ZodString>;
|
|
1254
|
-
category: z.ZodOptional<z.ZodString>;
|
|
1255
|
-
topic: z.ZodOptional<z.ZodString>;
|
|
1256
|
-
}, "strip", z.ZodTypeAny, {
|
|
1257
|
-
prompt: string;
|
|
1258
|
-
id: string;
|
|
1259
|
-
questionType: "sequence";
|
|
1260
|
-
items: {
|
|
1261
|
-
id: string;
|
|
1262
|
-
content: string;
|
|
1263
|
-
}[];
|
|
1264
|
-
correctOrder: string[];
|
|
1265
|
-
learningObjective?: string | undefined;
|
|
1266
|
-
category?: string | undefined;
|
|
1267
|
-
topic?: string | undefined;
|
|
1268
|
-
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
1269
|
-
bloomLevel?: string | undefined;
|
|
1270
|
-
explanation?: string | undefined;
|
|
1271
|
-
points?: number | undefined;
|
|
1272
|
-
glossary?: string[] | undefined;
|
|
1273
|
-
contextCode?: string | undefined;
|
|
1274
|
-
gradeBand?: string | undefined;
|
|
1275
|
-
course?: string | undefined;
|
|
1276
|
-
}, {
|
|
1277
|
-
prompt: string;
|
|
1278
|
-
id: string;
|
|
1279
|
-
questionType: "sequence";
|
|
1280
|
-
items: {
|
|
1281
|
-
id: string;
|
|
1282
|
-
content: string;
|
|
1283
|
-
}[];
|
|
1284
|
-
correctOrder: string[];
|
|
1285
|
-
learningObjective?: string | undefined;
|
|
1286
|
-
category?: string | undefined;
|
|
1287
|
-
topic?: string | undefined;
|
|
1288
|
-
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
1289
|
-
bloomLevel?: string | undefined;
|
|
1290
|
-
explanation?: string | undefined;
|
|
1291
|
-
points?: number | undefined;
|
|
1292
|
-
glossary?: string[] | undefined;
|
|
1293
|
-
contextCode?: string | undefined;
|
|
1294
|
-
gradeBand?: string | undefined;
|
|
1295
|
-
course?: string | undefined;
|
|
1296
|
-
}>>;
|
|
1297
|
-
}, "strip", z.ZodTypeAny, {
|
|
1298
|
-
question?: {
|
|
1299
|
-
prompt: string;
|
|
1300
|
-
id: string;
|
|
1301
|
-
questionType: "sequence";
|
|
1302
|
-
items: {
|
|
1303
|
-
id: string;
|
|
1304
|
-
content: string;
|
|
1305
|
-
}[];
|
|
1306
|
-
correctOrder: string[];
|
|
1307
|
-
learningObjective?: string | undefined;
|
|
1308
|
-
category?: string | undefined;
|
|
1309
|
-
topic?: string | undefined;
|
|
1310
|
-
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
1311
|
-
bloomLevel?: string | undefined;
|
|
1312
|
-
explanation?: string | undefined;
|
|
1313
|
-
points?: number | undefined;
|
|
1314
|
-
glossary?: string[] | undefined;
|
|
1315
|
-
contextCode?: string | undefined;
|
|
1316
|
-
gradeBand?: string | undefined;
|
|
1317
|
-
course?: string | undefined;
|
|
1318
|
-
} | undefined;
|
|
1319
|
-
}, {
|
|
1320
|
-
question?: {
|
|
1321
|
-
prompt: string;
|
|
1322
|
-
id: string;
|
|
1323
|
-
questionType: "sequence";
|
|
1324
|
-
items: {
|
|
1325
|
-
id: string;
|
|
1326
|
-
content: string;
|
|
1327
|
-
}[];
|
|
1328
|
-
correctOrder: string[];
|
|
1329
|
-
learningObjective?: string | undefined;
|
|
1330
|
-
category?: string | undefined;
|
|
1331
|
-
topic?: string | undefined;
|
|
1332
|
-
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
1333
|
-
bloomLevel?: string | undefined;
|
|
1334
|
-
explanation?: string | undefined;
|
|
1335
|
-
points?: number | undefined;
|
|
1336
|
-
glossary?: string[] | undefined;
|
|
1337
|
-
contextCode?: string | undefined;
|
|
1338
|
-
gradeBand?: string | undefined;
|
|
1339
|
-
course?: string | undefined;
|
|
1340
|
-
} | undefined;
|
|
1341
|
-
}>;
|
|
1342
|
-
type GenerateSequenceQuestionOutput = z.infer<typeof GenerateSequenceQuestionOutputSchema>;
|
|
1343
|
-
declare function generateSequenceQuestion(input: GenerateSequenceQuestionInput): Promise<GenerateSequenceQuestionOutput>;
|
|
1344
|
-
|
|
1345
|
-
declare const GenerateShortAnswerQuestionInputSchema: z.ZodObject<{
|
|
1346
|
-
topic: z.ZodString;
|
|
1347
|
-
difficulty: z.ZodDefault<z.ZodOptional<z.ZodEnum<["easy", "medium", "hard"]>>>;
|
|
1348
|
-
isCaseSensitive: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1349
|
-
contextDescription: z.ZodOptional<z.ZodString>;
|
|
1350
|
-
selectedContextId: z.ZodOptional<z.ZodString>;
|
|
1351
|
-
}, "strip", z.ZodTypeAny, {
|
|
1352
|
-
topic: string;
|
|
1353
|
-
difficulty: "easy" | "medium" | "hard";
|
|
1354
|
-
isCaseSensitive: boolean;
|
|
1355
|
-
contextDescription?: string | undefined;
|
|
1356
|
-
selectedContextId?: string | undefined;
|
|
1357
|
-
}, {
|
|
1358
|
-
topic: string;
|
|
1359
|
-
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
1360
|
-
isCaseSensitive?: boolean | undefined;
|
|
1361
|
-
contextDescription?: string | undefined;
|
|
1362
|
-
selectedContextId?: string | undefined;
|
|
1363
|
-
}>;
|
|
1364
|
-
type GenerateShortAnswerQuestionInput = z.infer<typeof GenerateShortAnswerQuestionInputSchema>;
|
|
1365
|
-
declare const GenerateShortAnswerQuestionOutputSchema: z.ZodObject<{
|
|
1366
|
-
question: z.ZodOptional<z.ZodObject<{
|
|
1367
|
-
id: z.ZodString;
|
|
1368
|
-
questionType: z.ZodLiteral<"short_answer">;
|
|
1369
|
-
prompt: z.ZodString;
|
|
1370
|
-
acceptedAnswers: z.ZodArray<z.ZodString, "many">;
|
|
1371
|
-
isCaseSensitive: z.ZodOptional<z.ZodBoolean>;
|
|
1372
|
-
points: z.ZodOptional<z.ZodNumber>;
|
|
1373
|
-
explanation: z.ZodOptional<z.ZodString>;
|
|
1374
|
-
learningObjective: z.ZodOptional<z.ZodString>;
|
|
1375
|
-
glossary: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1376
|
-
bloomLevel: z.ZodOptional<z.ZodString>;
|
|
1377
|
-
difficulty: z.ZodOptional<z.ZodEnum<["easy", "medium", "hard"]>>;
|
|
1378
|
-
contextCode: z.ZodOptional<z.ZodString>;
|
|
1379
|
-
gradeBand: z.ZodOptional<z.ZodString>;
|
|
1380
|
-
course: z.ZodOptional<z.ZodString>;
|
|
1381
|
-
category: z.ZodOptional<z.ZodString>;
|
|
1382
|
-
topic: z.ZodOptional<z.ZodString>;
|
|
1383
|
-
}, "strip", z.ZodTypeAny, {
|
|
1384
|
-
prompt: string;
|
|
1385
|
-
acceptedAnswers: string[];
|
|
1386
|
-
id: string;
|
|
1387
|
-
questionType: "short_answer";
|
|
1388
|
-
learningObjective?: string | undefined;
|
|
1389
|
-
category?: string | undefined;
|
|
1390
|
-
topic?: string | undefined;
|
|
1391
|
-
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
1392
|
-
bloomLevel?: string | undefined;
|
|
1393
|
-
isCaseSensitive?: boolean | undefined;
|
|
1394
|
-
explanation?: string | undefined;
|
|
1395
|
-
points?: number | undefined;
|
|
1396
|
-
glossary?: string[] | undefined;
|
|
1397
|
-
contextCode?: string | undefined;
|
|
1398
|
-
gradeBand?: string | undefined;
|
|
1399
|
-
course?: string | undefined;
|
|
1400
|
-
}, {
|
|
1401
|
-
prompt: string;
|
|
1402
|
-
acceptedAnswers: string[];
|
|
1403
|
-
id: string;
|
|
1404
|
-
questionType: "short_answer";
|
|
1405
|
-
learningObjective?: string | undefined;
|
|
1406
|
-
category?: string | undefined;
|
|
1407
|
-
topic?: string | undefined;
|
|
1408
|
-
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
1409
|
-
bloomLevel?: string | undefined;
|
|
1410
|
-
isCaseSensitive?: boolean | undefined;
|
|
1411
|
-
explanation?: string | undefined;
|
|
1412
|
-
points?: number | undefined;
|
|
1413
|
-
glossary?: string[] | undefined;
|
|
1414
|
-
contextCode?: string | undefined;
|
|
1415
|
-
gradeBand?: string | undefined;
|
|
1416
|
-
course?: string | undefined;
|
|
1417
|
-
}>>;
|
|
1418
|
-
}, "strip", z.ZodTypeAny, {
|
|
1419
|
-
question?: {
|
|
1420
|
-
prompt: string;
|
|
1421
|
-
acceptedAnswers: string[];
|
|
1422
|
-
id: string;
|
|
1423
|
-
questionType: "short_answer";
|
|
1424
|
-
learningObjective?: string | undefined;
|
|
1425
|
-
category?: string | undefined;
|
|
1426
|
-
topic?: string | undefined;
|
|
1427
|
-
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
1428
|
-
bloomLevel?: string | undefined;
|
|
1429
|
-
isCaseSensitive?: boolean | undefined;
|
|
1430
|
-
explanation?: string | undefined;
|
|
1431
|
-
points?: number | undefined;
|
|
1432
|
-
glossary?: string[] | undefined;
|
|
1433
|
-
contextCode?: string | undefined;
|
|
1434
|
-
gradeBand?: string | undefined;
|
|
1435
|
-
course?: string | undefined;
|
|
1436
|
-
} | undefined;
|
|
1437
|
-
}, {
|
|
1438
|
-
question?: {
|
|
1439
|
-
prompt: string;
|
|
1440
|
-
acceptedAnswers: string[];
|
|
1441
|
-
id: string;
|
|
1442
|
-
questionType: "short_answer";
|
|
1443
|
-
learningObjective?: string | undefined;
|
|
1444
|
-
category?: string | undefined;
|
|
1445
|
-
topic?: string | undefined;
|
|
1446
|
-
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
1447
|
-
bloomLevel?: string | undefined;
|
|
1448
|
-
isCaseSensitive?: boolean | undefined;
|
|
1449
|
-
explanation?: string | undefined;
|
|
1450
|
-
points?: number | undefined;
|
|
1451
|
-
glossary?: string[] | undefined;
|
|
1452
|
-
contextCode?: string | undefined;
|
|
1453
|
-
gradeBand?: string | undefined;
|
|
1454
|
-
course?: string | undefined;
|
|
1455
|
-
} | undefined;
|
|
1456
|
-
}>;
|
|
1457
|
-
type GenerateShortAnswerQuestionOutput = z.infer<typeof GenerateShortAnswerQuestionOutputSchema>;
|
|
1458
|
-
declare function generateShortAnswerQuestion(input: GenerateShortAnswerQuestionInput): Promise<GenerateShortAnswerQuestionOutput>;
|
|
1459
|
-
|
|
1460
|
-
declare const GenerateTrueFalseQuestionInputSchema: z.ZodObject<{
|
|
1461
|
-
topic: z.ZodString;
|
|
1462
|
-
difficulty: z.ZodDefault<z.ZodOptional<z.ZodEnum<["easy", "medium", "hard"]>>>;
|
|
1463
|
-
contextDescription: z.ZodOptional<z.ZodString>;
|
|
1464
|
-
selectedContextId: z.ZodOptional<z.ZodString>;
|
|
1465
|
-
}, "strip", z.ZodTypeAny, {
|
|
1466
|
-
topic: string;
|
|
1467
|
-
difficulty: "easy" | "medium" | "hard";
|
|
1468
|
-
contextDescription?: string | undefined;
|
|
1469
|
-
selectedContextId?: string | undefined;
|
|
1470
|
-
}, {
|
|
1471
|
-
topic: string;
|
|
1472
|
-
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
1473
|
-
contextDescription?: string | undefined;
|
|
1474
|
-
selectedContextId?: string | undefined;
|
|
1475
|
-
}>;
|
|
1476
|
-
type GenerateTrueFalseQuestionInput = z.infer<typeof GenerateTrueFalseQuestionInputSchema>;
|
|
1477
|
-
declare const GenerateTrueFalseQuestionOutputSchema: z.ZodObject<{
|
|
1478
|
-
question: z.ZodOptional<z.ZodObject<{
|
|
1479
|
-
id: z.ZodString;
|
|
1480
|
-
questionType: z.ZodLiteral<"true_false">;
|
|
1481
|
-
prompt: z.ZodString;
|
|
1482
|
-
correctAnswer: z.ZodBoolean;
|
|
1483
|
-
points: z.ZodOptional<z.ZodNumber>;
|
|
1484
|
-
explanation: z.ZodOptional<z.ZodString>;
|
|
1485
|
-
learningObjective: z.ZodOptional<z.ZodString>;
|
|
1486
|
-
glossary: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1487
|
-
bloomLevel: z.ZodOptional<z.ZodString>;
|
|
1488
|
-
difficulty: z.ZodOptional<z.ZodEnum<["easy", "medium", "hard"]>>;
|
|
1489
|
-
contextCode: z.ZodOptional<z.ZodString>;
|
|
1490
|
-
gradeBand: z.ZodOptional<z.ZodString>;
|
|
1491
|
-
course: z.ZodOptional<z.ZodString>;
|
|
1492
|
-
category: z.ZodOptional<z.ZodString>;
|
|
1493
|
-
topic: z.ZodOptional<z.ZodString>;
|
|
1494
|
-
}, "strip", z.ZodTypeAny, {
|
|
1495
|
-
correctAnswer: boolean;
|
|
1496
|
-
prompt: string;
|
|
1497
|
-
id: string;
|
|
1498
|
-
questionType: "true_false";
|
|
1499
|
-
learningObjective?: string | undefined;
|
|
1500
|
-
category?: string | undefined;
|
|
1501
|
-
topic?: string | undefined;
|
|
1502
|
-
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
1503
|
-
bloomLevel?: string | undefined;
|
|
1504
|
-
explanation?: string | undefined;
|
|
1505
|
-
points?: number | undefined;
|
|
1506
|
-
glossary?: string[] | undefined;
|
|
1507
|
-
contextCode?: string | undefined;
|
|
1508
|
-
gradeBand?: string | undefined;
|
|
1509
|
-
course?: string | undefined;
|
|
1510
|
-
}, {
|
|
1511
|
-
correctAnswer: boolean;
|
|
1512
|
-
prompt: string;
|
|
1513
|
-
id: string;
|
|
1514
|
-
questionType: "true_false";
|
|
1515
|
-
learningObjective?: string | undefined;
|
|
1516
|
-
category?: string | undefined;
|
|
1517
|
-
topic?: string | undefined;
|
|
1518
|
-
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
1519
|
-
bloomLevel?: string | undefined;
|
|
1520
|
-
explanation?: string | undefined;
|
|
1521
|
-
points?: number | undefined;
|
|
1522
|
-
glossary?: string[] | undefined;
|
|
1523
|
-
contextCode?: string | undefined;
|
|
1524
|
-
gradeBand?: string | undefined;
|
|
1525
|
-
course?: string | undefined;
|
|
1526
|
-
}>>;
|
|
1527
|
-
}, "strip", z.ZodTypeAny, {
|
|
1528
|
-
question?: {
|
|
1529
|
-
correctAnswer: boolean;
|
|
1530
|
-
prompt: string;
|
|
1531
|
-
id: string;
|
|
1532
|
-
questionType: "true_false";
|
|
1533
|
-
learningObjective?: string | undefined;
|
|
1534
|
-
category?: string | undefined;
|
|
1535
|
-
topic?: string | undefined;
|
|
1536
|
-
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
1537
|
-
bloomLevel?: string | undefined;
|
|
1538
|
-
explanation?: string | undefined;
|
|
1539
|
-
points?: number | undefined;
|
|
1540
|
-
glossary?: string[] | undefined;
|
|
1541
|
-
contextCode?: string | undefined;
|
|
1542
|
-
gradeBand?: string | undefined;
|
|
1543
|
-
course?: string | undefined;
|
|
1544
|
-
} | undefined;
|
|
1545
|
-
}, {
|
|
1546
|
-
question?: {
|
|
1547
|
-
correctAnswer: boolean;
|
|
1548
|
-
prompt: string;
|
|
1549
|
-
id: string;
|
|
1550
|
-
questionType: "true_false";
|
|
1551
|
-
learningObjective?: string | undefined;
|
|
1552
|
-
category?: string | undefined;
|
|
1553
|
-
topic?: string | undefined;
|
|
1554
|
-
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
1555
|
-
bloomLevel?: string | undefined;
|
|
1556
|
-
explanation?: string | undefined;
|
|
1557
|
-
points?: number | undefined;
|
|
1558
|
-
glossary?: string[] | undefined;
|
|
1559
|
-
contextCode?: string | undefined;
|
|
1560
|
-
gradeBand?: string | undefined;
|
|
1561
|
-
course?: string | undefined;
|
|
1562
|
-
} | undefined;
|
|
1563
|
-
}>;
|
|
1564
|
-
type GenerateTrueFalseQuestionOutput = z.infer<typeof GenerateTrueFalseQuestionOutputSchema>;
|
|
1565
|
-
declare function generateTrueFalseQuestion(input: GenerateTrueFalseQuestionInput): Promise<GenerateTrueFalseQuestionOutput>;
|
|
1566
|
-
|
|
1567
|
-
declare const GenerateQuestionsFromQuizPlanInputSchema: z.ZodObject<{
|
|
1568
|
-
quizPlan: z.ZodArray<z.ZodObject<{
|
|
1569
|
-
plannedTopic: z.ZodString;
|
|
1570
|
-
plannedQuestionType: z.ZodEnum<[QuestionTypeStrings, ...QuestionTypeStrings[]]>;
|
|
1571
|
-
plannedBloomLevel: z.ZodEnum<["remembering", "understanding", "applying"]>;
|
|
1572
|
-
}, "strip", z.ZodTypeAny, {
|
|
1573
|
-
plannedTopic: string;
|
|
1574
|
-
plannedQuestionType: QuestionTypeStrings;
|
|
1575
|
-
plannedBloomLevel: "remembering" | "understanding" | "applying";
|
|
1576
|
-
}, {
|
|
1577
|
-
plannedTopic: string;
|
|
1578
|
-
plannedQuestionType: QuestionTypeStrings;
|
|
1579
|
-
plannedBloomLevel: "remembering" | "understanding" | "applying";
|
|
1580
|
-
}>, "many">;
|
|
1581
|
-
selectedContextIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1582
|
-
customContextInput: z.ZodOptional<z.ZodString>;
|
|
1583
|
-
}, "strip", z.ZodTypeAny, {
|
|
1584
|
-
quizPlan: {
|
|
1585
|
-
plannedTopic: string;
|
|
1586
|
-
plannedQuestionType: QuestionTypeStrings;
|
|
1587
|
-
plannedBloomLevel: "remembering" | "understanding" | "applying";
|
|
1588
|
-
}[];
|
|
1589
|
-
selectedContextIds?: string[] | undefined;
|
|
1590
|
-
customContextInput?: string | undefined;
|
|
1591
|
-
}, {
|
|
1592
|
-
quizPlan: {
|
|
1593
|
-
plannedTopic: string;
|
|
1594
|
-
plannedQuestionType: QuestionTypeStrings;
|
|
1595
|
-
plannedBloomLevel: "remembering" | "understanding" | "applying";
|
|
1596
|
-
}[];
|
|
1597
|
-
selectedContextIds?: string[] | undefined;
|
|
1598
|
-
customContextInput?: string | undefined;
|
|
1599
|
-
}>;
|
|
1600
|
-
type GenerateQuestionsFromQuizPlanInput = z.infer<typeof GenerateQuestionsFromQuizPlanInputSchema>;
|
|
1601
|
-
declare const GenerationErrorSchema: z.ZodObject<{
|
|
1602
|
-
plannedQuestionIndex: z.ZodNumber;
|
|
1603
|
-
plannedTopic: z.ZodString;
|
|
1604
|
-
plannedQuestionType: z.ZodString;
|
|
1605
|
-
error: z.ZodString;
|
|
1606
|
-
}, "strip", z.ZodTypeAny, {
|
|
1607
|
-
error: string;
|
|
1608
|
-
plannedTopic: string;
|
|
1609
|
-
plannedQuestionType: string;
|
|
1610
|
-
plannedQuestionIndex: number;
|
|
1611
|
-
}, {
|
|
1612
|
-
error: string;
|
|
1613
|
-
plannedTopic: string;
|
|
1614
|
-
plannedQuestionType: string;
|
|
1615
|
-
plannedQuestionIndex: number;
|
|
1616
|
-
}>;
|
|
1617
|
-
type GenerationError = z.infer<typeof GenerationErrorSchema>;
|
|
1618
|
-
declare const GenerateQuestionsFromQuizPlanOutputSchema: z.ZodObject<{
|
|
1619
|
-
generatedQuestions: z.ZodArray<z.ZodType<QuizQuestion, z.ZodTypeDef, QuizQuestion>, "many">;
|
|
1620
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1621
|
-
plannedQuestionIndex: z.ZodNumber;
|
|
1622
|
-
plannedTopic: z.ZodString;
|
|
1623
|
-
plannedQuestionType: z.ZodString;
|
|
1624
|
-
error: z.ZodString;
|
|
1625
|
-
}, "strip", z.ZodTypeAny, {
|
|
1626
|
-
error: string;
|
|
1627
|
-
plannedTopic: string;
|
|
1628
|
-
plannedQuestionType: string;
|
|
1629
|
-
plannedQuestionIndex: number;
|
|
1630
|
-
}, {
|
|
1631
|
-
error: string;
|
|
1632
|
-
plannedTopic: string;
|
|
1633
|
-
plannedQuestionType: string;
|
|
1634
|
-
plannedQuestionIndex: number;
|
|
1635
|
-
}>, "many">>;
|
|
1636
|
-
}, "strip", z.ZodTypeAny, {
|
|
1637
|
-
generatedQuestions: QuizQuestion[];
|
|
1638
|
-
errors?: {
|
|
1639
|
-
error: string;
|
|
1640
|
-
plannedTopic: string;
|
|
1641
|
-
plannedQuestionType: string;
|
|
1642
|
-
plannedQuestionIndex: number;
|
|
1643
|
-
}[] | undefined;
|
|
1644
|
-
}, {
|
|
1645
|
-
generatedQuestions: QuizQuestion[];
|
|
1646
|
-
errors?: {
|
|
1647
|
-
error: string;
|
|
1648
|
-
plannedTopic: string;
|
|
1649
|
-
plannedQuestionType: string;
|
|
1650
|
-
plannedQuestionIndex: number;
|
|
1651
|
-
}[] | undefined;
|
|
1652
|
-
}>;
|
|
1653
|
-
type GenerateQuestionsFromQuizPlanOutput = z.infer<typeof GenerateQuestionsFromQuizPlanOutputSchema>;
|
|
1654
|
-
declare function generateQuestionsFromQuizPlan(input: GenerateQuestionsFromQuizPlanInput): Promise<GenerateQuestionsFromQuizPlanOutput>;
|
|
1655
|
-
|
|
1656
|
-
/**
|
|
1657
|
-
* Generates a simple unique ID.
|
|
1658
|
-
* @param prefix Optional prefix for the ID.
|
|
1659
|
-
* @returns A string representing the unique ID.
|
|
1660
|
-
*/
|
|
1661
|
-
declare function generateUniqueId(prefix?: string): string;
|
|
1662
|
-
|
|
1663
|
-
declare function cn(...inputs: ClassValue[]): string;
|
|
1664
|
-
|
|
1665
|
-
export { type BaseQuestion, type BlocklyProgrammingQuestion, type BloomLevelStringsForAI, type DragAndDropQuestion, type DraggableItem, type DropZone, type FillInTheBlanksQuestion, type GenerateFillInTheBlanksQuestionInput, type GenerateFillInTheBlanksQuestionOutput, type GenerateMCQQuestionInput, type GenerateMCQQuestionOutput, type GenerateMRQQuestionInput, type GenerateMRQQuestionOutput, type GenerateMatchingQuestionInput, type GenerateMatchingQuestionOutput, type GenerateNumericQuestionInput, type GenerateNumericQuestionOutput, type GenerateQuestionsFromQuizPlanInput, type GenerateQuestionsFromQuizPlanOutput, type GenerateQuizPlanInput, type GenerateQuizPlanOutput, type GenerateSequenceQuestionInput, type GenerateSequenceQuestionOutput, type GenerateShortAnswerQuestionInput, type GenerateShortAnswerQuestionOutput, type GenerateTrueFalseQuestionInput, type GenerateTrueFalseQuestionOutput, type GenerationError, type HotspotArea, type HotspotQuestion, type MatchOptionItem, type MatchPromptItem, type MatchingQuestion, type MultipleChoiceQuestion, type MultipleResponseQuestion, type NumericQuestion, type PerformanceByBloomLevel, type PerformanceByCategory, type PerformanceByDifficulty, type PerformanceByLearningObjective, type PerformanceByTopic, type PerformanceMetric, type PlannedQuestion, type QuestionOption, type QuestionTypeStrings, type QuizConfig, QuizEngine, type QuizEngineCallbacks, type QuizEngineConstructorOptions, type QuizQuestion, type QuizResult, type QuizSettings, SCORMService, type SCORMSettings, type ScratchProgrammingQuestion, type SequenceItem, type SequenceQuestion, type ShortAnswerQuestion, type TrueFalseQuestion, type UserAnswerType, type UserAnswers, cn, emptyQuiz, exportQuizAsSCORMZip, generateFillInTheBlanksQuestion, generateLauncherHTML, generateMCQQuestion, generateMRQQuestion, generateMatchingQuestion, generateNumericQuestion, generateQuestionsFromQuizPlan, generateQuizPlan, generateSCORMManifest, generateSequenceQuestion, generateShortAnswerQuestion, generateTrueFalseQuestion, generateUniqueId, sampleQuiz };
|