@thanh01.pmt/interactive-quiz-kit 1.0.64 → 1.0.66
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/ai.cjs +2 -1
- package/dist/ai.d.cts +45 -0
- package/dist/ai.d.ts +45 -0
- package/dist/ai.mjs +2 -1
- package/dist/authoring.cjs +102 -188
- package/dist/authoring.d.cts +1 -1
- package/dist/authoring.d.ts +1 -1
- package/dist/authoring.mjs +102 -188
- package/dist/react-ui.cjs +102 -190
- package/dist/react-ui.d.cts +1 -1
- package/dist/react-ui.d.ts +1 -1
- package/dist/react-ui.mjs +102 -190
- package/dist/{toaster-FX787Evl.d.cts → toaster-CKS4zoRY.d.cts} +7 -2
- package/dist/{toaster-BTfAUpDp.d.ts → toaster-DLJ_2W9u.d.ts} +7 -2
- package/package.json +1 -1
package/dist/ai.cjs
CHANGED
|
@@ -94,7 +94,8 @@ var QuizContextSchema = zod.z.object({
|
|
|
94
94
|
originalSubject: zod.z.string().optional(),
|
|
95
95
|
originalCategory: zod.z.string().optional(),
|
|
96
96
|
originalTopic: zod.z.string().optional(),
|
|
97
|
-
loDescription: zod.z.string().optional().describe("The full description of the learning objective for deep context.")
|
|
97
|
+
loDescription: zod.z.string().optional().describe("The full description of the learning objective for deep context."),
|
|
98
|
+
gradeBand: zod.z.string().optional()
|
|
98
99
|
});
|
|
99
100
|
var BaseQuestionGenerationClientInputSchema = zod.z.object({
|
|
100
101
|
language: zod.z.string().optional().default("English"),
|
package/dist/ai.d.cts
CHANGED
|
@@ -20,7 +20,9 @@ declare const GenerateTrueFalseQuestionClientInputSchema: z.ZodObject<{
|
|
|
20
20
|
originalCategory: z.ZodOptional<z.ZodString>;
|
|
21
21
|
originalTopic: z.ZodOptional<z.ZodString>;
|
|
22
22
|
loDescription: z.ZodOptional<z.ZodString>;
|
|
23
|
+
gradeBand: z.ZodOptional<z.ZodString>;
|
|
23
24
|
}, "strip", z.ZodTypeAny, {
|
|
25
|
+
gradeBand?: string | undefined;
|
|
24
26
|
plannedTopic?: string | undefined;
|
|
25
27
|
plannedQuestionType?: string | undefined;
|
|
26
28
|
plannedBloomLevel?: string | undefined;
|
|
@@ -34,6 +36,7 @@ declare const GenerateTrueFalseQuestionClientInputSchema: z.ZodObject<{
|
|
|
34
36
|
originalTopic?: string | undefined;
|
|
35
37
|
loDescription?: string | undefined;
|
|
36
38
|
}, {
|
|
39
|
+
gradeBand?: string | undefined;
|
|
37
40
|
plannedTopic?: string | undefined;
|
|
38
41
|
plannedQuestionType?: string | undefined;
|
|
39
42
|
plannedBloomLevel?: string | undefined;
|
|
@@ -53,6 +56,7 @@ declare const GenerateTrueFalseQuestionClientInputSchema: z.ZodObject<{
|
|
|
53
56
|
difficulty: "easy" | "medium" | "hard";
|
|
54
57
|
imageUrl?: string | undefined;
|
|
55
58
|
quizContext?: {
|
|
59
|
+
gradeBand?: string | undefined;
|
|
56
60
|
plannedTopic?: string | undefined;
|
|
57
61
|
plannedQuestionType?: string | undefined;
|
|
58
62
|
plannedBloomLevel?: string | undefined;
|
|
@@ -71,6 +75,7 @@ declare const GenerateTrueFalseQuestionClientInputSchema: z.ZodObject<{
|
|
|
71
75
|
language?: string | undefined;
|
|
72
76
|
imageUrl?: string | undefined;
|
|
73
77
|
quizContext?: {
|
|
78
|
+
gradeBand?: string | undefined;
|
|
74
79
|
plannedTopic?: string | undefined;
|
|
75
80
|
plannedQuestionType?: string | undefined;
|
|
76
81
|
plannedBloomLevel?: string | undefined;
|
|
@@ -109,7 +114,9 @@ declare const GenerateMCQQuestionClientInputSchema: z.ZodObject<{
|
|
|
109
114
|
originalCategory: z.ZodOptional<z.ZodString>;
|
|
110
115
|
originalTopic: z.ZodOptional<z.ZodString>;
|
|
111
116
|
loDescription: z.ZodOptional<z.ZodString>;
|
|
117
|
+
gradeBand: z.ZodOptional<z.ZodString>;
|
|
112
118
|
}, "strip", z.ZodTypeAny, {
|
|
119
|
+
gradeBand?: string | undefined;
|
|
113
120
|
plannedTopic?: string | undefined;
|
|
114
121
|
plannedQuestionType?: string | undefined;
|
|
115
122
|
plannedBloomLevel?: string | undefined;
|
|
@@ -123,6 +130,7 @@ declare const GenerateMCQQuestionClientInputSchema: z.ZodObject<{
|
|
|
123
130
|
originalTopic?: string | undefined;
|
|
124
131
|
loDescription?: string | undefined;
|
|
125
132
|
}, {
|
|
133
|
+
gradeBand?: string | undefined;
|
|
126
134
|
plannedTopic?: string | undefined;
|
|
127
135
|
plannedQuestionType?: string | undefined;
|
|
128
136
|
plannedBloomLevel?: string | undefined;
|
|
@@ -145,6 +153,7 @@ declare const GenerateMCQQuestionClientInputSchema: z.ZodObject<{
|
|
|
145
153
|
numberOfOptions: number;
|
|
146
154
|
imageUrl?: string | undefined;
|
|
147
155
|
quizContext?: {
|
|
156
|
+
gradeBand?: string | undefined;
|
|
148
157
|
plannedTopic?: string | undefined;
|
|
149
158
|
plannedQuestionType?: string | undefined;
|
|
150
159
|
plannedBloomLevel?: string | undefined;
|
|
@@ -163,6 +172,7 @@ declare const GenerateMCQQuestionClientInputSchema: z.ZodObject<{
|
|
|
163
172
|
language?: string | undefined;
|
|
164
173
|
imageUrl?: string | undefined;
|
|
165
174
|
quizContext?: {
|
|
175
|
+
gradeBand?: string | undefined;
|
|
166
176
|
plannedTopic?: string | undefined;
|
|
167
177
|
plannedQuestionType?: string | undefined;
|
|
168
178
|
plannedBloomLevel?: string | undefined;
|
|
@@ -202,7 +212,9 @@ declare const GenerateMRQQuestionClientInputSchema: z.ZodObject<{
|
|
|
202
212
|
originalCategory: z.ZodOptional<z.ZodString>;
|
|
203
213
|
originalTopic: z.ZodOptional<z.ZodString>;
|
|
204
214
|
loDescription: z.ZodOptional<z.ZodString>;
|
|
215
|
+
gradeBand: z.ZodOptional<z.ZodString>;
|
|
205
216
|
}, "strip", z.ZodTypeAny, {
|
|
217
|
+
gradeBand?: string | undefined;
|
|
206
218
|
plannedTopic?: string | undefined;
|
|
207
219
|
plannedQuestionType?: string | undefined;
|
|
208
220
|
plannedBloomLevel?: string | undefined;
|
|
@@ -216,6 +228,7 @@ declare const GenerateMRQQuestionClientInputSchema: z.ZodObject<{
|
|
|
216
228
|
originalTopic?: string | undefined;
|
|
217
229
|
loDescription?: string | undefined;
|
|
218
230
|
}, {
|
|
231
|
+
gradeBand?: string | undefined;
|
|
219
232
|
plannedTopic?: string | undefined;
|
|
220
233
|
plannedQuestionType?: string | undefined;
|
|
221
234
|
plannedBloomLevel?: string | undefined;
|
|
@@ -242,6 +255,7 @@ declare const GenerateMRQQuestionClientInputSchema: z.ZodObject<{
|
|
|
242
255
|
maxCorrectAnswers: number;
|
|
243
256
|
imageUrl?: string | undefined;
|
|
244
257
|
quizContext?: {
|
|
258
|
+
gradeBand?: string | undefined;
|
|
245
259
|
plannedTopic?: string | undefined;
|
|
246
260
|
plannedQuestionType?: string | undefined;
|
|
247
261
|
plannedBloomLevel?: string | undefined;
|
|
@@ -260,6 +274,7 @@ declare const GenerateMRQQuestionClientInputSchema: z.ZodObject<{
|
|
|
260
274
|
language?: string | undefined;
|
|
261
275
|
imageUrl?: string | undefined;
|
|
262
276
|
quizContext?: {
|
|
277
|
+
gradeBand?: string | undefined;
|
|
263
278
|
plannedTopic?: string | undefined;
|
|
264
279
|
plannedQuestionType?: string | undefined;
|
|
265
280
|
plannedBloomLevel?: string | undefined;
|
|
@@ -301,7 +316,9 @@ declare const GenerateShortAnswerQuestionClientInputSchema: z.ZodObject<{
|
|
|
301
316
|
originalCategory: z.ZodOptional<z.ZodString>;
|
|
302
317
|
originalTopic: z.ZodOptional<z.ZodString>;
|
|
303
318
|
loDescription: z.ZodOptional<z.ZodString>;
|
|
319
|
+
gradeBand: z.ZodOptional<z.ZodString>;
|
|
304
320
|
}, "strip", z.ZodTypeAny, {
|
|
321
|
+
gradeBand?: string | undefined;
|
|
305
322
|
plannedTopic?: string | undefined;
|
|
306
323
|
plannedQuestionType?: string | undefined;
|
|
307
324
|
plannedBloomLevel?: string | undefined;
|
|
@@ -315,6 +332,7 @@ declare const GenerateShortAnswerQuestionClientInputSchema: z.ZodObject<{
|
|
|
315
332
|
originalTopic?: string | undefined;
|
|
316
333
|
loDescription?: string | undefined;
|
|
317
334
|
}, {
|
|
335
|
+
gradeBand?: string | undefined;
|
|
318
336
|
plannedTopic?: string | undefined;
|
|
319
337
|
plannedQuestionType?: string | undefined;
|
|
320
338
|
plannedBloomLevel?: string | undefined;
|
|
@@ -337,6 +355,7 @@ declare const GenerateShortAnswerQuestionClientInputSchema: z.ZodObject<{
|
|
|
337
355
|
isCaseSensitive: boolean;
|
|
338
356
|
imageUrl?: string | undefined;
|
|
339
357
|
quizContext?: {
|
|
358
|
+
gradeBand?: string | undefined;
|
|
340
359
|
plannedTopic?: string | undefined;
|
|
341
360
|
plannedQuestionType?: string | undefined;
|
|
342
361
|
plannedBloomLevel?: string | undefined;
|
|
@@ -356,6 +375,7 @@ declare const GenerateShortAnswerQuestionClientInputSchema: z.ZodObject<{
|
|
|
356
375
|
isCaseSensitive?: boolean | undefined;
|
|
357
376
|
imageUrl?: string | undefined;
|
|
358
377
|
quizContext?: {
|
|
378
|
+
gradeBand?: string | undefined;
|
|
359
379
|
plannedTopic?: string | undefined;
|
|
360
380
|
plannedQuestionType?: string | undefined;
|
|
361
381
|
plannedBloomLevel?: string | undefined;
|
|
@@ -394,7 +414,9 @@ declare const GenerateNumericQuestionClientInputSchema: z.ZodObject<{
|
|
|
394
414
|
originalCategory: z.ZodOptional<z.ZodString>;
|
|
395
415
|
originalTopic: z.ZodOptional<z.ZodString>;
|
|
396
416
|
loDescription: z.ZodOptional<z.ZodString>;
|
|
417
|
+
gradeBand: z.ZodOptional<z.ZodString>;
|
|
397
418
|
}, "strip", z.ZodTypeAny, {
|
|
419
|
+
gradeBand?: string | undefined;
|
|
398
420
|
plannedTopic?: string | undefined;
|
|
399
421
|
plannedQuestionType?: string | undefined;
|
|
400
422
|
plannedBloomLevel?: string | undefined;
|
|
@@ -408,6 +430,7 @@ declare const GenerateNumericQuestionClientInputSchema: z.ZodObject<{
|
|
|
408
430
|
originalTopic?: string | undefined;
|
|
409
431
|
loDescription?: string | undefined;
|
|
410
432
|
}, {
|
|
433
|
+
gradeBand?: string | undefined;
|
|
411
434
|
plannedTopic?: string | undefined;
|
|
412
435
|
plannedQuestionType?: string | undefined;
|
|
413
436
|
plannedBloomLevel?: string | undefined;
|
|
@@ -434,6 +457,7 @@ declare const GenerateNumericQuestionClientInputSchema: z.ZodObject<{
|
|
|
434
457
|
allowDecimals: boolean;
|
|
435
458
|
imageUrl?: string | undefined;
|
|
436
459
|
quizContext?: {
|
|
460
|
+
gradeBand?: string | undefined;
|
|
437
461
|
plannedTopic?: string | undefined;
|
|
438
462
|
plannedQuestionType?: string | undefined;
|
|
439
463
|
plannedBloomLevel?: string | undefined;
|
|
@@ -455,6 +479,7 @@ declare const GenerateNumericQuestionClientInputSchema: z.ZodObject<{
|
|
|
455
479
|
tolerance?: number | undefined;
|
|
456
480
|
imageUrl?: string | undefined;
|
|
457
481
|
quizContext?: {
|
|
482
|
+
gradeBand?: string | undefined;
|
|
458
483
|
plannedTopic?: string | undefined;
|
|
459
484
|
plannedQuestionType?: string | undefined;
|
|
460
485
|
plannedBloomLevel?: string | undefined;
|
|
@@ -496,7 +521,9 @@ declare const GenerateFillInTheBlanksQuestionClientInputSchema: z.ZodObject<{
|
|
|
496
521
|
originalCategory: z.ZodOptional<z.ZodString>;
|
|
497
522
|
originalTopic: z.ZodOptional<z.ZodString>;
|
|
498
523
|
loDescription: z.ZodOptional<z.ZodString>;
|
|
524
|
+
gradeBand: z.ZodOptional<z.ZodString>;
|
|
499
525
|
}, "strip", z.ZodTypeAny, {
|
|
526
|
+
gradeBand?: string | undefined;
|
|
500
527
|
plannedTopic?: string | undefined;
|
|
501
528
|
plannedQuestionType?: string | undefined;
|
|
502
529
|
plannedBloomLevel?: string | undefined;
|
|
@@ -510,6 +537,7 @@ declare const GenerateFillInTheBlanksQuestionClientInputSchema: z.ZodObject<{
|
|
|
510
537
|
originalTopic?: string | undefined;
|
|
511
538
|
loDescription?: string | undefined;
|
|
512
539
|
}, {
|
|
540
|
+
gradeBand?: string | undefined;
|
|
513
541
|
plannedTopic?: string | undefined;
|
|
514
542
|
plannedQuestionType?: string | undefined;
|
|
515
543
|
plannedBloomLevel?: string | undefined;
|
|
@@ -534,6 +562,7 @@ declare const GenerateFillInTheBlanksQuestionClientInputSchema: z.ZodObject<{
|
|
|
534
562
|
numberOfBlanks: number;
|
|
535
563
|
imageUrl?: string | undefined;
|
|
536
564
|
quizContext?: {
|
|
565
|
+
gradeBand?: string | undefined;
|
|
537
566
|
plannedTopic?: string | undefined;
|
|
538
567
|
plannedQuestionType?: string | undefined;
|
|
539
568
|
plannedBloomLevel?: string | undefined;
|
|
@@ -553,6 +582,7 @@ declare const GenerateFillInTheBlanksQuestionClientInputSchema: z.ZodObject<{
|
|
|
553
582
|
isCaseSensitive?: boolean | undefined;
|
|
554
583
|
imageUrl?: string | undefined;
|
|
555
584
|
quizContext?: {
|
|
585
|
+
gradeBand?: string | undefined;
|
|
556
586
|
plannedTopic?: string | undefined;
|
|
557
587
|
plannedQuestionType?: string | undefined;
|
|
558
588
|
plannedBloomLevel?: string | undefined;
|
|
@@ -592,7 +622,9 @@ declare const GenerateSequenceQuestionClientInputSchema: z.ZodObject<{
|
|
|
592
622
|
originalCategory: z.ZodOptional<z.ZodString>;
|
|
593
623
|
originalTopic: z.ZodOptional<z.ZodString>;
|
|
594
624
|
loDescription: z.ZodOptional<z.ZodString>;
|
|
625
|
+
gradeBand: z.ZodOptional<z.ZodString>;
|
|
595
626
|
}, "strip", z.ZodTypeAny, {
|
|
627
|
+
gradeBand?: string | undefined;
|
|
596
628
|
plannedTopic?: string | undefined;
|
|
597
629
|
plannedQuestionType?: string | undefined;
|
|
598
630
|
plannedBloomLevel?: string | undefined;
|
|
@@ -606,6 +638,7 @@ declare const GenerateSequenceQuestionClientInputSchema: z.ZodObject<{
|
|
|
606
638
|
originalTopic?: string | undefined;
|
|
607
639
|
loDescription?: string | undefined;
|
|
608
640
|
}, {
|
|
641
|
+
gradeBand?: string | undefined;
|
|
609
642
|
plannedTopic?: string | undefined;
|
|
610
643
|
plannedQuestionType?: string | undefined;
|
|
611
644
|
plannedBloomLevel?: string | undefined;
|
|
@@ -628,6 +661,7 @@ declare const GenerateSequenceQuestionClientInputSchema: z.ZodObject<{
|
|
|
628
661
|
numberOfItems: number;
|
|
629
662
|
imageUrl?: string | undefined;
|
|
630
663
|
quizContext?: {
|
|
664
|
+
gradeBand?: string | undefined;
|
|
631
665
|
plannedTopic?: string | undefined;
|
|
632
666
|
plannedQuestionType?: string | undefined;
|
|
633
667
|
plannedBloomLevel?: string | undefined;
|
|
@@ -646,6 +680,7 @@ declare const GenerateSequenceQuestionClientInputSchema: z.ZodObject<{
|
|
|
646
680
|
language?: string | undefined;
|
|
647
681
|
imageUrl?: string | undefined;
|
|
648
682
|
quizContext?: {
|
|
683
|
+
gradeBand?: string | undefined;
|
|
649
684
|
plannedTopic?: string | undefined;
|
|
650
685
|
plannedQuestionType?: string | undefined;
|
|
651
686
|
plannedBloomLevel?: string | undefined;
|
|
@@ -685,7 +720,9 @@ declare const GenerateMatchingQuestionClientInputSchema: z.ZodObject<{
|
|
|
685
720
|
originalCategory: z.ZodOptional<z.ZodString>;
|
|
686
721
|
originalTopic: z.ZodOptional<z.ZodString>;
|
|
687
722
|
loDescription: z.ZodOptional<z.ZodString>;
|
|
723
|
+
gradeBand: z.ZodOptional<z.ZodString>;
|
|
688
724
|
}, "strip", z.ZodTypeAny, {
|
|
725
|
+
gradeBand?: string | undefined;
|
|
689
726
|
plannedTopic?: string | undefined;
|
|
690
727
|
plannedQuestionType?: string | undefined;
|
|
691
728
|
plannedBloomLevel?: string | undefined;
|
|
@@ -699,6 +736,7 @@ declare const GenerateMatchingQuestionClientInputSchema: z.ZodObject<{
|
|
|
699
736
|
originalTopic?: string | undefined;
|
|
700
737
|
loDescription?: string | undefined;
|
|
701
738
|
}, {
|
|
739
|
+
gradeBand?: string | undefined;
|
|
702
740
|
plannedTopic?: string | undefined;
|
|
703
741
|
plannedQuestionType?: string | undefined;
|
|
704
742
|
plannedBloomLevel?: string | undefined;
|
|
@@ -723,6 +761,7 @@ declare const GenerateMatchingQuestionClientInputSchema: z.ZodObject<{
|
|
|
723
761
|
numberOfPairs: number;
|
|
724
762
|
imageUrl?: string | undefined;
|
|
725
763
|
quizContext?: {
|
|
764
|
+
gradeBand?: string | undefined;
|
|
726
765
|
plannedTopic?: string | undefined;
|
|
727
766
|
plannedQuestionType?: string | undefined;
|
|
728
767
|
plannedBloomLevel?: string | undefined;
|
|
@@ -742,6 +781,7 @@ declare const GenerateMatchingQuestionClientInputSchema: z.ZodObject<{
|
|
|
742
781
|
shuffleOptions?: boolean | undefined;
|
|
743
782
|
imageUrl?: string | undefined;
|
|
744
783
|
quizContext?: {
|
|
784
|
+
gradeBand?: string | undefined;
|
|
745
785
|
plannedTopic?: string | undefined;
|
|
746
786
|
plannedQuestionType?: string | undefined;
|
|
747
787
|
plannedBloomLevel?: string | undefined;
|
|
@@ -781,7 +821,9 @@ declare const GenerateCodingQuestionClientInputSchema: z.ZodObject<{
|
|
|
781
821
|
originalCategory: z.ZodOptional<z.ZodString>;
|
|
782
822
|
originalTopic: z.ZodOptional<z.ZodString>;
|
|
783
823
|
loDescription: z.ZodOptional<z.ZodString>;
|
|
824
|
+
gradeBand: z.ZodOptional<z.ZodString>;
|
|
784
825
|
}, "strip", z.ZodTypeAny, {
|
|
826
|
+
gradeBand?: string | undefined;
|
|
785
827
|
plannedTopic?: string | undefined;
|
|
786
828
|
plannedQuestionType?: string | undefined;
|
|
787
829
|
plannedBloomLevel?: string | undefined;
|
|
@@ -795,6 +837,7 @@ declare const GenerateCodingQuestionClientInputSchema: z.ZodObject<{
|
|
|
795
837
|
originalTopic?: string | undefined;
|
|
796
838
|
loDescription?: string | undefined;
|
|
797
839
|
}, {
|
|
840
|
+
gradeBand?: string | undefined;
|
|
798
841
|
plannedTopic?: string | undefined;
|
|
799
842
|
plannedQuestionType?: string | undefined;
|
|
800
843
|
plannedBloomLevel?: string | undefined;
|
|
@@ -817,6 +860,7 @@ declare const GenerateCodingQuestionClientInputSchema: z.ZodObject<{
|
|
|
817
860
|
codingLanguage: "cpp" | "javascript" | "python" | "swift" | "csharp";
|
|
818
861
|
imageUrl?: string | undefined;
|
|
819
862
|
quizContext?: {
|
|
863
|
+
gradeBand?: string | undefined;
|
|
820
864
|
plannedTopic?: string | undefined;
|
|
821
865
|
plannedQuestionType?: string | undefined;
|
|
822
866
|
plannedBloomLevel?: string | undefined;
|
|
@@ -836,6 +880,7 @@ declare const GenerateCodingQuestionClientInputSchema: z.ZodObject<{
|
|
|
836
880
|
language?: string | undefined;
|
|
837
881
|
imageUrl?: string | undefined;
|
|
838
882
|
quizContext?: {
|
|
883
|
+
gradeBand?: string | undefined;
|
|
839
884
|
plannedTopic?: string | undefined;
|
|
840
885
|
plannedQuestionType?: string | undefined;
|
|
841
886
|
plannedBloomLevel?: string | undefined;
|
package/dist/ai.d.ts
CHANGED
|
@@ -20,7 +20,9 @@ declare const GenerateTrueFalseQuestionClientInputSchema: z.ZodObject<{
|
|
|
20
20
|
originalCategory: z.ZodOptional<z.ZodString>;
|
|
21
21
|
originalTopic: z.ZodOptional<z.ZodString>;
|
|
22
22
|
loDescription: z.ZodOptional<z.ZodString>;
|
|
23
|
+
gradeBand: z.ZodOptional<z.ZodString>;
|
|
23
24
|
}, "strip", z.ZodTypeAny, {
|
|
25
|
+
gradeBand?: string | undefined;
|
|
24
26
|
plannedTopic?: string | undefined;
|
|
25
27
|
plannedQuestionType?: string | undefined;
|
|
26
28
|
plannedBloomLevel?: string | undefined;
|
|
@@ -34,6 +36,7 @@ declare const GenerateTrueFalseQuestionClientInputSchema: z.ZodObject<{
|
|
|
34
36
|
originalTopic?: string | undefined;
|
|
35
37
|
loDescription?: string | undefined;
|
|
36
38
|
}, {
|
|
39
|
+
gradeBand?: string | undefined;
|
|
37
40
|
plannedTopic?: string | undefined;
|
|
38
41
|
plannedQuestionType?: string | undefined;
|
|
39
42
|
plannedBloomLevel?: string | undefined;
|
|
@@ -53,6 +56,7 @@ declare const GenerateTrueFalseQuestionClientInputSchema: z.ZodObject<{
|
|
|
53
56
|
difficulty: "easy" | "medium" | "hard";
|
|
54
57
|
imageUrl?: string | undefined;
|
|
55
58
|
quizContext?: {
|
|
59
|
+
gradeBand?: string | undefined;
|
|
56
60
|
plannedTopic?: string | undefined;
|
|
57
61
|
plannedQuestionType?: string | undefined;
|
|
58
62
|
plannedBloomLevel?: string | undefined;
|
|
@@ -71,6 +75,7 @@ declare const GenerateTrueFalseQuestionClientInputSchema: z.ZodObject<{
|
|
|
71
75
|
language?: string | undefined;
|
|
72
76
|
imageUrl?: string | undefined;
|
|
73
77
|
quizContext?: {
|
|
78
|
+
gradeBand?: string | undefined;
|
|
74
79
|
plannedTopic?: string | undefined;
|
|
75
80
|
plannedQuestionType?: string | undefined;
|
|
76
81
|
plannedBloomLevel?: string | undefined;
|
|
@@ -109,7 +114,9 @@ declare const GenerateMCQQuestionClientInputSchema: z.ZodObject<{
|
|
|
109
114
|
originalCategory: z.ZodOptional<z.ZodString>;
|
|
110
115
|
originalTopic: z.ZodOptional<z.ZodString>;
|
|
111
116
|
loDescription: z.ZodOptional<z.ZodString>;
|
|
117
|
+
gradeBand: z.ZodOptional<z.ZodString>;
|
|
112
118
|
}, "strip", z.ZodTypeAny, {
|
|
119
|
+
gradeBand?: string | undefined;
|
|
113
120
|
plannedTopic?: string | undefined;
|
|
114
121
|
plannedQuestionType?: string | undefined;
|
|
115
122
|
plannedBloomLevel?: string | undefined;
|
|
@@ -123,6 +130,7 @@ declare const GenerateMCQQuestionClientInputSchema: z.ZodObject<{
|
|
|
123
130
|
originalTopic?: string | undefined;
|
|
124
131
|
loDescription?: string | undefined;
|
|
125
132
|
}, {
|
|
133
|
+
gradeBand?: string | undefined;
|
|
126
134
|
plannedTopic?: string | undefined;
|
|
127
135
|
plannedQuestionType?: string | undefined;
|
|
128
136
|
plannedBloomLevel?: string | undefined;
|
|
@@ -145,6 +153,7 @@ declare const GenerateMCQQuestionClientInputSchema: z.ZodObject<{
|
|
|
145
153
|
numberOfOptions: number;
|
|
146
154
|
imageUrl?: string | undefined;
|
|
147
155
|
quizContext?: {
|
|
156
|
+
gradeBand?: string | undefined;
|
|
148
157
|
plannedTopic?: string | undefined;
|
|
149
158
|
plannedQuestionType?: string | undefined;
|
|
150
159
|
plannedBloomLevel?: string | undefined;
|
|
@@ -163,6 +172,7 @@ declare const GenerateMCQQuestionClientInputSchema: z.ZodObject<{
|
|
|
163
172
|
language?: string | undefined;
|
|
164
173
|
imageUrl?: string | undefined;
|
|
165
174
|
quizContext?: {
|
|
175
|
+
gradeBand?: string | undefined;
|
|
166
176
|
plannedTopic?: string | undefined;
|
|
167
177
|
plannedQuestionType?: string | undefined;
|
|
168
178
|
plannedBloomLevel?: string | undefined;
|
|
@@ -202,7 +212,9 @@ declare const GenerateMRQQuestionClientInputSchema: z.ZodObject<{
|
|
|
202
212
|
originalCategory: z.ZodOptional<z.ZodString>;
|
|
203
213
|
originalTopic: z.ZodOptional<z.ZodString>;
|
|
204
214
|
loDescription: z.ZodOptional<z.ZodString>;
|
|
215
|
+
gradeBand: z.ZodOptional<z.ZodString>;
|
|
205
216
|
}, "strip", z.ZodTypeAny, {
|
|
217
|
+
gradeBand?: string | undefined;
|
|
206
218
|
plannedTopic?: string | undefined;
|
|
207
219
|
plannedQuestionType?: string | undefined;
|
|
208
220
|
plannedBloomLevel?: string | undefined;
|
|
@@ -216,6 +228,7 @@ declare const GenerateMRQQuestionClientInputSchema: z.ZodObject<{
|
|
|
216
228
|
originalTopic?: string | undefined;
|
|
217
229
|
loDescription?: string | undefined;
|
|
218
230
|
}, {
|
|
231
|
+
gradeBand?: string | undefined;
|
|
219
232
|
plannedTopic?: string | undefined;
|
|
220
233
|
plannedQuestionType?: string | undefined;
|
|
221
234
|
plannedBloomLevel?: string | undefined;
|
|
@@ -242,6 +255,7 @@ declare const GenerateMRQQuestionClientInputSchema: z.ZodObject<{
|
|
|
242
255
|
maxCorrectAnswers: number;
|
|
243
256
|
imageUrl?: string | undefined;
|
|
244
257
|
quizContext?: {
|
|
258
|
+
gradeBand?: string | undefined;
|
|
245
259
|
plannedTopic?: string | undefined;
|
|
246
260
|
plannedQuestionType?: string | undefined;
|
|
247
261
|
plannedBloomLevel?: string | undefined;
|
|
@@ -260,6 +274,7 @@ declare const GenerateMRQQuestionClientInputSchema: z.ZodObject<{
|
|
|
260
274
|
language?: string | undefined;
|
|
261
275
|
imageUrl?: string | undefined;
|
|
262
276
|
quizContext?: {
|
|
277
|
+
gradeBand?: string | undefined;
|
|
263
278
|
plannedTopic?: string | undefined;
|
|
264
279
|
plannedQuestionType?: string | undefined;
|
|
265
280
|
plannedBloomLevel?: string | undefined;
|
|
@@ -301,7 +316,9 @@ declare const GenerateShortAnswerQuestionClientInputSchema: z.ZodObject<{
|
|
|
301
316
|
originalCategory: z.ZodOptional<z.ZodString>;
|
|
302
317
|
originalTopic: z.ZodOptional<z.ZodString>;
|
|
303
318
|
loDescription: z.ZodOptional<z.ZodString>;
|
|
319
|
+
gradeBand: z.ZodOptional<z.ZodString>;
|
|
304
320
|
}, "strip", z.ZodTypeAny, {
|
|
321
|
+
gradeBand?: string | undefined;
|
|
305
322
|
plannedTopic?: string | undefined;
|
|
306
323
|
plannedQuestionType?: string | undefined;
|
|
307
324
|
plannedBloomLevel?: string | undefined;
|
|
@@ -315,6 +332,7 @@ declare const GenerateShortAnswerQuestionClientInputSchema: z.ZodObject<{
|
|
|
315
332
|
originalTopic?: string | undefined;
|
|
316
333
|
loDescription?: string | undefined;
|
|
317
334
|
}, {
|
|
335
|
+
gradeBand?: string | undefined;
|
|
318
336
|
plannedTopic?: string | undefined;
|
|
319
337
|
plannedQuestionType?: string | undefined;
|
|
320
338
|
plannedBloomLevel?: string | undefined;
|
|
@@ -337,6 +355,7 @@ declare const GenerateShortAnswerQuestionClientInputSchema: z.ZodObject<{
|
|
|
337
355
|
isCaseSensitive: boolean;
|
|
338
356
|
imageUrl?: string | undefined;
|
|
339
357
|
quizContext?: {
|
|
358
|
+
gradeBand?: string | undefined;
|
|
340
359
|
plannedTopic?: string | undefined;
|
|
341
360
|
plannedQuestionType?: string | undefined;
|
|
342
361
|
plannedBloomLevel?: string | undefined;
|
|
@@ -356,6 +375,7 @@ declare const GenerateShortAnswerQuestionClientInputSchema: z.ZodObject<{
|
|
|
356
375
|
isCaseSensitive?: boolean | undefined;
|
|
357
376
|
imageUrl?: string | undefined;
|
|
358
377
|
quizContext?: {
|
|
378
|
+
gradeBand?: string | undefined;
|
|
359
379
|
plannedTopic?: string | undefined;
|
|
360
380
|
plannedQuestionType?: string | undefined;
|
|
361
381
|
plannedBloomLevel?: string | undefined;
|
|
@@ -394,7 +414,9 @@ declare const GenerateNumericQuestionClientInputSchema: z.ZodObject<{
|
|
|
394
414
|
originalCategory: z.ZodOptional<z.ZodString>;
|
|
395
415
|
originalTopic: z.ZodOptional<z.ZodString>;
|
|
396
416
|
loDescription: z.ZodOptional<z.ZodString>;
|
|
417
|
+
gradeBand: z.ZodOptional<z.ZodString>;
|
|
397
418
|
}, "strip", z.ZodTypeAny, {
|
|
419
|
+
gradeBand?: string | undefined;
|
|
398
420
|
plannedTopic?: string | undefined;
|
|
399
421
|
plannedQuestionType?: string | undefined;
|
|
400
422
|
plannedBloomLevel?: string | undefined;
|
|
@@ -408,6 +430,7 @@ declare const GenerateNumericQuestionClientInputSchema: z.ZodObject<{
|
|
|
408
430
|
originalTopic?: string | undefined;
|
|
409
431
|
loDescription?: string | undefined;
|
|
410
432
|
}, {
|
|
433
|
+
gradeBand?: string | undefined;
|
|
411
434
|
plannedTopic?: string | undefined;
|
|
412
435
|
plannedQuestionType?: string | undefined;
|
|
413
436
|
plannedBloomLevel?: string | undefined;
|
|
@@ -434,6 +457,7 @@ declare const GenerateNumericQuestionClientInputSchema: z.ZodObject<{
|
|
|
434
457
|
allowDecimals: boolean;
|
|
435
458
|
imageUrl?: string | undefined;
|
|
436
459
|
quizContext?: {
|
|
460
|
+
gradeBand?: string | undefined;
|
|
437
461
|
plannedTopic?: string | undefined;
|
|
438
462
|
plannedQuestionType?: string | undefined;
|
|
439
463
|
plannedBloomLevel?: string | undefined;
|
|
@@ -455,6 +479,7 @@ declare const GenerateNumericQuestionClientInputSchema: z.ZodObject<{
|
|
|
455
479
|
tolerance?: number | undefined;
|
|
456
480
|
imageUrl?: string | undefined;
|
|
457
481
|
quizContext?: {
|
|
482
|
+
gradeBand?: string | undefined;
|
|
458
483
|
plannedTopic?: string | undefined;
|
|
459
484
|
plannedQuestionType?: string | undefined;
|
|
460
485
|
plannedBloomLevel?: string | undefined;
|
|
@@ -496,7 +521,9 @@ declare const GenerateFillInTheBlanksQuestionClientInputSchema: z.ZodObject<{
|
|
|
496
521
|
originalCategory: z.ZodOptional<z.ZodString>;
|
|
497
522
|
originalTopic: z.ZodOptional<z.ZodString>;
|
|
498
523
|
loDescription: z.ZodOptional<z.ZodString>;
|
|
524
|
+
gradeBand: z.ZodOptional<z.ZodString>;
|
|
499
525
|
}, "strip", z.ZodTypeAny, {
|
|
526
|
+
gradeBand?: string | undefined;
|
|
500
527
|
plannedTopic?: string | undefined;
|
|
501
528
|
plannedQuestionType?: string | undefined;
|
|
502
529
|
plannedBloomLevel?: string | undefined;
|
|
@@ -510,6 +537,7 @@ declare const GenerateFillInTheBlanksQuestionClientInputSchema: z.ZodObject<{
|
|
|
510
537
|
originalTopic?: string | undefined;
|
|
511
538
|
loDescription?: string | undefined;
|
|
512
539
|
}, {
|
|
540
|
+
gradeBand?: string | undefined;
|
|
513
541
|
plannedTopic?: string | undefined;
|
|
514
542
|
plannedQuestionType?: string | undefined;
|
|
515
543
|
plannedBloomLevel?: string | undefined;
|
|
@@ -534,6 +562,7 @@ declare const GenerateFillInTheBlanksQuestionClientInputSchema: z.ZodObject<{
|
|
|
534
562
|
numberOfBlanks: number;
|
|
535
563
|
imageUrl?: string | undefined;
|
|
536
564
|
quizContext?: {
|
|
565
|
+
gradeBand?: string | undefined;
|
|
537
566
|
plannedTopic?: string | undefined;
|
|
538
567
|
plannedQuestionType?: string | undefined;
|
|
539
568
|
plannedBloomLevel?: string | undefined;
|
|
@@ -553,6 +582,7 @@ declare const GenerateFillInTheBlanksQuestionClientInputSchema: z.ZodObject<{
|
|
|
553
582
|
isCaseSensitive?: boolean | undefined;
|
|
554
583
|
imageUrl?: string | undefined;
|
|
555
584
|
quizContext?: {
|
|
585
|
+
gradeBand?: string | undefined;
|
|
556
586
|
plannedTopic?: string | undefined;
|
|
557
587
|
plannedQuestionType?: string | undefined;
|
|
558
588
|
plannedBloomLevel?: string | undefined;
|
|
@@ -592,7 +622,9 @@ declare const GenerateSequenceQuestionClientInputSchema: z.ZodObject<{
|
|
|
592
622
|
originalCategory: z.ZodOptional<z.ZodString>;
|
|
593
623
|
originalTopic: z.ZodOptional<z.ZodString>;
|
|
594
624
|
loDescription: z.ZodOptional<z.ZodString>;
|
|
625
|
+
gradeBand: z.ZodOptional<z.ZodString>;
|
|
595
626
|
}, "strip", z.ZodTypeAny, {
|
|
627
|
+
gradeBand?: string | undefined;
|
|
596
628
|
plannedTopic?: string | undefined;
|
|
597
629
|
plannedQuestionType?: string | undefined;
|
|
598
630
|
plannedBloomLevel?: string | undefined;
|
|
@@ -606,6 +638,7 @@ declare const GenerateSequenceQuestionClientInputSchema: z.ZodObject<{
|
|
|
606
638
|
originalTopic?: string | undefined;
|
|
607
639
|
loDescription?: string | undefined;
|
|
608
640
|
}, {
|
|
641
|
+
gradeBand?: string | undefined;
|
|
609
642
|
plannedTopic?: string | undefined;
|
|
610
643
|
plannedQuestionType?: string | undefined;
|
|
611
644
|
plannedBloomLevel?: string | undefined;
|
|
@@ -628,6 +661,7 @@ declare const GenerateSequenceQuestionClientInputSchema: z.ZodObject<{
|
|
|
628
661
|
numberOfItems: number;
|
|
629
662
|
imageUrl?: string | undefined;
|
|
630
663
|
quizContext?: {
|
|
664
|
+
gradeBand?: string | undefined;
|
|
631
665
|
plannedTopic?: string | undefined;
|
|
632
666
|
plannedQuestionType?: string | undefined;
|
|
633
667
|
plannedBloomLevel?: string | undefined;
|
|
@@ -646,6 +680,7 @@ declare const GenerateSequenceQuestionClientInputSchema: z.ZodObject<{
|
|
|
646
680
|
language?: string | undefined;
|
|
647
681
|
imageUrl?: string | undefined;
|
|
648
682
|
quizContext?: {
|
|
683
|
+
gradeBand?: string | undefined;
|
|
649
684
|
plannedTopic?: string | undefined;
|
|
650
685
|
plannedQuestionType?: string | undefined;
|
|
651
686
|
plannedBloomLevel?: string | undefined;
|
|
@@ -685,7 +720,9 @@ declare const GenerateMatchingQuestionClientInputSchema: z.ZodObject<{
|
|
|
685
720
|
originalCategory: z.ZodOptional<z.ZodString>;
|
|
686
721
|
originalTopic: z.ZodOptional<z.ZodString>;
|
|
687
722
|
loDescription: z.ZodOptional<z.ZodString>;
|
|
723
|
+
gradeBand: z.ZodOptional<z.ZodString>;
|
|
688
724
|
}, "strip", z.ZodTypeAny, {
|
|
725
|
+
gradeBand?: string | undefined;
|
|
689
726
|
plannedTopic?: string | undefined;
|
|
690
727
|
plannedQuestionType?: string | undefined;
|
|
691
728
|
plannedBloomLevel?: string | undefined;
|
|
@@ -699,6 +736,7 @@ declare const GenerateMatchingQuestionClientInputSchema: z.ZodObject<{
|
|
|
699
736
|
originalTopic?: string | undefined;
|
|
700
737
|
loDescription?: string | undefined;
|
|
701
738
|
}, {
|
|
739
|
+
gradeBand?: string | undefined;
|
|
702
740
|
plannedTopic?: string | undefined;
|
|
703
741
|
plannedQuestionType?: string | undefined;
|
|
704
742
|
plannedBloomLevel?: string | undefined;
|
|
@@ -723,6 +761,7 @@ declare const GenerateMatchingQuestionClientInputSchema: z.ZodObject<{
|
|
|
723
761
|
numberOfPairs: number;
|
|
724
762
|
imageUrl?: string | undefined;
|
|
725
763
|
quizContext?: {
|
|
764
|
+
gradeBand?: string | undefined;
|
|
726
765
|
plannedTopic?: string | undefined;
|
|
727
766
|
plannedQuestionType?: string | undefined;
|
|
728
767
|
plannedBloomLevel?: string | undefined;
|
|
@@ -742,6 +781,7 @@ declare const GenerateMatchingQuestionClientInputSchema: z.ZodObject<{
|
|
|
742
781
|
shuffleOptions?: boolean | undefined;
|
|
743
782
|
imageUrl?: string | undefined;
|
|
744
783
|
quizContext?: {
|
|
784
|
+
gradeBand?: string | undefined;
|
|
745
785
|
plannedTopic?: string | undefined;
|
|
746
786
|
plannedQuestionType?: string | undefined;
|
|
747
787
|
plannedBloomLevel?: string | undefined;
|
|
@@ -781,7 +821,9 @@ declare const GenerateCodingQuestionClientInputSchema: z.ZodObject<{
|
|
|
781
821
|
originalCategory: z.ZodOptional<z.ZodString>;
|
|
782
822
|
originalTopic: z.ZodOptional<z.ZodString>;
|
|
783
823
|
loDescription: z.ZodOptional<z.ZodString>;
|
|
824
|
+
gradeBand: z.ZodOptional<z.ZodString>;
|
|
784
825
|
}, "strip", z.ZodTypeAny, {
|
|
826
|
+
gradeBand?: string | undefined;
|
|
785
827
|
plannedTopic?: string | undefined;
|
|
786
828
|
plannedQuestionType?: string | undefined;
|
|
787
829
|
plannedBloomLevel?: string | undefined;
|
|
@@ -795,6 +837,7 @@ declare const GenerateCodingQuestionClientInputSchema: z.ZodObject<{
|
|
|
795
837
|
originalTopic?: string | undefined;
|
|
796
838
|
loDescription?: string | undefined;
|
|
797
839
|
}, {
|
|
840
|
+
gradeBand?: string | undefined;
|
|
798
841
|
plannedTopic?: string | undefined;
|
|
799
842
|
plannedQuestionType?: string | undefined;
|
|
800
843
|
plannedBloomLevel?: string | undefined;
|
|
@@ -817,6 +860,7 @@ declare const GenerateCodingQuestionClientInputSchema: z.ZodObject<{
|
|
|
817
860
|
codingLanguage: "cpp" | "javascript" | "python" | "swift" | "csharp";
|
|
818
861
|
imageUrl?: string | undefined;
|
|
819
862
|
quizContext?: {
|
|
863
|
+
gradeBand?: string | undefined;
|
|
820
864
|
plannedTopic?: string | undefined;
|
|
821
865
|
plannedQuestionType?: string | undefined;
|
|
822
866
|
plannedBloomLevel?: string | undefined;
|
|
@@ -836,6 +880,7 @@ declare const GenerateCodingQuestionClientInputSchema: z.ZodObject<{
|
|
|
836
880
|
language?: string | undefined;
|
|
837
881
|
imageUrl?: string | undefined;
|
|
838
882
|
quizContext?: {
|
|
883
|
+
gradeBand?: string | undefined;
|
|
839
884
|
plannedTopic?: string | undefined;
|
|
840
885
|
plannedQuestionType?: string | undefined;
|
|
841
886
|
plannedBloomLevel?: string | undefined;
|
package/dist/ai.mjs
CHANGED
|
@@ -92,7 +92,8 @@ var QuizContextSchema = z.object({
|
|
|
92
92
|
originalSubject: z.string().optional(),
|
|
93
93
|
originalCategory: z.string().optional(),
|
|
94
94
|
originalTopic: z.string().optional(),
|
|
95
|
-
loDescription: z.string().optional().describe("The full description of the learning objective for deep context.")
|
|
95
|
+
loDescription: z.string().optional().describe("The full description of the learning objective for deep context."),
|
|
96
|
+
gradeBand: z.string().optional()
|
|
96
97
|
});
|
|
97
98
|
var BaseQuestionGenerationClientInputSchema = z.object({
|
|
98
99
|
language: z.string().optional().default("English"),
|