@thanh01.pmt/interactive-quiz-kit 1.0.30 → 1.0.32
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-ecosystem-D6vuLxnS.d.ts +228 -0
- package/dist/ai-ecosystem-DCPvHU4-.d.cts +228 -0
- package/dist/ai.d.cts +2017 -0
- package/dist/ai.d.ts +2017 -40
- package/dist/authoring.d.cts +11 -0
- package/dist/authoring.d.ts +11 -6
- package/dist/index.d.cts +444 -0
- package/dist/index.d.ts +444 -31
- package/dist/player.d.cts +13 -0
- package/dist/player.d.ts +3 -2
- package/dist/quiz-config-Df_89hFx.d.cts +198 -0
- package/dist/quiz-config-Df_89hFx.d.ts +198 -0
- package/dist/react-ui.d.cts +206 -0
- package/dist/react-ui.d.ts +206 -58
- package/dist/toaster-Blf5k3DP.d.cts +132 -0
- package/dist/toaster-BrChkQ23.d.ts +132 -0
- package/package.json +1 -1
- package/dist/ai/dev.d.ts +0 -16
- package/dist/ai/dev.d.ts.map +0 -1
- package/dist/ai/flows/ask-tutor-chat-types.d.ts +0 -67
- package/dist/ai/flows/ask-tutor-chat-types.d.ts.map +0 -1
- package/dist/ai/flows/ask-tutor-chat.d.ts +0 -3
- package/dist/ai/flows/ask-tutor-chat.d.ts.map +0 -1
- package/dist/ai/flows/assess-and-map-document-types.d.ts +0 -80
- package/dist/ai/flows/assess-and-map-document-types.d.ts.map +0 -1
- package/dist/ai/flows/assess-and-map-document.d.ts +0 -3
- package/dist/ai/flows/assess-and-map-document.d.ts.map +0 -1
- package/dist/ai/flows/evaluate-user-code-types.d.ts +0 -49
- package/dist/ai/flows/evaluate-user-code-types.d.ts.map +0 -1
- package/dist/ai/flows/evaluate-user-code.d.ts +0 -3
- package/dist/ai/flows/evaluate-user-code.d.ts.map +0 -1
- package/dist/ai/flows/generate-learning-analysis-types.d.ts +0 -200
- package/dist/ai/flows/generate-learning-analysis-types.d.ts.map +0 -1
- package/dist/ai/flows/generate-learning-analysis.d.ts +0 -4
- package/dist/ai/flows/generate-learning-analysis.d.ts.map +0 -1
- package/dist/ai/flows/generate-motivational-quote.d.ts +0 -3
- package/dist/ai/flows/generate-motivational-quote.d.ts.map +0 -1
- package/dist/ai/flows/generate-practice-quiz.d.ts +0 -76
- package/dist/ai/flows/generate-practice-quiz.d.ts.map +0 -1
- package/dist/ai/flows/generate-practice-suggestion.d.ts +0 -149
- package/dist/ai/flows/generate-practice-suggestion.d.ts.map +0 -1
- package/dist/ai/flows/generate-questions-from-quiz-plan-types.d.ts +0 -122
- package/dist/ai/flows/generate-questions-from-quiz-plan-types.d.ts.map +0 -1
- package/dist/ai/flows/generate-questions-from-quiz-plan.d.ts +0 -3
- package/dist/ai/flows/generate-questions-from-quiz-plan.d.ts.map +0 -1
- package/dist/ai/flows/generate-quiz-from-text-types.d.ts +0 -358
- package/dist/ai/flows/generate-quiz-from-text-types.d.ts.map +0 -1
- package/dist/ai/flows/generate-quiz-from-text.d.ts +0 -3
- package/dist/ai/flows/generate-quiz-from-text.d.ts.map +0 -1
- package/dist/ai/flows/generate-quiz-plan-types.d.ts +0 -272
- package/dist/ai/flows/generate-quiz-plan-types.d.ts.map +0 -1
- package/dist/ai/flows/generate-quiz-plan.d.ts +0 -12
- package/dist/ai/flows/generate-quiz-plan.d.ts.map +0 -1
- package/dist/ai/flows/generate-quiz-review.d.ts +0 -3
- package/dist/ai/flows/generate-quiz-review.d.ts.map +0 -1
- package/dist/ai/flows/generate-single-knowledge-card-types.d.ts +0 -34
- package/dist/ai/flows/generate-single-knowledge-card-types.d.ts.map +0 -1
- package/dist/ai/flows/generate-single-knowledge-card.d.ts +0 -3
- package/dist/ai/flows/generate-single-knowledge-card.d.ts.map +0 -1
- package/dist/ai/flows/motivational-quote-types.d.ts +0 -30
- package/dist/ai/flows/motivational-quote-types.d.ts.map +0 -1
- package/dist/ai/flows/plan-knowledge-cards-types.d.ts +0 -24
- package/dist/ai/flows/plan-knowledge-cards-types.d.ts.map +0 -1
- package/dist/ai/flows/plan-knowledge-cards.d.ts +0 -3
- package/dist/ai/flows/plan-knowledge-cards.d.ts.map +0 -1
- package/dist/ai/flows/question-gen/generate-coding-question-types.d.ts +0 -133
- package/dist/ai/flows/question-gen/generate-coding-question-types.d.ts.map +0 -1
- package/dist/ai/flows/question-gen/generate-coding-question.d.ts +0 -3
- package/dist/ai/flows/question-gen/generate-coding-question.d.ts.map +0 -1
- package/dist/ai/flows/question-gen/generate-fitb-question-types.d.ts +0 -142
- package/dist/ai/flows/question-gen/generate-fitb-question-types.d.ts.map +0 -1
- package/dist/ai/flows/question-gen/generate-fitb-question.d.ts +0 -3
- package/dist/ai/flows/question-gen/generate-fitb-question.d.ts.map +0 -1
- package/dist/ai/flows/question-gen/generate-matching-question-types.d.ts +0 -137
- package/dist/ai/flows/question-gen/generate-matching-question-types.d.ts.map +0 -1
- package/dist/ai/flows/question-gen/generate-matching-question.d.ts +0 -3
- package/dist/ai/flows/question-gen/generate-matching-question.d.ts.map +0 -1
- package/dist/ai/flows/question-gen/generate-mcq-question-types.d.ts +0 -137
- package/dist/ai/flows/question-gen/generate-mcq-question-types.d.ts.map +0 -1
- package/dist/ai/flows/question-gen/generate-mcq-question.d.ts +0 -3
- package/dist/ai/flows/question-gen/generate-mcq-question.d.ts.map +0 -1
- package/dist/ai/flows/question-gen/generate-mrq-question-types.d.ts +0 -143
- package/dist/ai/flows/question-gen/generate-mrq-question-types.d.ts.map +0 -1
- package/dist/ai/flows/question-gen/generate-mrq-question.d.ts +0 -3
- package/dist/ai/flows/question-gen/generate-mrq-question.d.ts.map +0 -1
- package/dist/ai/flows/question-gen/generate-numeric-question-types.d.ts +0 -131
- package/dist/ai/flows/question-gen/generate-numeric-question-types.d.ts.map +0 -1
- package/dist/ai/flows/question-gen/generate-numeric-question.d.ts +0 -3
- package/dist/ai/flows/question-gen/generate-numeric-question.d.ts.map +0 -1
- package/dist/ai/flows/question-gen/generate-sequence-question-types.d.ts +0 -119
- package/dist/ai/flows/question-gen/generate-sequence-question-types.d.ts.map +0 -1
- package/dist/ai/flows/question-gen/generate-sequence-question.d.ts +0 -3
- package/dist/ai/flows/question-gen/generate-sequence-question.d.ts.map +0 -1
- package/dist/ai/flows/question-gen/generate-short-answer-question-types.d.ts +0 -119
- package/dist/ai/flows/question-gen/generate-short-answer-question-types.d.ts.map +0 -1
- package/dist/ai/flows/question-gen/generate-short-answer-question.d.ts +0 -3
- package/dist/ai/flows/question-gen/generate-short-answer-question.d.ts.map +0 -1
- package/dist/ai/flows/question-gen/generate-true-false-question-types.d.ts +0 -115
- package/dist/ai/flows/question-gen/generate-true-false-question-types.d.ts.map +0 -1
- package/dist/ai/flows/question-gen/generate-true-false-question.d.ts +0 -3
- package/dist/ai/flows/question-gen/generate-true-false-question.d.ts.map +0 -1
- package/dist/ai/flows/question-gen/question-generation-schemas.d.ts +0 -1027
- package/dist/ai/flows/question-gen/question-generation-schemas.d.ts.map +0 -1
- package/dist/ai/flows/review-types.d.ts +0 -79
- package/dist/ai/flows/review-types.d.ts.map +0 -1
- package/dist/ai/flows/shared-schemas.d.ts +0 -133
- package/dist/ai/flows/shared-schemas.d.ts.map +0 -1
- package/dist/ai/genkit.d.ts +0 -2
- package/dist/ai/genkit.d.ts.map +0 -1
- package/dist/ai.d.ts.map +0 -1
- package/dist/authoring.d.ts.map +0 -1
- package/dist/i18n.d.ts +0 -3
- package/dist/i18n.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/player.d.ts.map +0 -1
- package/dist/react-ui/components/app/APIKeyManagerModal.d.ts +0 -8
- package/dist/react-ui/components/app/APIKeyManagerModal.d.ts.map +0 -1
- package/dist/react-ui/components/app/AppController.d.ts +0 -3
- package/dist/react-ui/components/app/AppController.d.ts.map +0 -1
- package/dist/react-ui/components/app/ManageImageContexts.d.ts +0 -3
- package/dist/react-ui/components/app/ManageImageContexts.d.ts.map +0 -1
- package/dist/react-ui/components/app/ManageTopics.d.ts +0 -3
- package/dist/react-ui/components/app/ManageTopics.d.ts.map +0 -1
- package/dist/react-ui/components/app/PersonalPracticeDashboard.d.ts +0 -3
- package/dist/react-ui/components/app/PersonalPracticeDashboard.d.ts.map +0 -1
- package/dist/react-ui/components/app/SettingsModal.d.ts +0 -10
- package/dist/react-ui/components/app/SettingsModal.d.ts.map +0 -1
- package/dist/react-ui/components/app/UploadResourceModal.d.ts +0 -8
- package/dist/react-ui/components/app/UploadResourceModal.d.ts.map +0 -1
- package/dist/react-ui/components/authoring/AIFullQuizGeneratorModal.d.ts +0 -11
- package/dist/react-ui/components/authoring/AIFullQuizGeneratorModal.d.ts.map +0 -1
- package/dist/react-ui/components/authoring/AIQuestionGeneratorModal.d.ts +0 -19
- package/dist/react-ui/components/authoring/AIQuestionGeneratorModal.d.ts.map +0 -1
- package/dist/react-ui/components/authoring/BlocklyProgrammingQuestionForm.d.ts +0 -9
- package/dist/react-ui/components/authoring/BlocklyProgrammingQuestionForm.d.ts.map +0 -1
- package/dist/react-ui/components/authoring/CodingQuestionForm.d.ts +0 -9
- package/dist/react-ui/components/authoring/CodingQuestionForm.d.ts.map +0 -1
- package/dist/react-ui/components/authoring/DragAndDropQuestionForm.d.ts +0 -9
- package/dist/react-ui/components/authoring/DragAndDropQuestionForm.d.ts.map +0 -1
- package/dist/react-ui/components/authoring/EditQuestionModal.d.ts +0 -11
- package/dist/react-ui/components/authoring/EditQuestionModal.d.ts.map +0 -1
- package/dist/react-ui/components/authoring/FillInTheBlanksQuestionForm.d.ts +0 -9
- package/dist/react-ui/components/authoring/FillInTheBlanksQuestionForm.d.ts.map +0 -1
- package/dist/react-ui/components/authoring/HotspotQuestionForm.d.ts +0 -9
- package/dist/react-ui/components/authoring/HotspotQuestionForm.d.ts.map +0 -1
- package/dist/react-ui/components/authoring/ImportQuestionsModal.d.ts +0 -10
- package/dist/react-ui/components/authoring/ImportQuestionsModal.d.ts.map +0 -1
- package/dist/react-ui/components/authoring/MatchingQuestionForm.d.ts +0 -9
- package/dist/react-ui/components/authoring/MatchingQuestionForm.d.ts.map +0 -1
- package/dist/react-ui/components/authoring/MultipleChoiceQuestionForm.d.ts +0 -9
- package/dist/react-ui/components/authoring/MultipleChoiceQuestionForm.d.ts.map +0 -1
- package/dist/react-ui/components/authoring/MultipleResponseQuestionForm.d.ts +0 -9
- package/dist/react-ui/components/authoring/MultipleResponseQuestionForm.d.ts.map +0 -1
- package/dist/react-ui/components/authoring/NumericQuestionForm.d.ts +0 -9
- package/dist/react-ui/components/authoring/NumericQuestionForm.d.ts.map +0 -1
- package/dist/react-ui/components/authoring/QuestionFilters.d.ts +0 -9
- package/dist/react-ui/components/authoring/QuestionFilters.d.ts.map +0 -1
- package/dist/react-ui/components/authoring/QuestionFormDialog.d.ts +0 -11
- package/dist/react-ui/components/authoring/QuestionFormDialog.d.ts.map +0 -1
- package/dist/react-ui/components/authoring/QuestionList.d.ts +0 -11
- package/dist/react-ui/components/authoring/QuestionList.d.ts.map +0 -1
- package/dist/react-ui/components/authoring/QuestionPreviewModal.d.ts +0 -10
- package/dist/react-ui/components/authoring/QuestionPreviewModal.d.ts.map +0 -1
- package/dist/react-ui/components/authoring/QuizAuthoringTool.d.ts +0 -10
- package/dist/react-ui/components/authoring/QuizAuthoringTool.d.ts.map +0 -1
- package/dist/react-ui/components/authoring/SCORMExportModal.d.ts +0 -13
- package/dist/react-ui/components/authoring/SCORMExportModal.d.ts.map +0 -1
- package/dist/react-ui/components/authoring/ScratchProgrammingQuestionForm.d.ts +0 -9
- package/dist/react-ui/components/authoring/ScratchProgrammingQuestionForm.d.ts.map +0 -1
- package/dist/react-ui/components/authoring/SequenceQuestionForm.d.ts +0 -9
- package/dist/react-ui/components/authoring/SequenceQuestionForm.d.ts.map +0 -1
- package/dist/react-ui/components/authoring/ShortAnswerQuestionForm.d.ts +0 -9
- package/dist/react-ui/components/authoring/ShortAnswerQuestionForm.d.ts.map +0 -1
- package/dist/react-ui/components/authoring/TrueFalseQuestionForm.d.ts +0 -9
- package/dist/react-ui/components/authoring/TrueFalseQuestionForm.d.ts.map +0 -1
- package/dist/react-ui/components/common/ClientTranslation.d.ts +0 -18
- package/dist/react-ui/components/common/ClientTranslation.d.ts.map +0 -1
- package/dist/react-ui/components/common/EditorToolbar.d.ts +0 -8
- package/dist/react-ui/components/common/EditorToolbar.d.ts.map +0 -1
- package/dist/react-ui/components/common/MarkdownEditor.d.ts +0 -11
- package/dist/react-ui/components/common/MarkdownEditor.d.ts.map +0 -1
- package/dist/react-ui/components/common/MarkdownRenderer.d.ts +0 -15
- package/dist/react-ui/components/common/MarkdownRenderer.d.ts.map +0 -1
- package/dist/react-ui/components/common/RichTextEditor.d.ts +0 -11
- package/dist/react-ui/components/common/RichTextEditor.d.ts.map +0 -1
- package/dist/react-ui/components/common/RichTextRenderer.d.ts +0 -16
- package/dist/react-ui/components/common/RichTextRenderer.d.ts.map +0 -1
- package/dist/react-ui/components/common/SimpleMarkdownEditor.d.ts +0 -17
- package/dist/react-ui/components/common/SimpleMarkdownEditor.d.ts.map +0 -1
- package/dist/react-ui/components/dashboard/AchievementCertificate.d.ts +0 -11
- package/dist/react-ui/components/dashboard/AchievementCertificate.d.ts.map +0 -1
- package/dist/react-ui/components/dashboard/Achievements.d.ts +0 -8
- package/dist/react-ui/components/dashboard/Achievements.d.ts.map +0 -1
- package/dist/react-ui/components/dashboard/ActivityCalendar.d.ts +0 -8
- package/dist/react-ui/components/dashboard/ActivityCalendar.d.ts.map +0 -1
- package/dist/react-ui/components/dashboard/AnalysisDialog.d.ts +0 -8
- package/dist/react-ui/components/dashboard/AnalysisDialog.d.ts.map +0 -1
- package/dist/react-ui/components/dashboard/ChatbotDialog.d.ts +0 -8
- package/dist/react-ui/components/dashboard/ChatbotDialog.d.ts.map +0 -1
- package/dist/react-ui/components/dashboard/Cheatsheet.d.ts +0 -3
- package/dist/react-ui/components/dashboard/Cheatsheet.d.ts.map +0 -1
- package/dist/react-ui/components/dashboard/DraggableDashboardCard.d.ts +0 -11
- package/dist/react-ui/components/dashboard/DraggableDashboardCard.d.ts.map +0 -1
- package/dist/react-ui/components/dashboard/FreestyleQuizzesCard.d.ts +0 -3
- package/dist/react-ui/components/dashboard/FreestyleQuizzesCard.d.ts.map +0 -1
- package/dist/react-ui/components/dashboard/GeneratedQuizzesCard.d.ts +0 -3
- package/dist/react-ui/components/dashboard/GeneratedQuizzesCard.d.ts.map +0 -1
- package/dist/react-ui/components/dashboard/GoalsProgress.d.ts +0 -3
- package/dist/react-ui/components/dashboard/GoalsProgress.d.ts.map +0 -1
- package/dist/react-ui/components/dashboard/PerformanceCharts.d.ts +0 -8
- package/dist/react-ui/components/dashboard/PerformanceCharts.d.ts.map +0 -1
- package/dist/react-ui/components/dashboard/PerformanceSnapshot.d.ts +0 -9
- package/dist/react-ui/components/dashboard/PerformanceSnapshot.d.ts.map +0 -1
- package/dist/react-ui/components/dashboard/PracticeHistoryTable.d.ts +0 -9
- package/dist/react-ui/components/dashboard/PracticeHistoryTable.d.ts.map +0 -1
- package/dist/react-ui/components/dashboard/RoadmapChecklist.d.ts +0 -3
- package/dist/react-ui/components/dashboard/RoadmapChecklist.d.ts.map +0 -1
- package/dist/react-ui/components/dashboard/SessionActionsDialog.d.ts +0 -13
- package/dist/react-ui/components/dashboard/SessionActionsDialog.d.ts.map +0 -1
- package/dist/react-ui/components/dashboard/ShareAchievementDialog.d.ts +0 -10
- package/dist/react-ui/components/dashboard/ShareAchievementDialog.d.ts.map +0 -1
- package/dist/react-ui/components/dashboard/StatCard.d.ts +0 -12
- package/dist/react-ui/components/dashboard/StatCard.d.ts.map +0 -1
- package/dist/react-ui/components/dashboard/SuggestionDialog.d.ts +0 -12
- package/dist/react-ui/components/dashboard/SuggestionDialog.d.ts.map +0 -1
- package/dist/react-ui/components/elements/accordion.d.ts +0 -8
- package/dist/react-ui/components/elements/accordion.d.ts.map +0 -1
- package/dist/react-ui/components/elements/alert-dialog.d.ts +0 -21
- package/dist/react-ui/components/elements/alert-dialog.d.ts.map +0 -1
- package/dist/react-ui/components/elements/alert.d.ts +0 -9
- package/dist/react-ui/components/elements/alert.d.ts.map +0 -1
- package/dist/react-ui/components/elements/avatar.d.ts +0 -7
- package/dist/react-ui/components/elements/avatar.d.ts.map +0 -1
- package/dist/react-ui/components/elements/badge.d.ts +0 -10
- package/dist/react-ui/components/elements/badge.d.ts.map +0 -1
- package/dist/react-ui/components/elements/button.d.ts +0 -12
- package/dist/react-ui/components/elements/button.d.ts.map +0 -1
- package/dist/react-ui/components/elements/calendar.d.ts +0 -9
- package/dist/react-ui/components/elements/calendar.d.ts.map +0 -1
- package/dist/react-ui/components/elements/card.d.ts +0 -9
- package/dist/react-ui/components/elements/card.d.ts.map +0 -1
- package/dist/react-ui/components/elements/chart.d.ts +0 -63
- package/dist/react-ui/components/elements/chart.d.ts.map +0 -1
- package/dist/react-ui/components/elements/checkbox.d.ts +0 -5
- package/dist/react-ui/components/elements/checkbox.d.ts.map +0 -1
- package/dist/react-ui/components/elements/dialog.d.ts +0 -20
- package/dist/react-ui/components/elements/dialog.d.ts.map +0 -1
- package/dist/react-ui/components/elements/dropdown-menu.d.ts +0 -28
- package/dist/react-ui/components/elements/dropdown-menu.d.ts.map +0 -1
- package/dist/react-ui/components/elements/form.d.ts +0 -24
- package/dist/react-ui/components/elements/form.d.ts.map +0 -1
- package/dist/react-ui/components/elements/input.d.ts +0 -4
- package/dist/react-ui/components/elements/input.d.ts.map +0 -1
- package/dist/react-ui/components/elements/label.d.ts +0 -6
- package/dist/react-ui/components/elements/label.d.ts.map +0 -1
- package/dist/react-ui/components/elements/menubar.d.ts +0 -29
- package/dist/react-ui/components/elements/menubar.d.ts.map +0 -1
- package/dist/react-ui/components/elements/popover.d.ts +0 -7
- package/dist/react-ui/components/elements/popover.d.ts.map +0 -1
- package/dist/react-ui/components/elements/progress.d.ts +0 -5
- package/dist/react-ui/components/elements/progress.d.ts.map +0 -1
- package/dist/react-ui/components/elements/radio-group.d.ts +0 -6
- package/dist/react-ui/components/elements/radio-group.d.ts.map +0 -1
- package/dist/react-ui/components/elements/scroll-area.d.ts +0 -6
- package/dist/react-ui/components/elements/scroll-area.d.ts.map +0 -1
- package/dist/react-ui/components/elements/select.d.ts +0 -14
- package/dist/react-ui/components/elements/select.d.ts.map +0 -1
- package/dist/react-ui/components/elements/separator.d.ts +0 -5
- package/dist/react-ui/components/elements/separator.d.ts.map +0 -1
- package/dist/react-ui/components/elements/sheet.d.ts +0 -26
- package/dist/react-ui/components/elements/sheet.d.ts.map +0 -1
- package/dist/react-ui/components/elements/sidebar.d.ts +0 -67
- package/dist/react-ui/components/elements/sidebar.d.ts.map +0 -1
- package/dist/react-ui/components/elements/skeleton.d.ts +0 -3
- package/dist/react-ui/components/elements/skeleton.d.ts.map +0 -1
- package/dist/react-ui/components/elements/slider.d.ts +0 -5
- package/dist/react-ui/components/elements/slider.d.ts.map +0 -1
- package/dist/react-ui/components/elements/switch.d.ts +0 -5
- package/dist/react-ui/components/elements/switch.d.ts.map +0 -1
- package/dist/react-ui/components/elements/table.d.ts +0 -11
- package/dist/react-ui/components/elements/table.d.ts.map +0 -1
- package/dist/react-ui/components/elements/tabs.d.ts +0 -8
- package/dist/react-ui/components/elements/tabs.d.ts.map +0 -1
- package/dist/react-ui/components/elements/textarea.d.ts +0 -4
- package/dist/react-ui/components/elements/textarea.d.ts.map +0 -1
- package/dist/react-ui/components/elements/toast.d.ts +0 -16
- package/dist/react-ui/components/elements/toast.d.ts.map +0 -1
- package/dist/react-ui/components/elements/toaster.d.ts +0 -2
- package/dist/react-ui/components/elements/toaster.d.ts.map +0 -1
- package/dist/react-ui/components/elements/tooltip.d.ts +0 -8
- package/dist/react-ui/components/elements/tooltip.d.ts.map +0 -1
- package/dist/react-ui/components/metadata/ApproachManager.d.ts +0 -3
- package/dist/react-ui/components/metadata/ApproachManager.d.ts.map +0 -1
- package/dist/react-ui/components/metadata/BloomLevelManager.d.ts +0 -3
- package/dist/react-ui/components/metadata/BloomLevelManager.d.ts.map +0 -1
- package/dist/react-ui/components/metadata/CategoryManager.d.ts +0 -3
- package/dist/react-ui/components/metadata/CategoryManager.d.ts.map +0 -1
- package/dist/react-ui/components/metadata/ContextManager.d.ts +0 -3
- package/dist/react-ui/components/metadata/ContextManager.d.ts.map +0 -1
- package/dist/react-ui/components/metadata/GradeLevelManager.d.ts +0 -3
- package/dist/react-ui/components/metadata/GradeLevelManager.d.ts.map +0 -1
- package/dist/react-ui/components/metadata/LearningObjectiveManager.d.ts +0 -3
- package/dist/react-ui/components/metadata/LearningObjectiveManager.d.ts.map +0 -1
- package/dist/react-ui/components/metadata/MetadataTabs.d.ts +0 -3
- package/dist/react-ui/components/metadata/MetadataTabs.d.ts.map +0 -1
- package/dist/react-ui/components/metadata/QuestionTypeManager.d.ts +0 -3
- package/dist/react-ui/components/metadata/QuestionTypeManager.d.ts.map +0 -1
- package/dist/react-ui/components/metadata/SubjectManager.d.ts +0 -3
- package/dist/react-ui/components/metadata/SubjectManager.d.ts.map +0 -1
- package/dist/react-ui/components/metadata/TopicManager.d.ts +0 -3
- package/dist/react-ui/components/metadata/TopicManager.d.ts.map +0 -1
- package/dist/react-ui/components/practice/PracticeModeController.d.ts +0 -3
- package/dist/react-ui/components/practice/PracticeModeController.d.ts.map +0 -1
- package/dist/react-ui/components/practice/PracticeSetup.d.ts +0 -12
- package/dist/react-ui/components/practice/PracticeSetup.d.ts.map +0 -1
- package/dist/react-ui/components/practice/QuizReview.d.ts +0 -12
- package/dist/react-ui/components/practice/QuizReview.d.ts.map +0 -1
- package/dist/react-ui/components/ui/BlocklyProgrammingQuestionUI.d.ts +0 -14
- package/dist/react-ui/components/ui/BlocklyProgrammingQuestionUI.d.ts.map +0 -1
- package/dist/react-ui/components/ui/CodingQuestionUI.d.ts +0 -11
- package/dist/react-ui/components/ui/CodingQuestionUI.d.ts.map +0 -1
- package/dist/react-ui/components/ui/DragAndDropQuestionUI.d.ts +0 -11
- package/dist/react-ui/components/ui/DragAndDropQuestionUI.d.ts.map +0 -1
- package/dist/react-ui/components/ui/FillInTheBlanksQuestionUI.d.ts +0 -11
- package/dist/react-ui/components/ui/FillInTheBlanksQuestionUI.d.ts.map +0 -1
- package/dist/react-ui/components/ui/HotspotQuestionUI.d.ts +0 -11
- package/dist/react-ui/components/ui/HotspotQuestionUI.d.ts.map +0 -1
- package/dist/react-ui/components/ui/MatchingQuestionUI.d.ts +0 -11
- package/dist/react-ui/components/ui/MatchingQuestionUI.d.ts.map +0 -1
- package/dist/react-ui/components/ui/MultipleChoiceQuestionUI.d.ts +0 -11
- package/dist/react-ui/components/ui/MultipleChoiceQuestionUI.d.ts.map +0 -1
- package/dist/react-ui/components/ui/MultipleResponseQuestionUI.d.ts +0 -11
- package/dist/react-ui/components/ui/MultipleResponseQuestionUI.d.ts.map +0 -1
- package/dist/react-ui/components/ui/NumericQuestionUI.d.ts +0 -11
- package/dist/react-ui/components/ui/NumericQuestionUI.d.ts.map +0 -1
- package/dist/react-ui/components/ui/QuestionRenderer.d.ts +0 -14
- package/dist/react-ui/components/ui/QuestionRenderer.d.ts.map +0 -1
- package/dist/react-ui/components/ui/QuizDataManagement.d.ts +0 -9
- package/dist/react-ui/components/ui/QuizDataManagement.d.ts.map +0 -1
- package/dist/react-ui/components/ui/QuizPlayer.d.ts +0 -10
- package/dist/react-ui/components/ui/QuizPlayer.d.ts.map +0 -1
- package/dist/react-ui/components/ui/QuizResult.d.ts +0 -13
- package/dist/react-ui/components/ui/QuizResult.d.ts.map +0 -1
- package/dist/react-ui/components/ui/ScratchProgrammingQuestionUI.d.ts +0 -13
- package/dist/react-ui/components/ui/ScratchProgrammingQuestionUI.d.ts.map +0 -1
- package/dist/react-ui/components/ui/SequenceQuestionUI.d.ts +0 -11
- package/dist/react-ui/components/ui/SequenceQuestionUI.d.ts.map +0 -1
- package/dist/react-ui/components/ui/ShortAnswerQuestionUI.d.ts +0 -11
- package/dist/react-ui/components/ui/ShortAnswerQuestionUI.d.ts.map +0 -1
- package/dist/react-ui/components/ui/TrueFalseQuestionUI.d.ts +0 -11
- package/dist/react-ui/components/ui/TrueFalseQuestionUI.d.ts.map +0 -1
- package/dist/react-ui/context/LanguageContext.d.ts +0 -21
- package/dist/react-ui/context/LanguageContext.d.ts.map +0 -1
- package/dist/react-ui/hooks/use-mobile.d.ts +0 -9
- package/dist/react-ui/hooks/use-mobile.d.ts.map +0 -1
- package/dist/react-ui/hooks/use-toast.d.ts +0 -45
- package/dist/react-ui/hooks/use-toast.d.ts.map +0 -1
- package/dist/react-ui/index.d.ts +0 -39
- package/dist/react-ui/index.d.ts.map +0 -1
- package/dist/react-ui.d.ts.map +0 -1
- package/dist/schemas/zod/blocklyProgrammingQuestionSchema.d.ts +0 -61
- package/dist/schemas/zod/blocklyProgrammingQuestionSchema.d.ts.map +0 -1
- package/dist/schemas/zod/codingQuestionSchema.d.ts +0 -111
- package/dist/schemas/zod/codingQuestionSchema.d.ts.map +0 -1
- package/dist/schemas/zod/dragAndDropQuestionSchema.d.ts +0 -109
- package/dist/schemas/zod/dragAndDropQuestionSchema.d.ts.map +0 -1
- package/dist/schemas/zod/fillInTheBlanksQuestionSchema.d.ts +0 -103
- package/dist/schemas/zod/fillInTheBlanksQuestionSchema.d.ts.map +0 -1
- package/dist/schemas/zod/hotspotQuestionSchema.d.ts +0 -111
- package/dist/schemas/zod/hotspotQuestionSchema.d.ts.map +0 -1
- package/dist/schemas/zod/matchingQuestionSchema.d.ts +0 -106
- package/dist/schemas/zod/matchingQuestionSchema.d.ts.map +0 -1
- package/dist/schemas/zod/multipleChoiceQuestionSchema.d.ts +0 -70
- package/dist/schemas/zod/multipleChoiceQuestionSchema.d.ts.map +0 -1
- package/dist/schemas/zod/multipleResponseQuestionSchema.d.ts +0 -70
- package/dist/schemas/zod/multipleResponseQuestionSchema.d.ts.map +0 -1
- package/dist/schemas/zod/numericQuestionSchema.d.ts +0 -55
- package/dist/schemas/zod/numericQuestionSchema.d.ts.map +0 -1
- package/dist/schemas/zod/quizConfigSchema.d.ts +0 -634
- package/dist/schemas/zod/quizConfigSchema.d.ts.map +0 -1
- package/dist/schemas/zod/scratchProgrammingQuestionSchema.d.ts +0 -61
- package/dist/schemas/zod/scratchProgrammingQuestionSchema.d.ts.map +0 -1
- package/dist/schemas/zod/sequenceQuestionSchema.d.ts +0 -70
- package/dist/schemas/zod/sequenceQuestionSchema.d.ts.map +0 -1
- package/dist/schemas/zod/shortAnswerQuestionSchema.d.ts +0 -55
- package/dist/schemas/zod/shortAnswerQuestionSchema.d.ts.map +0 -1
- package/dist/schemas/zod/trueFalseQuestionSchema.d.ts +0 -52
- package/dist/schemas/zod/trueFalseQuestionSchema.d.ts.map +0 -1
- package/dist/services/APIKeyService.d.ts +0 -28
- package/dist/services/APIKeyService.d.ts.map +0 -1
- package/dist/services/AchievementService.d.ts +0 -10
- package/dist/services/AchievementService.d.ts.map +0 -1
- package/dist/services/AnalysisReportService.d.ts +0 -11
- package/dist/services/AnalysisReportService.d.ts.map +0 -1
- package/dist/services/CardGenerationProcessor.d.ts +0 -7
- package/dist/services/CardGenerationProcessor.d.ts.map +0 -1
- package/dist/services/CodeEvaluationService.d.ts +0 -15
- package/dist/services/CodeEvaluationService.d.ts.map +0 -1
- package/dist/services/DashboardLayoutService.d.ts +0 -28
- package/dist/services/DashboardLayoutService.d.ts.map +0 -1
- package/dist/services/FreestyleQuizService.d.ts +0 -51
- package/dist/services/FreestyleQuizService.d.ts.map +0 -1
- package/dist/services/HTMLLauncherGenerator.d.ts +0 -3
- package/dist/services/HTMLLauncherGenerator.d.ts.map +0 -1
- package/dist/services/ImageContextService.d.ts +0 -55
- package/dist/services/ImageContextService.d.ts.map +0 -1
- package/dist/services/KnowledgeCardService.d.ts +0 -57
- package/dist/services/KnowledgeCardService.d.ts.map +0 -1
- package/dist/services/MotivationalQuotes.d.ts +0 -16
- package/dist/services/MotivationalQuotes.d.ts.map +0 -1
- package/dist/services/PracticeHistoryService.d.ts +0 -15
- package/dist/services/PracticeHistoryService.d.ts.map +0 -1
- package/dist/services/QuestionImportService.d.ts +0 -19
- package/dist/services/QuestionImportService.d.ts.map +0 -1
- package/dist/services/QuizEditorService.d.ts +0 -16
- package/dist/services/QuizEditorService.d.ts.map +0 -1
- package/dist/services/QuizEngine.d.ts +0 -40
- package/dist/services/QuizEngine.d.ts.map +0 -1
- package/dist/services/RoadmapService.d.ts +0 -9
- package/dist/services/RoadmapService.d.ts.map +0 -1
- package/dist/services/SCORMManifestGenerator.d.ts +0 -4
- package/dist/services/SCORMManifestGenerator.d.ts.map +0 -1
- package/dist/services/SCORMService.d.ts +0 -41
- package/dist/services/SCORMService.d.ts.map +0 -1
- package/dist/services/TopicDataService.d.ts +0 -62
- package/dist/services/TopicDataService.d.ts.map +0 -1
- package/dist/services/UserConfigService.d.ts +0 -27
- package/dist/services/UserConfigService.d.ts.map +0 -1
- package/dist/services/evaluators/base-evaluator.d.ts +0 -11
- package/dist/services/evaluators/base-evaluator.d.ts.map +0 -1
- package/dist/services/evaluators/coding-evaluator.d.ts +0 -6
- package/dist/services/evaluators/coding-evaluator.d.ts.map +0 -1
- package/dist/services/evaluators/drag-and-drop-evaluator.d.ts +0 -6
- package/dist/services/evaluators/drag-and-drop-evaluator.d.ts.map +0 -1
- package/dist/services/evaluators/fill-in-the-blanks-evaluator.d.ts +0 -6
- package/dist/services/evaluators/fill-in-the-blanks-evaluator.d.ts.map +0 -1
- package/dist/services/evaluators/hotspot-evaluator.d.ts +0 -6
- package/dist/services/evaluators/hotspot-evaluator.d.ts.map +0 -1
- package/dist/services/evaluators/matching-evaluator.d.ts +0 -6
- package/dist/services/evaluators/matching-evaluator.d.ts.map +0 -1
- package/dist/services/evaluators/multiple-choice-evaluator.d.ts +0 -6
- package/dist/services/evaluators/multiple-choice-evaluator.d.ts.map +0 -1
- package/dist/services/evaluators/multiple-response-evaluator.d.ts +0 -6
- package/dist/services/evaluators/multiple-response-evaluator.d.ts.map +0 -1
- package/dist/services/evaluators/numeric-evaluator.d.ts +0 -6
- package/dist/services/evaluators/numeric-evaluator.d.ts.map +0 -1
- package/dist/services/evaluators/programming-evaluator.d.ts +0 -6
- package/dist/services/evaluators/programming-evaluator.d.ts.map +0 -1
- package/dist/services/evaluators/sequence-evaluator.d.ts +0 -6
- package/dist/services/evaluators/sequence-evaluator.d.ts.map +0 -1
- package/dist/services/evaluators/short-answer-evaluator.d.ts +0 -6
- package/dist/services/evaluators/short-answer-evaluator.d.ts.map +0 -1
- package/dist/services/evaluators/true-false-evaluator.d.ts +0 -6
- package/dist/services/evaluators/true-false-evaluator.d.ts.map +0 -1
- package/dist/services/metadataService.d.ts +0 -40
- package/dist/services/metadataService.d.ts.map +0 -1
- package/dist/services/questionBankService.d.ts +0 -19
- package/dist/services/questionBankService.d.ts.map +0 -1
- package/dist/services/sampleQuiz.d.ts +0 -4
- package/dist/services/sampleQuiz.d.ts.map +0 -1
- package/dist/services/scormPackaging.d.ts +0 -11
- package/dist/services/scormPackaging.d.ts.map +0 -1
- package/dist/types/ai-ecosystem.d.ts +0 -57
- package/dist/types/ai-ecosystem.d.ts.map +0 -1
- package/dist/types/common.d.ts +0 -3
- package/dist/types/common.d.ts.map +0 -1
- package/dist/types/learning-objectives.d.ts +0 -12
- package/dist/types/learning-objectives.d.ts.map +0 -1
- package/dist/types/metadata.d.ts +0 -45
- package/dist/types/metadata.d.ts.map +0 -1
- package/dist/types/misc.d.ts +0 -102
- package/dist/types/misc.d.ts.map +0 -1
- package/dist/types/question-bank.d.ts +0 -28
- package/dist/types/question-bank.d.ts.map +0 -1
- package/dist/types/questions.d.ts +0 -151
- package/dist/types/questions.d.ts.map +0 -1
- package/dist/types/quiz-config.d.ts +0 -12
- package/dist/types/quiz-config.d.ts.map +0 -1
- package/dist/types/quiz-engine.d.ts +0 -23
- package/dist/types/quiz-engine.d.ts.map +0 -1
- package/dist/types/quiz-settings.d.ts +0 -35
- package/dist/types/quiz-settings.d.ts.map +0 -1
- package/dist/types/results.d.ts +0 -72
- package/dist/types/results.d.ts.map +0 -1
- package/dist/types.d.ts +0 -12
- package/dist/types.d.ts.map +0 -1
- package/dist/utils/aiUtils.d.ts +0 -11
- package/dist/utils/aiUtils.d.ts.map +0 -1
- package/dist/utils/asyncUtils.d.ts +0 -22
- package/dist/utils/asyncUtils.d.ts.map +0 -1
- package/dist/utils/debug-logger.d.ts +0 -24
- package/dist/utils/debug-logger.d.ts.map +0 -1
- package/dist/utils/formattedDate.d.ts +0 -2
- package/dist/utils/formattedDate.d.ts.map +0 -1
- package/dist/utils/idGenerators.d.ts +0 -7
- package/dist/utils/idGenerators.d.ts.map +0 -1
- package/dist/utils/jsonUtils.d.ts +0 -18
- package/dist/utils/jsonUtils.d.ts.map +0 -1
- package/dist/utils/use-mobile.d.ts +0 -2
- package/dist/utils/use-mobile.d.ts.map +0 -1
- package/dist/utils/utils.d.ts +0 -3
- package/dist/utils/utils.d.ts.map +0 -1
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
import { R as RichContentString, Q as QuestionTypeStrings, s as QuizConfig } from './quiz-config-Df_89hFx.js';
|
|
2
|
+
|
|
3
|
+
interface TestCaseResult {
|
|
4
|
+
testCaseId: string;
|
|
5
|
+
passed: boolean;
|
|
6
|
+
actualOutput: any;
|
|
7
|
+
reasoning: string;
|
|
8
|
+
}
|
|
9
|
+
type UserAnswerType = string | string[] | Record<string, string> | boolean | null;
|
|
10
|
+
type UserAnswers = Map<string, UserAnswerType>;
|
|
11
|
+
interface PerformanceMetric {
|
|
12
|
+
totalQuestions: number;
|
|
13
|
+
correctQuestions: number;
|
|
14
|
+
pointsEarned: number;
|
|
15
|
+
maxPoints: number;
|
|
16
|
+
percentage: number;
|
|
17
|
+
}
|
|
18
|
+
interface PerformanceByLearningObjective extends PerformanceMetric {
|
|
19
|
+
learningObjective: string;
|
|
20
|
+
}
|
|
21
|
+
interface PerformanceByCategory extends PerformanceMetric {
|
|
22
|
+
category: string;
|
|
23
|
+
}
|
|
24
|
+
interface PerformanceByTopic extends PerformanceMetric {
|
|
25
|
+
topic: string;
|
|
26
|
+
}
|
|
27
|
+
interface PerformanceByDifficulty extends PerformanceMetric {
|
|
28
|
+
difficulty: string;
|
|
29
|
+
}
|
|
30
|
+
interface PerformanceByBloomLevel extends PerformanceMetric {
|
|
31
|
+
bloomLevel: string;
|
|
32
|
+
}
|
|
33
|
+
type AnswerDetail = {
|
|
34
|
+
id: string | string[] | null;
|
|
35
|
+
value: RichContentString | RichContentString[] | Record<string, RichContentString> | boolean | number | null;
|
|
36
|
+
};
|
|
37
|
+
interface QuizResultType {
|
|
38
|
+
quizTitle?: string;
|
|
39
|
+
score: number;
|
|
40
|
+
maxScore: number;
|
|
41
|
+
percentage: number;
|
|
42
|
+
answers: UserAnswers;
|
|
43
|
+
passed?: boolean;
|
|
44
|
+
questionResults: Array<{
|
|
45
|
+
questionId: string;
|
|
46
|
+
questionType: QuestionTypeStrings;
|
|
47
|
+
prompt: RichContentString;
|
|
48
|
+
isCorrect: boolean;
|
|
49
|
+
pointsEarned: number;
|
|
50
|
+
userAnswer: AnswerDetail | null;
|
|
51
|
+
correctAnswer: AnswerDetail | null;
|
|
52
|
+
allOptions?: {
|
|
53
|
+
id: string;
|
|
54
|
+
value: RichContentString;
|
|
55
|
+
}[];
|
|
56
|
+
timeSpentSeconds?: number;
|
|
57
|
+
evaluationDetails?: TestCaseResult[];
|
|
58
|
+
}>;
|
|
59
|
+
webhookStatus?: 'idle' | 'sending' | 'success' | 'error';
|
|
60
|
+
webhookError?: string;
|
|
61
|
+
scormStatus?: 'idle' | 'no_api' | 'initializing' | 'initialized' | 'sending_data' | 'committed' | 'terminated' | 'error';
|
|
62
|
+
scormError?: string;
|
|
63
|
+
studentName?: string;
|
|
64
|
+
totalTimeSpentSeconds?: number;
|
|
65
|
+
averageTimePerQuestionSeconds?: number;
|
|
66
|
+
performanceByLearningObjective?: PerformanceByLearningObjective[];
|
|
67
|
+
performanceByCategory?: PerformanceByCategory[];
|
|
68
|
+
performanceByTopic?: PerformanceByTopic[];
|
|
69
|
+
performanceByDifficulty?: PerformanceByDifficulty[];
|
|
70
|
+
performanceByBloomLevel?: PerformanceByBloomLevel[];
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
interface ImportError {
|
|
74
|
+
index: number;
|
|
75
|
+
message: string;
|
|
76
|
+
data: any;
|
|
77
|
+
}
|
|
78
|
+
interface QuestionReview {
|
|
79
|
+
questionId: string;
|
|
80
|
+
explanation: RichContentString;
|
|
81
|
+
}
|
|
82
|
+
interface QuizReviewContent {
|
|
83
|
+
questionReviews: QuestionReview[];
|
|
84
|
+
overallSummary: RichContentString;
|
|
85
|
+
relatedTopics: string[];
|
|
86
|
+
}
|
|
87
|
+
interface AchievementDefinition {
|
|
88
|
+
id: string;
|
|
89
|
+
icon: string;
|
|
90
|
+
nameKey: string;
|
|
91
|
+
descriptionKey: string;
|
|
92
|
+
condition: {
|
|
93
|
+
type: string;
|
|
94
|
+
params: Record<string, any>;
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
interface Achievement {
|
|
98
|
+
id: string;
|
|
99
|
+
name: string;
|
|
100
|
+
description: string;
|
|
101
|
+
icon: string;
|
|
102
|
+
unlockedAt?: number;
|
|
103
|
+
}
|
|
104
|
+
type PracticeDifficulty = 'Very Easy' | 'Easy' | 'Medium' | 'Hard' | 'Expert';
|
|
105
|
+
interface PracticeSuggestionTopic {
|
|
106
|
+
loId: string;
|
|
107
|
+
topicName: string;
|
|
108
|
+
reason: 'review' | 'explore';
|
|
109
|
+
suggestedDifficulty?: PracticeDifficulty;
|
|
110
|
+
}
|
|
111
|
+
interface PracticeSuggestion {
|
|
112
|
+
suggestionText: RichContentString;
|
|
113
|
+
suggestedTopics: PracticeSuggestionTopic[];
|
|
114
|
+
}
|
|
115
|
+
interface KnowledgeCard {
|
|
116
|
+
id: string;
|
|
117
|
+
concept: string;
|
|
118
|
+
definition: RichContentString;
|
|
119
|
+
example: RichContentString;
|
|
120
|
+
subject?: string;
|
|
121
|
+
}
|
|
122
|
+
interface PracticeTopicSummary {
|
|
123
|
+
subject: string;
|
|
124
|
+
category: string;
|
|
125
|
+
topic: string;
|
|
126
|
+
}
|
|
127
|
+
interface PracticeSession {
|
|
128
|
+
id: string;
|
|
129
|
+
timestamp: number;
|
|
130
|
+
quizConfig: QuizConfig;
|
|
131
|
+
quizResult: QuizResultType;
|
|
132
|
+
quizReview: QuizReviewContent | null;
|
|
133
|
+
summary: {
|
|
134
|
+
topics: PracticeTopicSummary[];
|
|
135
|
+
score: number;
|
|
136
|
+
maxScore: number;
|
|
137
|
+
percentage: number;
|
|
138
|
+
};
|
|
139
|
+
}
|
|
140
|
+
interface PracticeSessionSummary {
|
|
141
|
+
id: string;
|
|
142
|
+
timestamp: number;
|
|
143
|
+
quizTitle: string;
|
|
144
|
+
topics: PracticeTopicSummary[];
|
|
145
|
+
score: number | null;
|
|
146
|
+
maxScore: number | null;
|
|
147
|
+
percentage: number | null;
|
|
148
|
+
}
|
|
149
|
+
type ActivityCalendarData = Record<string, number>;
|
|
150
|
+
interface PerformanceSummary {
|
|
151
|
+
name: string;
|
|
152
|
+
totalSessions: number;
|
|
153
|
+
averageScore: number;
|
|
154
|
+
}
|
|
155
|
+
interface PracticeStats {
|
|
156
|
+
totalSessions: number;
|
|
157
|
+
currentStreak: number;
|
|
158
|
+
longestStreak: number;
|
|
159
|
+
activityCalendar: ActivityCalendarData;
|
|
160
|
+
performanceBySubject: PerformanceSummary[];
|
|
161
|
+
performanceByTopic: PerformanceSummary[];
|
|
162
|
+
}
|
|
163
|
+
interface ImageContextItem {
|
|
164
|
+
id: string;
|
|
165
|
+
imageUrl: string;
|
|
166
|
+
imageAltText: string;
|
|
167
|
+
detailedDescription: string;
|
|
168
|
+
subject: string;
|
|
169
|
+
category: string;
|
|
170
|
+
topic: string;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
interface RoadmapItem {
|
|
174
|
+
day: string;
|
|
175
|
+
topicName: string;
|
|
176
|
+
reason: string;
|
|
177
|
+
suggestedDifficulty: PracticeDifficulty;
|
|
178
|
+
loId: string;
|
|
179
|
+
isCompleted: boolean;
|
|
180
|
+
}
|
|
181
|
+
interface WeeklyRoadmap {
|
|
182
|
+
generatedAt: number;
|
|
183
|
+
items: RoadmapItem[];
|
|
184
|
+
}
|
|
185
|
+
interface AnalysisReport {
|
|
186
|
+
generatedAt: number;
|
|
187
|
+
startDate: string;
|
|
188
|
+
endDate: string;
|
|
189
|
+
effortAndConsistencyRemarks: RichContentString;
|
|
190
|
+
strengths: string[];
|
|
191
|
+
areasForImprovement: string[];
|
|
192
|
+
gamificationRemarks: RichContentString;
|
|
193
|
+
}
|
|
194
|
+
interface LearningAnalysis {
|
|
195
|
+
analysisReport?: AnalysisReport;
|
|
196
|
+
weeklyRoadmap?: WeeklyRoadmap;
|
|
197
|
+
}
|
|
198
|
+
type DashboardCardId = 'roadmap' | 'activity' | 'history' | 'performance' | 'achievements' | 'knowledgeCards' | 'goals' | 'generatedQuizzes' | 'freestyleQuizzes';
|
|
199
|
+
interface DashboardCardConfig {
|
|
200
|
+
id: DashboardCardId;
|
|
201
|
+
visible: boolean;
|
|
202
|
+
}
|
|
203
|
+
interface DashboardLayout {
|
|
204
|
+
column1: DashboardCardConfig[];
|
|
205
|
+
column2: DashboardCardConfig[];
|
|
206
|
+
}
|
|
207
|
+
interface ChatMessage {
|
|
208
|
+
id: string;
|
|
209
|
+
role: 'user' | 'assistant';
|
|
210
|
+
content: RichContentString;
|
|
211
|
+
}
|
|
212
|
+
interface ChatContext {
|
|
213
|
+
history: ChatMessage[];
|
|
214
|
+
knowledgeCards: Omit<KnowledgeCard, 'id' | 'subject'>[];
|
|
215
|
+
}
|
|
216
|
+
type GoalType = 'average_score_subject' | 'mastery_topic';
|
|
217
|
+
interface Goal {
|
|
218
|
+
id: string;
|
|
219
|
+
type: GoalType;
|
|
220
|
+
targetValue: number;
|
|
221
|
+
subject?: string;
|
|
222
|
+
topic?: string;
|
|
223
|
+
consecutiveSessions?: number;
|
|
224
|
+
isAchieved: boolean;
|
|
225
|
+
achievedAt?: number;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
export type { AnswerDetail as A, ChatMessage as C, DashboardCardId as D, GoalType as G, ImportError as I, KnowledgeCard as K, LearningAnalysis as L, PerformanceByLearningObjective as P, QuizResultType as Q, RoadmapItem as R, TestCaseResult as T, UserAnswerType as U, WeeklyRoadmap as W, UserAnswers as a, PerformanceByCategory as b, PerformanceByTopic as c, PerformanceByDifficulty as d, PerformanceByBloomLevel as e, PerformanceMetric as f, QuestionReview as g, QuizReviewContent as h, Achievement as i, AchievementDefinition as j, PracticeDifficulty as k, PracticeSuggestionTopic as l, PracticeSuggestion as m, PracticeSession as n, PracticeStats as o, PracticeSessionSummary as p, PracticeTopicSummary as q, ActivityCalendarData as r, PerformanceSummary as s, ImageContextItem as t, AnalysisReport as u, DashboardCardConfig as v, DashboardLayout as w, ChatContext as x, Goal as y };
|
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
import { R as RichContentString, Q as QuestionTypeStrings, s as QuizConfig } from './quiz-config-Df_89hFx.cjs';
|
|
2
|
+
|
|
3
|
+
interface TestCaseResult {
|
|
4
|
+
testCaseId: string;
|
|
5
|
+
passed: boolean;
|
|
6
|
+
actualOutput: any;
|
|
7
|
+
reasoning: string;
|
|
8
|
+
}
|
|
9
|
+
type UserAnswerType = string | string[] | Record<string, string> | boolean | null;
|
|
10
|
+
type UserAnswers = Map<string, UserAnswerType>;
|
|
11
|
+
interface PerformanceMetric {
|
|
12
|
+
totalQuestions: number;
|
|
13
|
+
correctQuestions: number;
|
|
14
|
+
pointsEarned: number;
|
|
15
|
+
maxPoints: number;
|
|
16
|
+
percentage: number;
|
|
17
|
+
}
|
|
18
|
+
interface PerformanceByLearningObjective extends PerformanceMetric {
|
|
19
|
+
learningObjective: string;
|
|
20
|
+
}
|
|
21
|
+
interface PerformanceByCategory extends PerformanceMetric {
|
|
22
|
+
category: string;
|
|
23
|
+
}
|
|
24
|
+
interface PerformanceByTopic extends PerformanceMetric {
|
|
25
|
+
topic: string;
|
|
26
|
+
}
|
|
27
|
+
interface PerformanceByDifficulty extends PerformanceMetric {
|
|
28
|
+
difficulty: string;
|
|
29
|
+
}
|
|
30
|
+
interface PerformanceByBloomLevel extends PerformanceMetric {
|
|
31
|
+
bloomLevel: string;
|
|
32
|
+
}
|
|
33
|
+
type AnswerDetail = {
|
|
34
|
+
id: string | string[] | null;
|
|
35
|
+
value: RichContentString | RichContentString[] | Record<string, RichContentString> | boolean | number | null;
|
|
36
|
+
};
|
|
37
|
+
interface QuizResultType {
|
|
38
|
+
quizTitle?: string;
|
|
39
|
+
score: number;
|
|
40
|
+
maxScore: number;
|
|
41
|
+
percentage: number;
|
|
42
|
+
answers: UserAnswers;
|
|
43
|
+
passed?: boolean;
|
|
44
|
+
questionResults: Array<{
|
|
45
|
+
questionId: string;
|
|
46
|
+
questionType: QuestionTypeStrings;
|
|
47
|
+
prompt: RichContentString;
|
|
48
|
+
isCorrect: boolean;
|
|
49
|
+
pointsEarned: number;
|
|
50
|
+
userAnswer: AnswerDetail | null;
|
|
51
|
+
correctAnswer: AnswerDetail | null;
|
|
52
|
+
allOptions?: {
|
|
53
|
+
id: string;
|
|
54
|
+
value: RichContentString;
|
|
55
|
+
}[];
|
|
56
|
+
timeSpentSeconds?: number;
|
|
57
|
+
evaluationDetails?: TestCaseResult[];
|
|
58
|
+
}>;
|
|
59
|
+
webhookStatus?: 'idle' | 'sending' | 'success' | 'error';
|
|
60
|
+
webhookError?: string;
|
|
61
|
+
scormStatus?: 'idle' | 'no_api' | 'initializing' | 'initialized' | 'sending_data' | 'committed' | 'terminated' | 'error';
|
|
62
|
+
scormError?: string;
|
|
63
|
+
studentName?: string;
|
|
64
|
+
totalTimeSpentSeconds?: number;
|
|
65
|
+
averageTimePerQuestionSeconds?: number;
|
|
66
|
+
performanceByLearningObjective?: PerformanceByLearningObjective[];
|
|
67
|
+
performanceByCategory?: PerformanceByCategory[];
|
|
68
|
+
performanceByTopic?: PerformanceByTopic[];
|
|
69
|
+
performanceByDifficulty?: PerformanceByDifficulty[];
|
|
70
|
+
performanceByBloomLevel?: PerformanceByBloomLevel[];
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
interface ImportError {
|
|
74
|
+
index: number;
|
|
75
|
+
message: string;
|
|
76
|
+
data: any;
|
|
77
|
+
}
|
|
78
|
+
interface QuestionReview {
|
|
79
|
+
questionId: string;
|
|
80
|
+
explanation: RichContentString;
|
|
81
|
+
}
|
|
82
|
+
interface QuizReviewContent {
|
|
83
|
+
questionReviews: QuestionReview[];
|
|
84
|
+
overallSummary: RichContentString;
|
|
85
|
+
relatedTopics: string[];
|
|
86
|
+
}
|
|
87
|
+
interface AchievementDefinition {
|
|
88
|
+
id: string;
|
|
89
|
+
icon: string;
|
|
90
|
+
nameKey: string;
|
|
91
|
+
descriptionKey: string;
|
|
92
|
+
condition: {
|
|
93
|
+
type: string;
|
|
94
|
+
params: Record<string, any>;
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
interface Achievement {
|
|
98
|
+
id: string;
|
|
99
|
+
name: string;
|
|
100
|
+
description: string;
|
|
101
|
+
icon: string;
|
|
102
|
+
unlockedAt?: number;
|
|
103
|
+
}
|
|
104
|
+
type PracticeDifficulty = 'Very Easy' | 'Easy' | 'Medium' | 'Hard' | 'Expert';
|
|
105
|
+
interface PracticeSuggestionTopic {
|
|
106
|
+
loId: string;
|
|
107
|
+
topicName: string;
|
|
108
|
+
reason: 'review' | 'explore';
|
|
109
|
+
suggestedDifficulty?: PracticeDifficulty;
|
|
110
|
+
}
|
|
111
|
+
interface PracticeSuggestion {
|
|
112
|
+
suggestionText: RichContentString;
|
|
113
|
+
suggestedTopics: PracticeSuggestionTopic[];
|
|
114
|
+
}
|
|
115
|
+
interface KnowledgeCard {
|
|
116
|
+
id: string;
|
|
117
|
+
concept: string;
|
|
118
|
+
definition: RichContentString;
|
|
119
|
+
example: RichContentString;
|
|
120
|
+
subject?: string;
|
|
121
|
+
}
|
|
122
|
+
interface PracticeTopicSummary {
|
|
123
|
+
subject: string;
|
|
124
|
+
category: string;
|
|
125
|
+
topic: string;
|
|
126
|
+
}
|
|
127
|
+
interface PracticeSession {
|
|
128
|
+
id: string;
|
|
129
|
+
timestamp: number;
|
|
130
|
+
quizConfig: QuizConfig;
|
|
131
|
+
quizResult: QuizResultType;
|
|
132
|
+
quizReview: QuizReviewContent | null;
|
|
133
|
+
summary: {
|
|
134
|
+
topics: PracticeTopicSummary[];
|
|
135
|
+
score: number;
|
|
136
|
+
maxScore: number;
|
|
137
|
+
percentage: number;
|
|
138
|
+
};
|
|
139
|
+
}
|
|
140
|
+
interface PracticeSessionSummary {
|
|
141
|
+
id: string;
|
|
142
|
+
timestamp: number;
|
|
143
|
+
quizTitle: string;
|
|
144
|
+
topics: PracticeTopicSummary[];
|
|
145
|
+
score: number | null;
|
|
146
|
+
maxScore: number | null;
|
|
147
|
+
percentage: number | null;
|
|
148
|
+
}
|
|
149
|
+
type ActivityCalendarData = Record<string, number>;
|
|
150
|
+
interface PerformanceSummary {
|
|
151
|
+
name: string;
|
|
152
|
+
totalSessions: number;
|
|
153
|
+
averageScore: number;
|
|
154
|
+
}
|
|
155
|
+
interface PracticeStats {
|
|
156
|
+
totalSessions: number;
|
|
157
|
+
currentStreak: number;
|
|
158
|
+
longestStreak: number;
|
|
159
|
+
activityCalendar: ActivityCalendarData;
|
|
160
|
+
performanceBySubject: PerformanceSummary[];
|
|
161
|
+
performanceByTopic: PerformanceSummary[];
|
|
162
|
+
}
|
|
163
|
+
interface ImageContextItem {
|
|
164
|
+
id: string;
|
|
165
|
+
imageUrl: string;
|
|
166
|
+
imageAltText: string;
|
|
167
|
+
detailedDescription: string;
|
|
168
|
+
subject: string;
|
|
169
|
+
category: string;
|
|
170
|
+
topic: string;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
interface RoadmapItem {
|
|
174
|
+
day: string;
|
|
175
|
+
topicName: string;
|
|
176
|
+
reason: string;
|
|
177
|
+
suggestedDifficulty: PracticeDifficulty;
|
|
178
|
+
loId: string;
|
|
179
|
+
isCompleted: boolean;
|
|
180
|
+
}
|
|
181
|
+
interface WeeklyRoadmap {
|
|
182
|
+
generatedAt: number;
|
|
183
|
+
items: RoadmapItem[];
|
|
184
|
+
}
|
|
185
|
+
interface AnalysisReport {
|
|
186
|
+
generatedAt: number;
|
|
187
|
+
startDate: string;
|
|
188
|
+
endDate: string;
|
|
189
|
+
effortAndConsistencyRemarks: RichContentString;
|
|
190
|
+
strengths: string[];
|
|
191
|
+
areasForImprovement: string[];
|
|
192
|
+
gamificationRemarks: RichContentString;
|
|
193
|
+
}
|
|
194
|
+
interface LearningAnalysis {
|
|
195
|
+
analysisReport?: AnalysisReport;
|
|
196
|
+
weeklyRoadmap?: WeeklyRoadmap;
|
|
197
|
+
}
|
|
198
|
+
type DashboardCardId = 'roadmap' | 'activity' | 'history' | 'performance' | 'achievements' | 'knowledgeCards' | 'goals' | 'generatedQuizzes' | 'freestyleQuizzes';
|
|
199
|
+
interface DashboardCardConfig {
|
|
200
|
+
id: DashboardCardId;
|
|
201
|
+
visible: boolean;
|
|
202
|
+
}
|
|
203
|
+
interface DashboardLayout {
|
|
204
|
+
column1: DashboardCardConfig[];
|
|
205
|
+
column2: DashboardCardConfig[];
|
|
206
|
+
}
|
|
207
|
+
interface ChatMessage {
|
|
208
|
+
id: string;
|
|
209
|
+
role: 'user' | 'assistant';
|
|
210
|
+
content: RichContentString;
|
|
211
|
+
}
|
|
212
|
+
interface ChatContext {
|
|
213
|
+
history: ChatMessage[];
|
|
214
|
+
knowledgeCards: Omit<KnowledgeCard, 'id' | 'subject'>[];
|
|
215
|
+
}
|
|
216
|
+
type GoalType = 'average_score_subject' | 'mastery_topic';
|
|
217
|
+
interface Goal {
|
|
218
|
+
id: string;
|
|
219
|
+
type: GoalType;
|
|
220
|
+
targetValue: number;
|
|
221
|
+
subject?: string;
|
|
222
|
+
topic?: string;
|
|
223
|
+
consecutiveSessions?: number;
|
|
224
|
+
isAchieved: boolean;
|
|
225
|
+
achievedAt?: number;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
export type { AnswerDetail as A, ChatMessage as C, DashboardCardId as D, GoalType as G, ImportError as I, KnowledgeCard as K, LearningAnalysis as L, PerformanceByLearningObjective as P, QuizResultType as Q, RoadmapItem as R, TestCaseResult as T, UserAnswerType as U, WeeklyRoadmap as W, UserAnswers as a, PerformanceByCategory as b, PerformanceByTopic as c, PerformanceByDifficulty as d, PerformanceByBloomLevel as e, PerformanceMetric as f, QuestionReview as g, QuizReviewContent as h, Achievement as i, AchievementDefinition as j, PracticeDifficulty as k, PracticeSuggestionTopic as l, PracticeSuggestion as m, PracticeSession as n, PracticeStats as o, PracticeSessionSummary as p, PracticeTopicSummary as q, ActivityCalendarData as r, PerformanceSummary as s, ImageContextItem as t, AnalysisReport as u, DashboardCardConfig as v, DashboardLayout as w, ChatContext as x, Goal as y };
|