@thanh01.pmt/interactive-quiz-kit 1.0.28 → 1.0.30
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/dev.d.ts +16 -0
- package/dist/ai/dev.d.ts.map +1 -0
- package/dist/ai/flows/ask-tutor-chat-types.d.ts +67 -0
- package/dist/ai/flows/ask-tutor-chat-types.d.ts.map +1 -0
- package/dist/ai/flows/ask-tutor-chat.d.ts +3 -0
- package/dist/ai/flows/ask-tutor-chat.d.ts.map +1 -0
- package/dist/ai/flows/assess-and-map-document-types.d.ts +80 -0
- package/dist/ai/flows/assess-and-map-document-types.d.ts.map +1 -0
- package/dist/ai/flows/assess-and-map-document.d.ts +3 -0
- package/dist/ai/flows/assess-and-map-document.d.ts.map +1 -0
- package/dist/ai/flows/evaluate-user-code-types.d.ts +49 -0
- package/dist/ai/flows/evaluate-user-code-types.d.ts.map +1 -0
- package/dist/ai/flows/evaluate-user-code.d.ts +3 -0
- package/dist/ai/flows/evaluate-user-code.d.ts.map +1 -0
- package/dist/ai/flows/generate-learning-analysis-types.d.ts +200 -0
- package/dist/ai/flows/generate-learning-analysis-types.d.ts.map +1 -0
- package/dist/ai/flows/generate-learning-analysis.d.ts +4 -0
- package/dist/ai/flows/generate-learning-analysis.d.ts.map +1 -0
- package/dist/ai/flows/generate-motivational-quote.d.ts +3 -0
- package/dist/ai/flows/generate-motivational-quote.d.ts.map +1 -0
- package/dist/ai/flows/generate-practice-quiz.d.ts +76 -0
- package/dist/ai/flows/generate-practice-quiz.d.ts.map +1 -0
- package/dist/ai/flows/generate-practice-suggestion.d.ts +149 -0
- package/dist/ai/flows/generate-practice-suggestion.d.ts.map +1 -0
- package/dist/ai/flows/generate-questions-from-quiz-plan-types.d.ts +122 -0
- package/dist/ai/flows/generate-questions-from-quiz-plan-types.d.ts.map +1 -0
- package/dist/ai/flows/generate-questions-from-quiz-plan.d.ts +3 -0
- package/dist/ai/flows/generate-questions-from-quiz-plan.d.ts.map +1 -0
- package/dist/ai/flows/generate-quiz-from-text-types.d.ts +358 -0
- package/dist/ai/flows/generate-quiz-from-text-types.d.ts.map +1 -0
- package/dist/ai/flows/generate-quiz-from-text.d.ts +3 -0
- package/dist/ai/flows/generate-quiz-from-text.d.ts.map +1 -0
- package/dist/ai/flows/generate-quiz-plan-types.d.ts +272 -0
- package/dist/ai/flows/generate-quiz-plan-types.d.ts.map +1 -0
- package/dist/ai/flows/generate-quiz-plan.d.ts +12 -0
- package/dist/ai/flows/generate-quiz-plan.d.ts.map +1 -0
- package/dist/ai/flows/generate-quiz-review.d.ts +3 -0
- package/dist/ai/flows/generate-quiz-review.d.ts.map +1 -0
- package/dist/ai/flows/generate-single-knowledge-card-types.d.ts +34 -0
- package/dist/ai/flows/generate-single-knowledge-card-types.d.ts.map +1 -0
- package/dist/ai/flows/generate-single-knowledge-card.d.ts +3 -0
- package/dist/ai/flows/generate-single-knowledge-card.d.ts.map +1 -0
- package/dist/ai/flows/motivational-quote-types.d.ts +30 -0
- package/dist/ai/flows/motivational-quote-types.d.ts.map +1 -0
- package/dist/ai/flows/plan-knowledge-cards-types.d.ts +24 -0
- package/dist/ai/flows/plan-knowledge-cards-types.d.ts.map +1 -0
- package/dist/ai/flows/plan-knowledge-cards.d.ts +3 -0
- package/dist/ai/flows/plan-knowledge-cards.d.ts.map +1 -0
- package/dist/ai/flows/question-gen/generate-coding-question-types.d.ts +133 -0
- package/dist/ai/flows/question-gen/generate-coding-question-types.d.ts.map +1 -0
- package/dist/ai/flows/question-gen/generate-coding-question.d.ts +3 -0
- package/dist/ai/flows/question-gen/generate-coding-question.d.ts.map +1 -0
- package/dist/ai/flows/question-gen/generate-fitb-question-types.d.ts +142 -0
- package/dist/ai/flows/question-gen/generate-fitb-question-types.d.ts.map +1 -0
- package/dist/ai/flows/question-gen/generate-fitb-question.d.ts +3 -0
- package/dist/ai/flows/question-gen/generate-fitb-question.d.ts.map +1 -0
- package/dist/ai/flows/question-gen/generate-matching-question-types.d.ts +137 -0
- package/dist/ai/flows/question-gen/generate-matching-question-types.d.ts.map +1 -0
- package/dist/ai/flows/question-gen/generate-matching-question.d.ts +3 -0
- package/dist/ai/flows/question-gen/generate-matching-question.d.ts.map +1 -0
- package/dist/ai/flows/question-gen/generate-mcq-question-types.d.ts +137 -0
- package/dist/ai/flows/question-gen/generate-mcq-question-types.d.ts.map +1 -0
- package/dist/ai/flows/question-gen/generate-mcq-question.d.ts +3 -0
- package/dist/ai/flows/question-gen/generate-mcq-question.d.ts.map +1 -0
- package/dist/ai/flows/question-gen/generate-mrq-question-types.d.ts +143 -0
- package/dist/ai/flows/question-gen/generate-mrq-question-types.d.ts.map +1 -0
- package/dist/ai/flows/question-gen/generate-mrq-question.d.ts +3 -0
- package/dist/ai/flows/question-gen/generate-mrq-question.d.ts.map +1 -0
- package/dist/ai/flows/question-gen/generate-numeric-question-types.d.ts +131 -0
- package/dist/ai/flows/question-gen/generate-numeric-question-types.d.ts.map +1 -0
- package/dist/ai/flows/question-gen/generate-numeric-question.d.ts +3 -0
- package/dist/ai/flows/question-gen/generate-numeric-question.d.ts.map +1 -0
- package/dist/ai/flows/question-gen/generate-sequence-question-types.d.ts +119 -0
- package/dist/ai/flows/question-gen/generate-sequence-question-types.d.ts.map +1 -0
- package/dist/ai/flows/question-gen/generate-sequence-question.d.ts +3 -0
- package/dist/ai/flows/question-gen/generate-sequence-question.d.ts.map +1 -0
- package/dist/ai/flows/question-gen/generate-short-answer-question-types.d.ts +119 -0
- package/dist/ai/flows/question-gen/generate-short-answer-question-types.d.ts.map +1 -0
- package/dist/ai/flows/question-gen/generate-short-answer-question.d.ts +3 -0
- package/dist/ai/flows/question-gen/generate-short-answer-question.d.ts.map +1 -0
- package/dist/ai/flows/question-gen/generate-true-false-question-types.d.ts +115 -0
- package/dist/ai/flows/question-gen/generate-true-false-question-types.d.ts.map +1 -0
- package/dist/ai/flows/question-gen/generate-true-false-question.d.ts +3 -0
- package/dist/ai/flows/question-gen/generate-true-false-question.d.ts.map +1 -0
- package/dist/ai/flows/question-gen/question-generation-schemas.d.ts +1027 -0
- package/dist/ai/flows/question-gen/question-generation-schemas.d.ts.map +1 -0
- package/dist/ai/flows/review-types.d.ts +79 -0
- package/dist/ai/flows/review-types.d.ts.map +1 -0
- package/dist/ai/flows/shared-schemas.d.ts +133 -0
- package/dist/ai/flows/shared-schemas.d.ts.map +1 -0
- package/dist/ai/genkit.d.ts +2 -0
- package/dist/ai/genkit.d.ts.map +1 -0
- package/dist/ai.d.ts +40 -0
- package/dist/ai.d.ts.map +1 -0
- package/dist/authoring.d.ts +6 -0
- package/dist/authoring.d.ts.map +1 -0
- package/dist/i18n.d.ts +3 -0
- package/dist/i18n.d.ts.map +1 -0
- package/dist/index.d.ts +31 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/player.d.ts +12 -0
- package/dist/player.d.ts.map +1 -0
- package/dist/react-ui/components/app/APIKeyManagerModal.d.ts +8 -0
- package/dist/react-ui/components/app/APIKeyManagerModal.d.ts.map +1 -0
- package/dist/react-ui/components/app/AppController.d.ts +3 -0
- package/dist/react-ui/components/app/AppController.d.ts.map +1 -0
- package/dist/react-ui/components/app/ManageImageContexts.d.ts +3 -0
- package/dist/react-ui/components/app/ManageImageContexts.d.ts.map +1 -0
- package/dist/react-ui/components/app/ManageTopics.d.ts +3 -0
- package/dist/react-ui/components/app/ManageTopics.d.ts.map +1 -0
- package/dist/react-ui/components/app/PersonalPracticeDashboard.d.ts +3 -0
- package/dist/react-ui/components/app/PersonalPracticeDashboard.d.ts.map +1 -0
- package/dist/react-ui/components/app/SettingsModal.d.ts +10 -0
- package/dist/react-ui/components/app/SettingsModal.d.ts.map +1 -0
- package/dist/react-ui/components/app/UploadResourceModal.d.ts +8 -0
- package/dist/react-ui/components/app/UploadResourceModal.d.ts.map +1 -0
- package/dist/react-ui/components/authoring/AIFullQuizGeneratorModal.d.ts +11 -0
- package/dist/react-ui/components/authoring/AIFullQuizGeneratorModal.d.ts.map +1 -0
- package/dist/react-ui/components/authoring/AIQuestionGeneratorModal.d.ts +19 -0
- package/dist/react-ui/components/authoring/AIQuestionGeneratorModal.d.ts.map +1 -0
- package/dist/react-ui/components/authoring/BlocklyProgrammingQuestionForm.d.ts +9 -0
- package/dist/react-ui/components/authoring/BlocklyProgrammingQuestionForm.d.ts.map +1 -0
- package/dist/react-ui/components/authoring/CodingQuestionForm.d.ts +9 -0
- package/dist/react-ui/components/authoring/CodingQuestionForm.d.ts.map +1 -0
- package/dist/react-ui/components/authoring/DragAndDropQuestionForm.d.ts +9 -0
- package/dist/react-ui/components/authoring/DragAndDropQuestionForm.d.ts.map +1 -0
- package/dist/react-ui/components/authoring/EditQuestionModal.d.ts +11 -0
- package/dist/react-ui/components/authoring/EditQuestionModal.d.ts.map +1 -0
- package/dist/react-ui/components/authoring/FillInTheBlanksQuestionForm.d.ts +9 -0
- package/dist/react-ui/components/authoring/FillInTheBlanksQuestionForm.d.ts.map +1 -0
- package/dist/react-ui/components/authoring/HotspotQuestionForm.d.ts +9 -0
- package/dist/react-ui/components/authoring/HotspotQuestionForm.d.ts.map +1 -0
- package/dist/react-ui/components/authoring/ImportQuestionsModal.d.ts +10 -0
- package/dist/react-ui/components/authoring/ImportQuestionsModal.d.ts.map +1 -0
- package/dist/react-ui/components/authoring/MatchingQuestionForm.d.ts +9 -0
- package/dist/react-ui/components/authoring/MatchingQuestionForm.d.ts.map +1 -0
- package/dist/react-ui/components/authoring/MultipleChoiceQuestionForm.d.ts +9 -0
- package/dist/react-ui/components/authoring/MultipleChoiceQuestionForm.d.ts.map +1 -0
- package/dist/react-ui/components/authoring/MultipleResponseQuestionForm.d.ts +9 -0
- package/dist/react-ui/components/authoring/MultipleResponseQuestionForm.d.ts.map +1 -0
- package/dist/react-ui/components/authoring/NumericQuestionForm.d.ts +9 -0
- package/dist/react-ui/components/authoring/NumericQuestionForm.d.ts.map +1 -0
- package/dist/react-ui/components/authoring/QuestionFilters.d.ts +9 -0
- package/dist/react-ui/components/authoring/QuestionFilters.d.ts.map +1 -0
- package/dist/react-ui/components/authoring/QuestionFormDialog.d.ts +11 -0
- package/dist/react-ui/components/authoring/QuestionFormDialog.d.ts.map +1 -0
- package/dist/react-ui/components/authoring/QuestionList.d.ts +11 -0
- package/dist/react-ui/components/authoring/QuestionList.d.ts.map +1 -0
- package/dist/react-ui/components/authoring/QuestionPreviewModal.d.ts +10 -0
- package/dist/react-ui/components/authoring/QuestionPreviewModal.d.ts.map +1 -0
- package/dist/react-ui/components/authoring/QuizAuthoringTool.d.ts +10 -0
- package/dist/react-ui/components/authoring/QuizAuthoringTool.d.ts.map +1 -0
- package/dist/react-ui/components/authoring/SCORMExportModal.d.ts +13 -0
- package/dist/react-ui/components/authoring/SCORMExportModal.d.ts.map +1 -0
- package/dist/react-ui/components/authoring/ScratchProgrammingQuestionForm.d.ts +9 -0
- package/dist/react-ui/components/authoring/ScratchProgrammingQuestionForm.d.ts.map +1 -0
- package/dist/react-ui/components/authoring/SequenceQuestionForm.d.ts +9 -0
- package/dist/react-ui/components/authoring/SequenceQuestionForm.d.ts.map +1 -0
- package/dist/react-ui/components/authoring/ShortAnswerQuestionForm.d.ts +9 -0
- package/dist/react-ui/components/authoring/ShortAnswerQuestionForm.d.ts.map +1 -0
- package/dist/react-ui/components/authoring/TrueFalseQuestionForm.d.ts +9 -0
- package/dist/react-ui/components/authoring/TrueFalseQuestionForm.d.ts.map +1 -0
- package/dist/react-ui/components/common/ClientTranslation.d.ts +18 -0
- package/dist/react-ui/components/common/ClientTranslation.d.ts.map +1 -0
- package/dist/react-ui/components/common/EditorToolbar.d.ts +8 -0
- package/dist/react-ui/components/common/EditorToolbar.d.ts.map +1 -0
- package/dist/react-ui/components/common/MarkdownEditor.d.ts +11 -0
- package/dist/react-ui/components/common/MarkdownEditor.d.ts.map +1 -0
- package/dist/react-ui/components/common/MarkdownRenderer.d.ts +15 -0
- package/dist/react-ui/components/common/MarkdownRenderer.d.ts.map +1 -0
- package/dist/react-ui/components/common/RichTextEditor.d.ts +11 -0
- package/dist/react-ui/components/common/RichTextEditor.d.ts.map +1 -0
- package/dist/react-ui/components/common/RichTextRenderer.d.ts +16 -0
- package/dist/react-ui/components/common/RichTextRenderer.d.ts.map +1 -0
- package/dist/react-ui/components/common/SimpleMarkdownEditor.d.ts +17 -0
- package/dist/react-ui/components/common/SimpleMarkdownEditor.d.ts.map +1 -0
- package/dist/react-ui/components/dashboard/AchievementCertificate.d.ts +11 -0
- package/dist/react-ui/components/dashboard/AchievementCertificate.d.ts.map +1 -0
- package/dist/react-ui/components/dashboard/Achievements.d.ts +8 -0
- package/dist/react-ui/components/dashboard/Achievements.d.ts.map +1 -0
- package/dist/react-ui/components/dashboard/ActivityCalendar.d.ts +8 -0
- package/dist/react-ui/components/dashboard/ActivityCalendar.d.ts.map +1 -0
- package/dist/react-ui/components/dashboard/AnalysisDialog.d.ts +8 -0
- package/dist/react-ui/components/dashboard/AnalysisDialog.d.ts.map +1 -0
- package/dist/react-ui/components/dashboard/ChatbotDialog.d.ts +8 -0
- package/dist/react-ui/components/dashboard/ChatbotDialog.d.ts.map +1 -0
- package/dist/react-ui/components/dashboard/Cheatsheet.d.ts +3 -0
- package/dist/react-ui/components/dashboard/Cheatsheet.d.ts.map +1 -0
- package/dist/react-ui/components/dashboard/DraggableDashboardCard.d.ts +11 -0
- package/dist/react-ui/components/dashboard/DraggableDashboardCard.d.ts.map +1 -0
- package/dist/react-ui/components/dashboard/FreestyleQuizzesCard.d.ts +3 -0
- package/dist/react-ui/components/dashboard/FreestyleQuizzesCard.d.ts.map +1 -0
- package/dist/react-ui/components/dashboard/GeneratedQuizzesCard.d.ts +3 -0
- package/dist/react-ui/components/dashboard/GeneratedQuizzesCard.d.ts.map +1 -0
- package/dist/react-ui/components/dashboard/GoalsProgress.d.ts +3 -0
- package/dist/react-ui/components/dashboard/GoalsProgress.d.ts.map +1 -0
- package/dist/react-ui/components/dashboard/PerformanceCharts.d.ts +8 -0
- package/dist/react-ui/components/dashboard/PerformanceCharts.d.ts.map +1 -0
- package/dist/react-ui/components/dashboard/PerformanceSnapshot.d.ts +9 -0
- package/dist/react-ui/components/dashboard/PerformanceSnapshot.d.ts.map +1 -0
- package/dist/react-ui/components/dashboard/PracticeHistoryTable.d.ts +9 -0
- package/dist/react-ui/components/dashboard/PracticeHistoryTable.d.ts.map +1 -0
- package/dist/react-ui/components/dashboard/RoadmapChecklist.d.ts +3 -0
- package/dist/react-ui/components/dashboard/RoadmapChecklist.d.ts.map +1 -0
- package/dist/react-ui/components/dashboard/SessionActionsDialog.d.ts +13 -0
- package/dist/react-ui/components/dashboard/SessionActionsDialog.d.ts.map +1 -0
- package/dist/react-ui/components/dashboard/ShareAchievementDialog.d.ts +10 -0
- package/dist/react-ui/components/dashboard/ShareAchievementDialog.d.ts.map +1 -0
- package/dist/react-ui/components/dashboard/StatCard.d.ts +12 -0
- package/dist/react-ui/components/dashboard/StatCard.d.ts.map +1 -0
- package/dist/react-ui/components/dashboard/SuggestionDialog.d.ts +12 -0
- package/dist/react-ui/components/dashboard/SuggestionDialog.d.ts.map +1 -0
- package/dist/react-ui/components/elements/accordion.d.ts +8 -0
- package/dist/react-ui/components/elements/accordion.d.ts.map +1 -0
- package/dist/react-ui/components/elements/alert-dialog.d.ts +21 -0
- package/dist/react-ui/components/elements/alert-dialog.d.ts.map +1 -0
- package/dist/react-ui/components/elements/alert.d.ts +9 -0
- package/dist/react-ui/components/elements/alert.d.ts.map +1 -0
- package/dist/react-ui/components/elements/avatar.d.ts +7 -0
- package/dist/react-ui/components/elements/avatar.d.ts.map +1 -0
- package/dist/react-ui/components/elements/badge.d.ts +10 -0
- package/dist/react-ui/components/elements/badge.d.ts.map +1 -0
- package/dist/react-ui/components/elements/button.d.ts +12 -0
- package/dist/react-ui/components/elements/button.d.ts.map +1 -0
- package/dist/react-ui/components/elements/calendar.d.ts +9 -0
- package/dist/react-ui/components/elements/calendar.d.ts.map +1 -0
- package/dist/react-ui/components/elements/card.d.ts +9 -0
- package/dist/react-ui/components/elements/card.d.ts.map +1 -0
- package/dist/react-ui/components/elements/chart.d.ts +63 -0
- package/dist/react-ui/components/elements/chart.d.ts.map +1 -0
- package/dist/react-ui/components/elements/checkbox.d.ts +5 -0
- package/dist/react-ui/components/elements/checkbox.d.ts.map +1 -0
- package/dist/react-ui/components/elements/dialog.d.ts +20 -0
- package/dist/react-ui/components/elements/dialog.d.ts.map +1 -0
- package/dist/react-ui/components/elements/dropdown-menu.d.ts +28 -0
- package/dist/react-ui/components/elements/dropdown-menu.d.ts.map +1 -0
- package/dist/react-ui/components/elements/form.d.ts +24 -0
- package/dist/react-ui/components/elements/form.d.ts.map +1 -0
- package/dist/react-ui/components/elements/input.d.ts +4 -0
- package/dist/react-ui/components/elements/input.d.ts.map +1 -0
- package/dist/react-ui/components/elements/label.d.ts +6 -0
- package/dist/react-ui/components/elements/label.d.ts.map +1 -0
- package/dist/react-ui/components/elements/menubar.d.ts +29 -0
- package/dist/react-ui/components/elements/menubar.d.ts.map +1 -0
- package/dist/react-ui/components/elements/popover.d.ts +7 -0
- package/dist/react-ui/components/elements/popover.d.ts.map +1 -0
- package/dist/react-ui/components/elements/progress.d.ts +5 -0
- package/dist/react-ui/components/elements/progress.d.ts.map +1 -0
- package/dist/react-ui/components/elements/radio-group.d.ts +6 -0
- package/dist/react-ui/components/elements/radio-group.d.ts.map +1 -0
- package/dist/react-ui/components/elements/scroll-area.d.ts +6 -0
- package/dist/react-ui/components/elements/scroll-area.d.ts.map +1 -0
- package/dist/react-ui/components/elements/select.d.ts +14 -0
- package/dist/react-ui/components/elements/select.d.ts.map +1 -0
- package/dist/react-ui/components/elements/separator.d.ts +5 -0
- package/dist/react-ui/components/elements/separator.d.ts.map +1 -0
- package/dist/react-ui/components/elements/sheet.d.ts +26 -0
- package/dist/react-ui/components/elements/sheet.d.ts.map +1 -0
- package/dist/react-ui/components/elements/sidebar.d.ts +67 -0
- package/dist/react-ui/components/elements/sidebar.d.ts.map +1 -0
- package/dist/react-ui/components/elements/skeleton.d.ts +3 -0
- package/dist/react-ui/components/elements/skeleton.d.ts.map +1 -0
- package/dist/react-ui/components/elements/slider.d.ts +5 -0
- package/dist/react-ui/components/elements/slider.d.ts.map +1 -0
- package/dist/react-ui/components/elements/switch.d.ts +5 -0
- package/dist/react-ui/components/elements/switch.d.ts.map +1 -0
- package/dist/react-ui/components/elements/table.d.ts +11 -0
- package/dist/react-ui/components/elements/table.d.ts.map +1 -0
- package/dist/react-ui/components/elements/tabs.d.ts +8 -0
- package/dist/react-ui/components/elements/tabs.d.ts.map +1 -0
- package/dist/react-ui/components/elements/textarea.d.ts +4 -0
- package/dist/react-ui/components/elements/textarea.d.ts.map +1 -0
- package/dist/react-ui/components/elements/toast.d.ts +16 -0
- package/dist/react-ui/components/elements/toast.d.ts.map +1 -0
- package/dist/react-ui/components/elements/toaster.d.ts +2 -0
- package/dist/react-ui/components/elements/toaster.d.ts.map +1 -0
- package/dist/react-ui/components/elements/tooltip.d.ts +8 -0
- package/dist/react-ui/components/elements/tooltip.d.ts.map +1 -0
- package/dist/react-ui/components/metadata/ApproachManager.d.ts +3 -0
- package/dist/react-ui/components/metadata/ApproachManager.d.ts.map +1 -0
- package/dist/react-ui/components/metadata/BloomLevelManager.d.ts +3 -0
- package/dist/react-ui/components/metadata/BloomLevelManager.d.ts.map +1 -0
- package/dist/react-ui/components/metadata/CategoryManager.d.ts +3 -0
- package/dist/react-ui/components/metadata/CategoryManager.d.ts.map +1 -0
- package/dist/react-ui/components/metadata/ContextManager.d.ts +3 -0
- package/dist/react-ui/components/metadata/ContextManager.d.ts.map +1 -0
- package/dist/react-ui/components/metadata/GradeLevelManager.d.ts +3 -0
- package/dist/react-ui/components/metadata/GradeLevelManager.d.ts.map +1 -0
- package/dist/react-ui/components/metadata/LearningObjectiveManager.d.ts +3 -0
- package/dist/react-ui/components/metadata/LearningObjectiveManager.d.ts.map +1 -0
- package/dist/react-ui/components/metadata/MetadataTabs.d.ts +3 -0
- package/dist/react-ui/components/metadata/MetadataTabs.d.ts.map +1 -0
- package/dist/react-ui/components/metadata/QuestionTypeManager.d.ts +3 -0
- package/dist/react-ui/components/metadata/QuestionTypeManager.d.ts.map +1 -0
- package/dist/react-ui/components/metadata/SubjectManager.d.ts +3 -0
- package/dist/react-ui/components/metadata/SubjectManager.d.ts.map +1 -0
- package/dist/react-ui/components/metadata/TopicManager.d.ts +3 -0
- package/dist/react-ui/components/metadata/TopicManager.d.ts.map +1 -0
- package/dist/react-ui/components/practice/PracticeModeController.d.ts +3 -0
- package/dist/react-ui/components/practice/PracticeModeController.d.ts.map +1 -0
- package/dist/react-ui/components/practice/PracticeSetup.d.ts +12 -0
- package/dist/react-ui/components/practice/PracticeSetup.d.ts.map +1 -0
- package/dist/react-ui/components/practice/QuizReview.d.ts +12 -0
- package/dist/react-ui/components/practice/QuizReview.d.ts.map +1 -0
- package/dist/react-ui/components/ui/BlocklyProgrammingQuestionUI.d.ts +14 -0
- package/dist/react-ui/components/ui/BlocklyProgrammingQuestionUI.d.ts.map +1 -0
- package/dist/react-ui/components/ui/CodingQuestionUI.d.ts +11 -0
- package/dist/react-ui/components/ui/CodingQuestionUI.d.ts.map +1 -0
- package/dist/react-ui/components/ui/DragAndDropQuestionUI.d.ts +11 -0
- package/dist/react-ui/components/ui/DragAndDropQuestionUI.d.ts.map +1 -0
- package/dist/react-ui/components/ui/FillInTheBlanksQuestionUI.d.ts +11 -0
- package/dist/react-ui/components/ui/FillInTheBlanksQuestionUI.d.ts.map +1 -0
- package/dist/react-ui/components/ui/HotspotQuestionUI.d.ts +11 -0
- package/dist/react-ui/components/ui/HotspotQuestionUI.d.ts.map +1 -0
- package/dist/react-ui/components/ui/MatchingQuestionUI.d.ts +11 -0
- package/dist/react-ui/components/ui/MatchingQuestionUI.d.ts.map +1 -0
- package/dist/react-ui/components/ui/MultipleChoiceQuestionUI.d.ts +11 -0
- package/dist/react-ui/components/ui/MultipleChoiceQuestionUI.d.ts.map +1 -0
- package/dist/react-ui/components/ui/MultipleResponseQuestionUI.d.ts +11 -0
- package/dist/react-ui/components/ui/MultipleResponseQuestionUI.d.ts.map +1 -0
- package/dist/react-ui/components/ui/NumericQuestionUI.d.ts +11 -0
- package/dist/react-ui/components/ui/NumericQuestionUI.d.ts.map +1 -0
- package/dist/react-ui/components/ui/QuestionRenderer.d.ts +14 -0
- package/dist/react-ui/components/ui/QuestionRenderer.d.ts.map +1 -0
- package/dist/react-ui/components/ui/QuizDataManagement.d.ts +9 -0
- package/dist/react-ui/components/ui/QuizDataManagement.d.ts.map +1 -0
- package/dist/react-ui/components/ui/QuizPlayer.d.ts +10 -0
- package/dist/react-ui/components/ui/QuizPlayer.d.ts.map +1 -0
- package/dist/react-ui/components/ui/QuizResult.d.ts +13 -0
- package/dist/react-ui/components/ui/QuizResult.d.ts.map +1 -0
- package/dist/react-ui/components/ui/ScratchProgrammingQuestionUI.d.ts +13 -0
- package/dist/react-ui/components/ui/ScratchProgrammingQuestionUI.d.ts.map +1 -0
- package/dist/react-ui/components/ui/SequenceQuestionUI.d.ts +11 -0
- package/dist/react-ui/components/ui/SequenceQuestionUI.d.ts.map +1 -0
- package/dist/react-ui/components/ui/ShortAnswerQuestionUI.d.ts +11 -0
- package/dist/react-ui/components/ui/ShortAnswerQuestionUI.d.ts.map +1 -0
- package/dist/react-ui/components/ui/TrueFalseQuestionUI.d.ts +11 -0
- package/dist/react-ui/components/ui/TrueFalseQuestionUI.d.ts.map +1 -0
- package/dist/react-ui/context/LanguageContext.d.ts +21 -0
- package/dist/react-ui/context/LanguageContext.d.ts.map +1 -0
- package/dist/react-ui/hooks/use-mobile.d.ts +9 -0
- package/dist/react-ui/hooks/use-mobile.d.ts.map +1 -0
- package/dist/react-ui/hooks/use-toast.d.ts +45 -0
- package/dist/react-ui/hooks/use-toast.d.ts.map +1 -0
- package/dist/react-ui/index.d.ts +39 -0
- package/dist/react-ui/index.d.ts.map +1 -0
- package/dist/react-ui.cjs +14 -11
- package/dist/react-ui.d.ts +58 -0
- package/dist/react-ui.d.ts.map +1 -0
- package/dist/react-ui.mjs +14 -11
- package/dist/schemas/zod/blocklyProgrammingQuestionSchema.d.ts +61 -0
- package/dist/schemas/zod/blocklyProgrammingQuestionSchema.d.ts.map +1 -0
- package/dist/schemas/zod/codingQuestionSchema.d.ts +111 -0
- package/dist/schemas/zod/codingQuestionSchema.d.ts.map +1 -0
- package/dist/schemas/zod/dragAndDropQuestionSchema.d.ts +109 -0
- package/dist/schemas/zod/dragAndDropQuestionSchema.d.ts.map +1 -0
- package/dist/schemas/zod/fillInTheBlanksQuestionSchema.d.ts +103 -0
- package/dist/schemas/zod/fillInTheBlanksQuestionSchema.d.ts.map +1 -0
- package/dist/schemas/zod/hotspotQuestionSchema.d.ts +111 -0
- package/dist/schemas/zod/hotspotQuestionSchema.d.ts.map +1 -0
- package/dist/schemas/zod/matchingQuestionSchema.d.ts +106 -0
- package/dist/schemas/zod/matchingQuestionSchema.d.ts.map +1 -0
- package/dist/schemas/zod/multipleChoiceQuestionSchema.d.ts +70 -0
- package/dist/schemas/zod/multipleChoiceQuestionSchema.d.ts.map +1 -0
- package/dist/schemas/zod/multipleResponseQuestionSchema.d.ts +70 -0
- package/dist/schemas/zod/multipleResponseQuestionSchema.d.ts.map +1 -0
- package/dist/schemas/zod/numericQuestionSchema.d.ts +55 -0
- package/dist/schemas/zod/numericQuestionSchema.d.ts.map +1 -0
- package/dist/schemas/zod/quizConfigSchema.d.ts +634 -0
- package/dist/schemas/zod/quizConfigSchema.d.ts.map +1 -0
- package/dist/schemas/zod/scratchProgrammingQuestionSchema.d.ts +61 -0
- package/dist/schemas/zod/scratchProgrammingQuestionSchema.d.ts.map +1 -0
- package/dist/schemas/zod/sequenceQuestionSchema.d.ts +70 -0
- package/dist/schemas/zod/sequenceQuestionSchema.d.ts.map +1 -0
- package/dist/schemas/zod/shortAnswerQuestionSchema.d.ts +55 -0
- package/dist/schemas/zod/shortAnswerQuestionSchema.d.ts.map +1 -0
- package/dist/schemas/zod/trueFalseQuestionSchema.d.ts +52 -0
- package/dist/schemas/zod/trueFalseQuestionSchema.d.ts.map +1 -0
- package/dist/services/APIKeyService.d.ts +28 -0
- package/dist/services/APIKeyService.d.ts.map +1 -0
- package/dist/services/AchievementService.d.ts +10 -0
- package/dist/services/AchievementService.d.ts.map +1 -0
- package/dist/services/AnalysisReportService.d.ts +11 -0
- package/dist/services/AnalysisReportService.d.ts.map +1 -0
- package/dist/services/CardGenerationProcessor.d.ts +7 -0
- package/dist/services/CardGenerationProcessor.d.ts.map +1 -0
- package/dist/services/CodeEvaluationService.d.ts +15 -0
- package/dist/services/CodeEvaluationService.d.ts.map +1 -0
- package/dist/services/DashboardLayoutService.d.ts +28 -0
- package/dist/services/DashboardLayoutService.d.ts.map +1 -0
- package/dist/services/FreestyleQuizService.d.ts +51 -0
- package/dist/services/FreestyleQuizService.d.ts.map +1 -0
- package/dist/services/HTMLLauncherGenerator.d.ts +3 -0
- package/dist/services/HTMLLauncherGenerator.d.ts.map +1 -0
- package/dist/services/ImageContextService.d.ts +55 -0
- package/dist/services/ImageContextService.d.ts.map +1 -0
- package/dist/services/KnowledgeCardService.d.ts +57 -0
- package/dist/services/KnowledgeCardService.d.ts.map +1 -0
- package/dist/services/MotivationalQuotes.d.ts +16 -0
- package/dist/services/MotivationalQuotes.d.ts.map +1 -0
- package/dist/services/PracticeHistoryService.d.ts +15 -0
- package/dist/services/PracticeHistoryService.d.ts.map +1 -0
- package/dist/services/QuestionImportService.d.ts +19 -0
- package/dist/services/QuestionImportService.d.ts.map +1 -0
- package/dist/services/QuizEditorService.d.ts +16 -0
- package/dist/services/QuizEditorService.d.ts.map +1 -0
- package/dist/services/QuizEngine.d.ts +40 -0
- package/dist/services/QuizEngine.d.ts.map +1 -0
- package/dist/services/RoadmapService.d.ts +9 -0
- package/dist/services/RoadmapService.d.ts.map +1 -0
- package/dist/services/SCORMManifestGenerator.d.ts +4 -0
- package/dist/services/SCORMManifestGenerator.d.ts.map +1 -0
- package/dist/services/SCORMService.d.ts +41 -0
- package/dist/services/SCORMService.d.ts.map +1 -0
- package/dist/services/TopicDataService.d.ts +62 -0
- package/dist/services/TopicDataService.d.ts.map +1 -0
- package/dist/services/UserConfigService.d.ts +27 -0
- package/dist/services/UserConfigService.d.ts.map +1 -0
- package/dist/services/evaluators/base-evaluator.d.ts +11 -0
- package/dist/services/evaluators/base-evaluator.d.ts.map +1 -0
- package/dist/services/evaluators/coding-evaluator.d.ts +6 -0
- package/dist/services/evaluators/coding-evaluator.d.ts.map +1 -0
- package/dist/services/evaluators/drag-and-drop-evaluator.d.ts +6 -0
- package/dist/services/evaluators/drag-and-drop-evaluator.d.ts.map +1 -0
- package/dist/services/evaluators/fill-in-the-blanks-evaluator.d.ts +6 -0
- package/dist/services/evaluators/fill-in-the-blanks-evaluator.d.ts.map +1 -0
- package/dist/services/evaluators/hotspot-evaluator.d.ts +6 -0
- package/dist/services/evaluators/hotspot-evaluator.d.ts.map +1 -0
- package/dist/services/evaluators/matching-evaluator.d.ts +6 -0
- package/dist/services/evaluators/matching-evaluator.d.ts.map +1 -0
- package/dist/services/evaluators/multiple-choice-evaluator.d.ts +6 -0
- package/dist/services/evaluators/multiple-choice-evaluator.d.ts.map +1 -0
- package/dist/services/evaluators/multiple-response-evaluator.d.ts +6 -0
- package/dist/services/evaluators/multiple-response-evaluator.d.ts.map +1 -0
- package/dist/services/evaluators/numeric-evaluator.d.ts +6 -0
- package/dist/services/evaluators/numeric-evaluator.d.ts.map +1 -0
- package/dist/services/evaluators/programming-evaluator.d.ts +6 -0
- package/dist/services/evaluators/programming-evaluator.d.ts.map +1 -0
- package/dist/services/evaluators/sequence-evaluator.d.ts +6 -0
- package/dist/services/evaluators/sequence-evaluator.d.ts.map +1 -0
- package/dist/services/evaluators/short-answer-evaluator.d.ts +6 -0
- package/dist/services/evaluators/short-answer-evaluator.d.ts.map +1 -0
- package/dist/services/evaluators/true-false-evaluator.d.ts +6 -0
- package/dist/services/evaluators/true-false-evaluator.d.ts.map +1 -0
- package/dist/services/metadataService.d.ts +40 -0
- package/dist/services/metadataService.d.ts.map +1 -0
- package/dist/services/questionBankService.d.ts +19 -0
- package/dist/services/questionBankService.d.ts.map +1 -0
- package/dist/services/sampleQuiz.d.ts +4 -0
- package/dist/services/sampleQuiz.d.ts.map +1 -0
- package/dist/services/scormPackaging.d.ts +11 -0
- package/dist/services/scormPackaging.d.ts.map +1 -0
- package/dist/types/ai-ecosystem.d.ts +57 -0
- package/dist/types/ai-ecosystem.d.ts.map +1 -0
- package/dist/types/common.d.ts +3 -0
- package/dist/types/common.d.ts.map +1 -0
- package/dist/types/learning-objectives.d.ts +12 -0
- package/dist/types/learning-objectives.d.ts.map +1 -0
- package/dist/types/metadata.d.ts +45 -0
- package/dist/types/metadata.d.ts.map +1 -0
- package/dist/types/misc.d.ts +102 -0
- package/dist/types/misc.d.ts.map +1 -0
- package/dist/types/question-bank.d.ts +28 -0
- package/dist/types/question-bank.d.ts.map +1 -0
- package/dist/types/questions.d.ts +151 -0
- package/dist/types/questions.d.ts.map +1 -0
- package/dist/types/quiz-config.d.ts +12 -0
- package/dist/types/quiz-config.d.ts.map +1 -0
- package/dist/types/quiz-engine.d.ts +23 -0
- package/dist/types/quiz-engine.d.ts.map +1 -0
- package/dist/types/quiz-settings.d.ts +35 -0
- package/dist/types/quiz-settings.d.ts.map +1 -0
- package/dist/types/results.d.ts +72 -0
- package/dist/types/results.d.ts.map +1 -0
- package/dist/types.d.ts +12 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/utils/aiUtils.d.ts +11 -0
- package/dist/utils/aiUtils.d.ts.map +1 -0
- package/dist/utils/asyncUtils.d.ts +22 -0
- package/dist/utils/asyncUtils.d.ts.map +1 -0
- package/dist/utils/debug-logger.d.ts +24 -0
- package/dist/utils/debug-logger.d.ts.map +1 -0
- package/dist/utils/formattedDate.d.ts +2 -0
- package/dist/utils/formattedDate.d.ts.map +1 -0
- package/dist/utils/idGenerators.d.ts +7 -0
- package/dist/utils/idGenerators.d.ts.map +1 -0
- package/dist/utils/jsonUtils.d.ts +18 -0
- package/dist/utils/jsonUtils.d.ts.map +1 -0
- package/dist/utils/use-mobile.d.ts +2 -0
- package/dist/utils/use-mobile.d.ts.map +1 -0
- package/dist/utils/utils.d.ts +3 -0
- package/dist/utils/utils.d.ts.map +1 -0
- package/package.json +2 -4
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import type { PracticeSuggestion } from '../../types/misc';
|
|
3
|
+
declare const GeneratePracticeSuggestionInputSchema: z.ZodObject<{
|
|
4
|
+
language: z.ZodString;
|
|
5
|
+
userName: z.ZodOptional<z.ZodString>;
|
|
6
|
+
performanceByTopic: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7
|
+
name: z.ZodString;
|
|
8
|
+
averageScore: z.ZodNumber;
|
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
|
10
|
+
name: string;
|
|
11
|
+
averageScore: number;
|
|
12
|
+
}, {
|
|
13
|
+
name: string;
|
|
14
|
+
averageScore: number;
|
|
15
|
+
}>, "many">>;
|
|
16
|
+
recentHistory: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
17
|
+
quizTitle: z.ZodString;
|
|
18
|
+
percentage: z.ZodNumber;
|
|
19
|
+
topics: z.ZodArray<z.ZodObject<{
|
|
20
|
+
subject: z.ZodString;
|
|
21
|
+
category: z.ZodString;
|
|
22
|
+
topic: z.ZodString;
|
|
23
|
+
}, "strip", z.ZodTypeAny, {
|
|
24
|
+
subject: string;
|
|
25
|
+
category: string;
|
|
26
|
+
topic: string;
|
|
27
|
+
}, {
|
|
28
|
+
subject: string;
|
|
29
|
+
category: string;
|
|
30
|
+
topic: string;
|
|
31
|
+
}>, "many">;
|
|
32
|
+
}, "strip", z.ZodTypeAny, {
|
|
33
|
+
quizTitle: string;
|
|
34
|
+
percentage: number;
|
|
35
|
+
topics: {
|
|
36
|
+
subject: string;
|
|
37
|
+
category: string;
|
|
38
|
+
topic: string;
|
|
39
|
+
}[];
|
|
40
|
+
}, {
|
|
41
|
+
quizTitle: string;
|
|
42
|
+
percentage: number;
|
|
43
|
+
topics: {
|
|
44
|
+
subject: string;
|
|
45
|
+
category: string;
|
|
46
|
+
topic: string;
|
|
47
|
+
}[];
|
|
48
|
+
}>, "many">>;
|
|
49
|
+
allAvailableTopics: z.ZodArray<z.ZodObject<{
|
|
50
|
+
loId: z.ZodString;
|
|
51
|
+
subject: z.ZodString;
|
|
52
|
+
category: z.ZodString;
|
|
53
|
+
topic: z.ZodString;
|
|
54
|
+
}, "strip", z.ZodTypeAny, {
|
|
55
|
+
subject: string;
|
|
56
|
+
category: string;
|
|
57
|
+
topic: string;
|
|
58
|
+
loId: string;
|
|
59
|
+
}, {
|
|
60
|
+
subject: string;
|
|
61
|
+
category: string;
|
|
62
|
+
topic: string;
|
|
63
|
+
loId: string;
|
|
64
|
+
}>, "many">;
|
|
65
|
+
}, "strip", z.ZodTypeAny, {
|
|
66
|
+
language: string;
|
|
67
|
+
allAvailableTopics: {
|
|
68
|
+
subject: string;
|
|
69
|
+
category: string;
|
|
70
|
+
topic: string;
|
|
71
|
+
loId: string;
|
|
72
|
+
}[];
|
|
73
|
+
performanceByTopic?: {
|
|
74
|
+
name: string;
|
|
75
|
+
averageScore: number;
|
|
76
|
+
}[] | undefined;
|
|
77
|
+
userName?: string | undefined;
|
|
78
|
+
recentHistory?: {
|
|
79
|
+
quizTitle: string;
|
|
80
|
+
percentage: number;
|
|
81
|
+
topics: {
|
|
82
|
+
subject: string;
|
|
83
|
+
category: string;
|
|
84
|
+
topic: string;
|
|
85
|
+
}[];
|
|
86
|
+
}[] | undefined;
|
|
87
|
+
}, {
|
|
88
|
+
language: string;
|
|
89
|
+
allAvailableTopics: {
|
|
90
|
+
subject: string;
|
|
91
|
+
category: string;
|
|
92
|
+
topic: string;
|
|
93
|
+
loId: string;
|
|
94
|
+
}[];
|
|
95
|
+
performanceByTopic?: {
|
|
96
|
+
name: string;
|
|
97
|
+
averageScore: number;
|
|
98
|
+
}[] | undefined;
|
|
99
|
+
userName?: string | undefined;
|
|
100
|
+
recentHistory?: {
|
|
101
|
+
quizTitle: string;
|
|
102
|
+
percentage: number;
|
|
103
|
+
topics: {
|
|
104
|
+
subject: string;
|
|
105
|
+
category: string;
|
|
106
|
+
topic: string;
|
|
107
|
+
}[];
|
|
108
|
+
}[] | undefined;
|
|
109
|
+
}>;
|
|
110
|
+
export type GeneratePracticeSuggestionClientInput = z.infer<typeof GeneratePracticeSuggestionInputSchema>;
|
|
111
|
+
declare const PracticeSuggestionOutputSchema: z.ZodObject<{
|
|
112
|
+
suggestionText: z.ZodString;
|
|
113
|
+
suggestedTopics: z.ZodArray<z.ZodObject<{
|
|
114
|
+
loId: z.ZodString;
|
|
115
|
+
topicName: z.ZodString;
|
|
116
|
+
reason: z.ZodEnum<["review", "explore"]>;
|
|
117
|
+
suggestedDifficulty: z.ZodEnum<["Very Easy", "Easy", "Medium", "Hard", "Expert"]>;
|
|
118
|
+
}, "strip", z.ZodTypeAny, {
|
|
119
|
+
loId: string;
|
|
120
|
+
topicName: string;
|
|
121
|
+
reason: "review" | "explore";
|
|
122
|
+
suggestedDifficulty: "Very Easy" | "Easy" | "Medium" | "Hard" | "Expert";
|
|
123
|
+
}, {
|
|
124
|
+
loId: string;
|
|
125
|
+
topicName: string;
|
|
126
|
+
reason: "review" | "explore";
|
|
127
|
+
suggestedDifficulty: "Very Easy" | "Easy" | "Medium" | "Hard" | "Expert";
|
|
128
|
+
}>, "many">;
|
|
129
|
+
}, "strip", z.ZodTypeAny, {
|
|
130
|
+
suggestionText: string;
|
|
131
|
+
suggestedTopics: {
|
|
132
|
+
loId: string;
|
|
133
|
+
topicName: string;
|
|
134
|
+
reason: "review" | "explore";
|
|
135
|
+
suggestedDifficulty: "Very Easy" | "Easy" | "Medium" | "Hard" | "Expert";
|
|
136
|
+
}[];
|
|
137
|
+
}, {
|
|
138
|
+
suggestionText: string;
|
|
139
|
+
suggestedTopics: {
|
|
140
|
+
loId: string;
|
|
141
|
+
topicName: string;
|
|
142
|
+
reason: "review" | "explore";
|
|
143
|
+
suggestedDifficulty: "Very Easy" | "Easy" | "Medium" | "Hard" | "Expert";
|
|
144
|
+
}[];
|
|
145
|
+
}>;
|
|
146
|
+
export type GeneratePracticeSuggestionOutput = z.infer<typeof PracticeSuggestionOutputSchema>;
|
|
147
|
+
export declare function generatePracticeSuggestion(clientInput: GeneratePracticeSuggestionClientInput, apiKey: string): Promise<PracticeSuggestion>;
|
|
148
|
+
export {};
|
|
149
|
+
//# sourceMappingURL=generate-practice-suggestion.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generate-practice-suggestion.d.ts","sourceRoot":"","sources":["../../../src/ai/flows/generate-practice-suggestion.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,kBAAkB,EAAsB,MAAM,kBAAkB,CAAC;AAO/E,QAAA,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsBzC,CAAC;AACH,MAAM,MAAM,qCAAqC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qCAAqC,CAAC,CAAC;AAE1G,QAAA,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQlC,CAAC;AACH,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AAO9F,wBAAsB,0BAA0B,CAC9C,WAAW,EAAE,qCAAqC,EAClD,MAAM,EAAE,MAAM,GACb,OAAO,CAAC,kBAAkB,CAAC,CAiE7B"}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import type { ImageContextItem } from '../../types/misc';
|
|
3
|
+
export declare const GenerateQuestionsFromQuizPlanClientInputSchema: z.ZodObject<{
|
|
4
|
+
quizPlan: z.ZodArray<z.ZodType<{
|
|
5
|
+
plannedTopic: string;
|
|
6
|
+
plannedQuestionType: import("../..").QuestionTypeStrings;
|
|
7
|
+
plannedBloomLevel: "remembering" | "understanding" | "applying" | "analyzing" | "evaluating" | "creating";
|
|
8
|
+
plannedContextId?: string | undefined;
|
|
9
|
+
targetMisconception?: string | undefined;
|
|
10
|
+
difficultyReason?: string | undefined;
|
|
11
|
+
topicSpecificity?: "broad" | "focused" | "specific" | undefined;
|
|
12
|
+
originalLoId?: string | undefined;
|
|
13
|
+
originalSubject?: string | undefined;
|
|
14
|
+
originalCategory?: string | undefined;
|
|
15
|
+
originalTopic?: string | undefined;
|
|
16
|
+
imageId?: string | null | undefined;
|
|
17
|
+
}, z.ZodTypeDef, {
|
|
18
|
+
plannedTopic: string;
|
|
19
|
+
plannedQuestionType: import("../..").QuestionTypeStrings;
|
|
20
|
+
plannedBloomLevel: "remembering" | "understanding" | "applying" | "analyzing" | "evaluating" | "creating";
|
|
21
|
+
plannedContextId?: string | undefined;
|
|
22
|
+
targetMisconception?: string | undefined;
|
|
23
|
+
difficultyReason?: string | undefined;
|
|
24
|
+
topicSpecificity?: "broad" | "focused" | "specific" | undefined;
|
|
25
|
+
originalLoId?: string | undefined;
|
|
26
|
+
originalSubject?: string | undefined;
|
|
27
|
+
originalCategory?: string | undefined;
|
|
28
|
+
originalTopic?: string | undefined;
|
|
29
|
+
imageId?: string | null | undefined;
|
|
30
|
+
}>, "many">;
|
|
31
|
+
language: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
32
|
+
imageContexts: z.ZodOptional<z.ZodArray<z.ZodType<ImageContextItem, z.ZodTypeDef, ImageContextItem>, "many">>;
|
|
33
|
+
}, "strip", z.ZodTypeAny, {
|
|
34
|
+
language: string;
|
|
35
|
+
quizPlan: {
|
|
36
|
+
plannedTopic: string;
|
|
37
|
+
plannedQuestionType: import("../..").QuestionTypeStrings;
|
|
38
|
+
plannedBloomLevel: "remembering" | "understanding" | "applying" | "analyzing" | "evaluating" | "creating";
|
|
39
|
+
plannedContextId?: string | undefined;
|
|
40
|
+
targetMisconception?: string | undefined;
|
|
41
|
+
difficultyReason?: string | undefined;
|
|
42
|
+
topicSpecificity?: "broad" | "focused" | "specific" | undefined;
|
|
43
|
+
originalLoId?: string | undefined;
|
|
44
|
+
originalSubject?: string | undefined;
|
|
45
|
+
originalCategory?: string | undefined;
|
|
46
|
+
originalTopic?: string | undefined;
|
|
47
|
+
imageId?: string | null | undefined;
|
|
48
|
+
}[];
|
|
49
|
+
imageContexts?: ImageContextItem[] | undefined;
|
|
50
|
+
}, {
|
|
51
|
+
quizPlan: {
|
|
52
|
+
plannedTopic: string;
|
|
53
|
+
plannedQuestionType: import("../..").QuestionTypeStrings;
|
|
54
|
+
plannedBloomLevel: "remembering" | "understanding" | "applying" | "analyzing" | "evaluating" | "creating";
|
|
55
|
+
plannedContextId?: string | undefined;
|
|
56
|
+
targetMisconception?: string | undefined;
|
|
57
|
+
difficultyReason?: string | undefined;
|
|
58
|
+
topicSpecificity?: "broad" | "focused" | "specific" | undefined;
|
|
59
|
+
originalLoId?: string | undefined;
|
|
60
|
+
originalSubject?: string | undefined;
|
|
61
|
+
originalCategory?: string | undefined;
|
|
62
|
+
originalTopic?: string | undefined;
|
|
63
|
+
imageId?: string | null | undefined;
|
|
64
|
+
}[];
|
|
65
|
+
language?: string | undefined;
|
|
66
|
+
imageContexts?: ImageContextItem[] | undefined;
|
|
67
|
+
}>;
|
|
68
|
+
export type GenerateQuestionsFromQuizPlanClientInput = z.infer<typeof GenerateQuestionsFromQuizPlanClientInputSchema>;
|
|
69
|
+
export declare const GenerationErrorSchema: z.ZodObject<{
|
|
70
|
+
plannedQuestionIndex: z.ZodNumber;
|
|
71
|
+
plannedTopic: z.ZodString;
|
|
72
|
+
plannedQuestionType: z.ZodString;
|
|
73
|
+
error: z.ZodString;
|
|
74
|
+
}, "strip", z.ZodTypeAny, {
|
|
75
|
+
error: string;
|
|
76
|
+
plannedTopic: string;
|
|
77
|
+
plannedQuestionType: string;
|
|
78
|
+
plannedQuestionIndex: number;
|
|
79
|
+
}, {
|
|
80
|
+
error: string;
|
|
81
|
+
plannedTopic: string;
|
|
82
|
+
plannedQuestionType: string;
|
|
83
|
+
plannedQuestionIndex: number;
|
|
84
|
+
}>;
|
|
85
|
+
export type GenerationError = z.infer<typeof GenerationErrorSchema>;
|
|
86
|
+
export declare const GenerateQuestionsFromQuizPlanOutputSchema: z.ZodObject<{
|
|
87
|
+
generatedQuestions: z.ZodArray<z.ZodAny, "many">;
|
|
88
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
89
|
+
plannedQuestionIndex: z.ZodNumber;
|
|
90
|
+
plannedTopic: z.ZodString;
|
|
91
|
+
plannedQuestionType: z.ZodString;
|
|
92
|
+
error: z.ZodString;
|
|
93
|
+
}, "strip", z.ZodTypeAny, {
|
|
94
|
+
error: string;
|
|
95
|
+
plannedTopic: string;
|
|
96
|
+
plannedQuestionType: string;
|
|
97
|
+
plannedQuestionIndex: number;
|
|
98
|
+
}, {
|
|
99
|
+
error: string;
|
|
100
|
+
plannedTopic: string;
|
|
101
|
+
plannedQuestionType: string;
|
|
102
|
+
plannedQuestionIndex: number;
|
|
103
|
+
}>, "many">>;
|
|
104
|
+
}, "strip", z.ZodTypeAny, {
|
|
105
|
+
generatedQuestions: any[];
|
|
106
|
+
errors?: {
|
|
107
|
+
error: string;
|
|
108
|
+
plannedTopic: string;
|
|
109
|
+
plannedQuestionType: string;
|
|
110
|
+
plannedQuestionIndex: number;
|
|
111
|
+
}[] | undefined;
|
|
112
|
+
}, {
|
|
113
|
+
generatedQuestions: any[];
|
|
114
|
+
errors?: {
|
|
115
|
+
error: string;
|
|
116
|
+
plannedTopic: string;
|
|
117
|
+
plannedQuestionType: string;
|
|
118
|
+
plannedQuestionIndex: number;
|
|
119
|
+
}[] | undefined;
|
|
120
|
+
}>;
|
|
121
|
+
export type GenerateQuestionsFromQuizPlanOutput = z.infer<typeof GenerateQuestionsFromQuizPlanOutputSchema>;
|
|
122
|
+
//# sourceMappingURL=generate-questions-from-quiz-plan-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generate-questions-from-quiz-plan-types.d.ts","sourceRoot":"","sources":["../../../src/ai/flows/generate-questions-from-quiz-plan-types.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAMzD,eAAO,MAAM,8CAA8C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIzD,CAAC;AACH,MAAM,MAAM,wCAAwC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8CAA8C,CAAC,CAAC;AAEtH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;EAKhC,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGpD,CAAC;AACH,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yCAAyC,CAAC,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { type GenerateQuestionsFromQuizPlanClientInput, type GenerateQuestionsFromQuizPlanOutput } from './generate-questions-from-quiz-plan-types';
|
|
2
|
+
export declare function generateQuestionsFromQuizPlan(clientInput: GenerateQuestionsFromQuizPlanClientInput, apiKey: string): Promise<GenerateQuestionsFromQuizPlanOutput>;
|
|
3
|
+
//# sourceMappingURL=generate-questions-from-quiz-plan.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generate-questions-from-quiz-plan.d.ts","sourceRoot":"","sources":["../../../src/ai/flows/generate-questions-from-quiz-plan.ts"],"names":[],"mappings":"AAuBA,OAAO,EACL,KAAK,wCAAwC,EAC7C,KAAK,mCAAmC,EACzC,MAAM,2CAA2C,CAAC;AAqCnD,wBAAsB,6BAA6B,CACjD,WAAW,EAAE,wCAAwC,EACrD,MAAM,EAAE,MAAM,GACb,OAAO,CAAC,mCAAmC,CAAC,CA8G9C"}
|
|
@@ -0,0 +1,358 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const GenerateQuizFromTextInputSchema: z.ZodObject<{
|
|
3
|
+
language: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4
|
+
documentContent: z.ZodString;
|
|
5
|
+
numQuestions: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
6
|
+
questionTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["multiple_choice", "true_false", "short_answer"]>, "many">>;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
language: string;
|
|
9
|
+
documentContent: string;
|
|
10
|
+
numQuestions: number;
|
|
11
|
+
questionTypes?: ("multiple_choice" | "true_false" | "short_answer")[] | undefined;
|
|
12
|
+
}, {
|
|
13
|
+
documentContent: string;
|
|
14
|
+
language?: string | undefined;
|
|
15
|
+
numQuestions?: number | undefined;
|
|
16
|
+
questionTypes?: ("multiple_choice" | "true_false" | "short_answer")[] | undefined;
|
|
17
|
+
}>;
|
|
18
|
+
export type GenerateQuizFromTextClientInput = z.infer<typeof GenerateQuizFromTextInputSchema>;
|
|
19
|
+
export declare const GenerateQuizFromTextOutputSchema: z.ZodObject<{
|
|
20
|
+
generatedQuestions: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
21
|
+
id: z.ZodString;
|
|
22
|
+
prompt: z.ZodString;
|
|
23
|
+
points: z.ZodOptional<z.ZodNumber>;
|
|
24
|
+
explanation: z.ZodOptional<z.ZodString>;
|
|
25
|
+
difficulty: z.ZodOptional<z.ZodEnum<["easy", "medium", "hard"]>>;
|
|
26
|
+
topic: z.ZodOptional<z.ZodString>;
|
|
27
|
+
category: z.ZodOptional<z.ZodString>;
|
|
28
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
29
|
+
learningObjective: z.ZodOptional<z.ZodString>;
|
|
30
|
+
bloomLevel: z.ZodOptional<z.ZodString>;
|
|
31
|
+
contextCode: z.ZodOptional<z.ZodString>;
|
|
32
|
+
gradeBand: z.ZodOptional<z.ZodString>;
|
|
33
|
+
course: z.ZodOptional<z.ZodString>;
|
|
34
|
+
glossary: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
35
|
+
} & {
|
|
36
|
+
questionType: z.ZodLiteral<"multiple_choice">;
|
|
37
|
+
options: z.ZodArray<z.ZodObject<{
|
|
38
|
+
id: z.ZodString;
|
|
39
|
+
text: z.ZodString;
|
|
40
|
+
}, "strip", z.ZodTypeAny, {
|
|
41
|
+
text: string;
|
|
42
|
+
id: string;
|
|
43
|
+
}, {
|
|
44
|
+
text: string;
|
|
45
|
+
id: string;
|
|
46
|
+
}>, "many">;
|
|
47
|
+
correctAnswerId: z.ZodString;
|
|
48
|
+
}, "strip", z.ZodTypeAny, {
|
|
49
|
+
id: string;
|
|
50
|
+
options: {
|
|
51
|
+
text: string;
|
|
52
|
+
id: string;
|
|
53
|
+
}[];
|
|
54
|
+
correctAnswerId: string;
|
|
55
|
+
questionType: "multiple_choice";
|
|
56
|
+
prompt: string;
|
|
57
|
+
subject?: string | undefined;
|
|
58
|
+
learningObjective?: string | undefined;
|
|
59
|
+
category?: string | undefined;
|
|
60
|
+
topic?: string | undefined;
|
|
61
|
+
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
62
|
+
bloomLevel?: string | undefined;
|
|
63
|
+
points?: number | undefined;
|
|
64
|
+
explanation?: string | undefined;
|
|
65
|
+
contextCode?: string | undefined;
|
|
66
|
+
gradeBand?: string | undefined;
|
|
67
|
+
course?: string | undefined;
|
|
68
|
+
glossary?: string[] | undefined;
|
|
69
|
+
}, {
|
|
70
|
+
id: string;
|
|
71
|
+
options: {
|
|
72
|
+
text: string;
|
|
73
|
+
id: string;
|
|
74
|
+
}[];
|
|
75
|
+
correctAnswerId: string;
|
|
76
|
+
questionType: "multiple_choice";
|
|
77
|
+
prompt: string;
|
|
78
|
+
subject?: string | undefined;
|
|
79
|
+
learningObjective?: string | undefined;
|
|
80
|
+
category?: string | undefined;
|
|
81
|
+
topic?: string | undefined;
|
|
82
|
+
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
83
|
+
bloomLevel?: string | undefined;
|
|
84
|
+
points?: number | undefined;
|
|
85
|
+
explanation?: string | undefined;
|
|
86
|
+
contextCode?: string | undefined;
|
|
87
|
+
gradeBand?: string | undefined;
|
|
88
|
+
course?: string | undefined;
|
|
89
|
+
glossary?: string[] | undefined;
|
|
90
|
+
}>, {
|
|
91
|
+
id: string;
|
|
92
|
+
options: {
|
|
93
|
+
text: string;
|
|
94
|
+
id: string;
|
|
95
|
+
}[];
|
|
96
|
+
correctAnswerId: string;
|
|
97
|
+
questionType: "multiple_choice";
|
|
98
|
+
prompt: string;
|
|
99
|
+
subject?: string | undefined;
|
|
100
|
+
learningObjective?: string | undefined;
|
|
101
|
+
category?: string | undefined;
|
|
102
|
+
topic?: string | undefined;
|
|
103
|
+
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
104
|
+
bloomLevel?: string | undefined;
|
|
105
|
+
points?: number | undefined;
|
|
106
|
+
explanation?: string | undefined;
|
|
107
|
+
contextCode?: string | undefined;
|
|
108
|
+
gradeBand?: string | undefined;
|
|
109
|
+
course?: string | undefined;
|
|
110
|
+
glossary?: string[] | undefined;
|
|
111
|
+
}, {
|
|
112
|
+
id: string;
|
|
113
|
+
options: {
|
|
114
|
+
text: string;
|
|
115
|
+
id: string;
|
|
116
|
+
}[];
|
|
117
|
+
correctAnswerId: string;
|
|
118
|
+
questionType: "multiple_choice";
|
|
119
|
+
prompt: string;
|
|
120
|
+
subject?: string | undefined;
|
|
121
|
+
learningObjective?: string | undefined;
|
|
122
|
+
category?: string | undefined;
|
|
123
|
+
topic?: string | undefined;
|
|
124
|
+
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
125
|
+
bloomLevel?: string | undefined;
|
|
126
|
+
points?: number | undefined;
|
|
127
|
+
explanation?: string | undefined;
|
|
128
|
+
contextCode?: string | undefined;
|
|
129
|
+
gradeBand?: string | undefined;
|
|
130
|
+
course?: string | undefined;
|
|
131
|
+
glossary?: string[] | undefined;
|
|
132
|
+
}>, z.ZodObject<{
|
|
133
|
+
id: z.ZodString;
|
|
134
|
+
prompt: z.ZodString;
|
|
135
|
+
points: z.ZodOptional<z.ZodNumber>;
|
|
136
|
+
explanation: z.ZodOptional<z.ZodString>;
|
|
137
|
+
difficulty: z.ZodOptional<z.ZodEnum<["easy", "medium", "hard"]>>;
|
|
138
|
+
topic: z.ZodOptional<z.ZodString>;
|
|
139
|
+
category: z.ZodOptional<z.ZodString>;
|
|
140
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
141
|
+
learningObjective: z.ZodOptional<z.ZodString>;
|
|
142
|
+
bloomLevel: z.ZodOptional<z.ZodString>;
|
|
143
|
+
contextCode: z.ZodOptional<z.ZodString>;
|
|
144
|
+
gradeBand: z.ZodOptional<z.ZodString>;
|
|
145
|
+
course: z.ZodOptional<z.ZodString>;
|
|
146
|
+
glossary: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
147
|
+
} & {
|
|
148
|
+
questionType: z.ZodLiteral<"true_false">;
|
|
149
|
+
correctAnswer: z.ZodBoolean;
|
|
150
|
+
}, "strip", z.ZodTypeAny, {
|
|
151
|
+
id: string;
|
|
152
|
+
correctAnswer: boolean;
|
|
153
|
+
questionType: "true_false";
|
|
154
|
+
prompt: string;
|
|
155
|
+
subject?: string | undefined;
|
|
156
|
+
learningObjective?: string | undefined;
|
|
157
|
+
category?: string | undefined;
|
|
158
|
+
topic?: string | undefined;
|
|
159
|
+
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
160
|
+
bloomLevel?: string | undefined;
|
|
161
|
+
points?: number | undefined;
|
|
162
|
+
explanation?: string | undefined;
|
|
163
|
+
contextCode?: string | undefined;
|
|
164
|
+
gradeBand?: string | undefined;
|
|
165
|
+
course?: string | undefined;
|
|
166
|
+
glossary?: string[] | undefined;
|
|
167
|
+
}, {
|
|
168
|
+
id: string;
|
|
169
|
+
correctAnswer: boolean;
|
|
170
|
+
questionType: "true_false";
|
|
171
|
+
prompt: string;
|
|
172
|
+
subject?: string | undefined;
|
|
173
|
+
learningObjective?: string | undefined;
|
|
174
|
+
category?: string | undefined;
|
|
175
|
+
topic?: string | undefined;
|
|
176
|
+
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
177
|
+
bloomLevel?: string | undefined;
|
|
178
|
+
points?: number | undefined;
|
|
179
|
+
explanation?: string | undefined;
|
|
180
|
+
contextCode?: string | undefined;
|
|
181
|
+
gradeBand?: string | undefined;
|
|
182
|
+
course?: string | undefined;
|
|
183
|
+
glossary?: string[] | undefined;
|
|
184
|
+
}>, z.ZodObject<{
|
|
185
|
+
id: z.ZodString;
|
|
186
|
+
prompt: z.ZodString;
|
|
187
|
+
points: z.ZodOptional<z.ZodNumber>;
|
|
188
|
+
explanation: z.ZodOptional<z.ZodString>;
|
|
189
|
+
difficulty: z.ZodOptional<z.ZodEnum<["easy", "medium", "hard"]>>;
|
|
190
|
+
topic: z.ZodOptional<z.ZodString>;
|
|
191
|
+
category: z.ZodOptional<z.ZodString>;
|
|
192
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
193
|
+
learningObjective: z.ZodOptional<z.ZodString>;
|
|
194
|
+
bloomLevel: z.ZodOptional<z.ZodString>;
|
|
195
|
+
contextCode: z.ZodOptional<z.ZodString>;
|
|
196
|
+
gradeBand: z.ZodOptional<z.ZodString>;
|
|
197
|
+
course: z.ZodOptional<z.ZodString>;
|
|
198
|
+
glossary: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
199
|
+
} & {
|
|
200
|
+
questionType: z.ZodLiteral<"short_answer">;
|
|
201
|
+
acceptedAnswers: z.ZodArray<z.ZodString, "many">;
|
|
202
|
+
isCaseSensitive: z.ZodOptional<z.ZodBoolean>;
|
|
203
|
+
}, "strip", z.ZodTypeAny, {
|
|
204
|
+
id: string;
|
|
205
|
+
questionType: "short_answer";
|
|
206
|
+
prompt: string;
|
|
207
|
+
acceptedAnswers: string[];
|
|
208
|
+
subject?: string | undefined;
|
|
209
|
+
learningObjective?: string | undefined;
|
|
210
|
+
category?: string | undefined;
|
|
211
|
+
topic?: string | undefined;
|
|
212
|
+
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
213
|
+
bloomLevel?: string | undefined;
|
|
214
|
+
points?: number | undefined;
|
|
215
|
+
explanation?: string | undefined;
|
|
216
|
+
contextCode?: string | undefined;
|
|
217
|
+
gradeBand?: string | undefined;
|
|
218
|
+
course?: string | undefined;
|
|
219
|
+
glossary?: string[] | undefined;
|
|
220
|
+
isCaseSensitive?: boolean | undefined;
|
|
221
|
+
}, {
|
|
222
|
+
id: string;
|
|
223
|
+
questionType: "short_answer";
|
|
224
|
+
prompt: string;
|
|
225
|
+
acceptedAnswers: string[];
|
|
226
|
+
subject?: string | undefined;
|
|
227
|
+
learningObjective?: string | undefined;
|
|
228
|
+
category?: string | undefined;
|
|
229
|
+
topic?: string | undefined;
|
|
230
|
+
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
231
|
+
bloomLevel?: string | undefined;
|
|
232
|
+
points?: number | undefined;
|
|
233
|
+
explanation?: string | undefined;
|
|
234
|
+
contextCode?: string | undefined;
|
|
235
|
+
gradeBand?: string | undefined;
|
|
236
|
+
course?: string | undefined;
|
|
237
|
+
glossary?: string[] | undefined;
|
|
238
|
+
isCaseSensitive?: boolean | undefined;
|
|
239
|
+
}>]>, "many">;
|
|
240
|
+
}, "strip", z.ZodTypeAny, {
|
|
241
|
+
generatedQuestions: ({
|
|
242
|
+
id: string;
|
|
243
|
+
correctAnswer: boolean;
|
|
244
|
+
questionType: "true_false";
|
|
245
|
+
prompt: string;
|
|
246
|
+
subject?: string | undefined;
|
|
247
|
+
learningObjective?: string | undefined;
|
|
248
|
+
category?: string | undefined;
|
|
249
|
+
topic?: string | undefined;
|
|
250
|
+
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
251
|
+
bloomLevel?: string | undefined;
|
|
252
|
+
points?: number | undefined;
|
|
253
|
+
explanation?: string | undefined;
|
|
254
|
+
contextCode?: string | undefined;
|
|
255
|
+
gradeBand?: string | undefined;
|
|
256
|
+
course?: string | undefined;
|
|
257
|
+
glossary?: string[] | undefined;
|
|
258
|
+
} | {
|
|
259
|
+
id: string;
|
|
260
|
+
options: {
|
|
261
|
+
text: string;
|
|
262
|
+
id: string;
|
|
263
|
+
}[];
|
|
264
|
+
correctAnswerId: string;
|
|
265
|
+
questionType: "multiple_choice";
|
|
266
|
+
prompt: string;
|
|
267
|
+
subject?: string | undefined;
|
|
268
|
+
learningObjective?: string | undefined;
|
|
269
|
+
category?: string | undefined;
|
|
270
|
+
topic?: string | undefined;
|
|
271
|
+
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
272
|
+
bloomLevel?: string | undefined;
|
|
273
|
+
points?: number | undefined;
|
|
274
|
+
explanation?: string | undefined;
|
|
275
|
+
contextCode?: string | undefined;
|
|
276
|
+
gradeBand?: string | undefined;
|
|
277
|
+
course?: string | undefined;
|
|
278
|
+
glossary?: string[] | undefined;
|
|
279
|
+
} | {
|
|
280
|
+
id: string;
|
|
281
|
+
questionType: "short_answer";
|
|
282
|
+
prompt: string;
|
|
283
|
+
acceptedAnswers: string[];
|
|
284
|
+
subject?: string | undefined;
|
|
285
|
+
learningObjective?: string | undefined;
|
|
286
|
+
category?: string | undefined;
|
|
287
|
+
topic?: string | undefined;
|
|
288
|
+
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
289
|
+
bloomLevel?: string | undefined;
|
|
290
|
+
points?: number | undefined;
|
|
291
|
+
explanation?: string | undefined;
|
|
292
|
+
contextCode?: string | undefined;
|
|
293
|
+
gradeBand?: string | undefined;
|
|
294
|
+
course?: string | undefined;
|
|
295
|
+
glossary?: string[] | undefined;
|
|
296
|
+
isCaseSensitive?: boolean | undefined;
|
|
297
|
+
})[];
|
|
298
|
+
}, {
|
|
299
|
+
generatedQuestions: ({
|
|
300
|
+
id: string;
|
|
301
|
+
correctAnswer: boolean;
|
|
302
|
+
questionType: "true_false";
|
|
303
|
+
prompt: string;
|
|
304
|
+
subject?: string | undefined;
|
|
305
|
+
learningObjective?: string | undefined;
|
|
306
|
+
category?: string | undefined;
|
|
307
|
+
topic?: string | undefined;
|
|
308
|
+
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
309
|
+
bloomLevel?: string | undefined;
|
|
310
|
+
points?: number | undefined;
|
|
311
|
+
explanation?: string | undefined;
|
|
312
|
+
contextCode?: string | undefined;
|
|
313
|
+
gradeBand?: string | undefined;
|
|
314
|
+
course?: string | undefined;
|
|
315
|
+
glossary?: string[] | undefined;
|
|
316
|
+
} | {
|
|
317
|
+
id: string;
|
|
318
|
+
options: {
|
|
319
|
+
text: string;
|
|
320
|
+
id: string;
|
|
321
|
+
}[];
|
|
322
|
+
correctAnswerId: string;
|
|
323
|
+
questionType: "multiple_choice";
|
|
324
|
+
prompt: string;
|
|
325
|
+
subject?: string | undefined;
|
|
326
|
+
learningObjective?: string | undefined;
|
|
327
|
+
category?: string | undefined;
|
|
328
|
+
topic?: string | undefined;
|
|
329
|
+
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
330
|
+
bloomLevel?: string | undefined;
|
|
331
|
+
points?: number | undefined;
|
|
332
|
+
explanation?: string | undefined;
|
|
333
|
+
contextCode?: string | undefined;
|
|
334
|
+
gradeBand?: string | undefined;
|
|
335
|
+
course?: string | undefined;
|
|
336
|
+
glossary?: string[] | undefined;
|
|
337
|
+
} | {
|
|
338
|
+
id: string;
|
|
339
|
+
questionType: "short_answer";
|
|
340
|
+
prompt: string;
|
|
341
|
+
acceptedAnswers: string[];
|
|
342
|
+
subject?: string | undefined;
|
|
343
|
+
learningObjective?: string | undefined;
|
|
344
|
+
category?: string | undefined;
|
|
345
|
+
topic?: string | undefined;
|
|
346
|
+
difficulty?: "easy" | "medium" | "hard" | undefined;
|
|
347
|
+
bloomLevel?: string | undefined;
|
|
348
|
+
points?: number | undefined;
|
|
349
|
+
explanation?: string | undefined;
|
|
350
|
+
contextCode?: string | undefined;
|
|
351
|
+
gradeBand?: string | undefined;
|
|
352
|
+
course?: string | undefined;
|
|
353
|
+
glossary?: string[] | undefined;
|
|
354
|
+
isCaseSensitive?: boolean | undefined;
|
|
355
|
+
})[];
|
|
356
|
+
}>;
|
|
357
|
+
export type GenerateQuizFromTextOutput = z.infer<typeof GenerateQuizFromTextOutputSchema>;
|
|
358
|
+
//# sourceMappingURL=generate-quiz-from-text-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generate-quiz-from-text-types.d.ts","sourceRoot":"","sources":["../../../src/ai/flows/generate-quiz-from-text-types.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;EAK1C,CAAC;AACH,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AAY9F,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE3C,CAAC;AACH,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { type GenerateQuizFromTextClientInput, type GenerateQuizFromTextOutput } from './generate-quiz-from-text-types';
|
|
2
|
+
export declare function generateQuizFromText(clientInput: GenerateQuizFromTextClientInput, apiKey: string): Promise<GenerateQuizFromTextOutput>;
|
|
3
|
+
//# sourceMappingURL=generate-quiz-from-text.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generate-quiz-from-text.d.ts","sourceRoot":"","sources":["../../../src/ai/flows/generate-quiz-from-text.ts"],"names":[],"mappings":"AAWA,OAAO,EACL,KAAK,+BAA+B,EACpC,KAAK,0BAA0B,EAEhC,MAAM,iCAAiC,CAAC;AAOzC,wBAAsB,oBAAoB,CACxC,WAAW,EAAE,+BAA+B,EAC5C,MAAM,EAAE,MAAM,GACb,OAAO,CAAC,0BAA0B,CAAC,CAkIrC"}
|