@thanh01.pmt/interactive-quiz-kit 1.0.29 → 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.d.ts +58 -0
- package/dist/react-ui.d.ts.map +1 -0
- 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,16 @@
|
|
|
1
|
+
import { QuizConfig, QuizQuestion, QuestionTypeStrings } from '..';
|
|
2
|
+
/**
|
|
3
|
+
* A service class to manage and manipulate a QuizConfig object in a headless way.
|
|
4
|
+
* This class operates on a deep copy of the initial quiz config to prevent side effects.
|
|
5
|
+
*/
|
|
6
|
+
export declare class QuizEditorService {
|
|
7
|
+
private quiz;
|
|
8
|
+
constructor(initialQuiz: QuizConfig);
|
|
9
|
+
getQuiz(): QuizConfig;
|
|
10
|
+
static createNewQuestionTemplate(type: QuestionTypeStrings): QuizQuestion;
|
|
11
|
+
addQuestion(question: QuizQuestion): QuizConfig;
|
|
12
|
+
updateQuestion(updatedQuestion: QuizQuestion): QuizConfig;
|
|
13
|
+
deleteQuestionByIndex(index: number): QuizConfig;
|
|
14
|
+
moveQuestion(fromIndex: number, toIndex: number): QuizConfig;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=QuizEditorService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QuizEditorService.d.ts","sourceRoot":"","sources":["../../src/services/QuizEditorService.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,UAAU,EACV,YAAY,EACZ,mBAAmB,EAepB,MAAM,IAAI,CAAC;AAGZ;;;GAGG;AACH,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,IAAI,CAAa;gBAEb,WAAW,EAAE,UAAU;IAI5B,OAAO,IAAI,UAAU;WAId,yBAAyB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY;IA4EzE,WAAW,CAAC,QAAQ,EAAE,YAAY,GAAG,UAAU;IAS/C,cAAc,CAAC,eAAe,EAAE,YAAY,GAAG,UAAU;IASzD,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,UAAU;IAQhD,YAAY,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,UAAU;CAQpE"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { QuizQuestion, UserAnswerType, QuizResultType, QuizEngineConstructorOptions } from '..';
|
|
2
|
+
export declare class QuizEngine {
|
|
3
|
+
private config;
|
|
4
|
+
private userAnswers;
|
|
5
|
+
private currentQuestionIndex;
|
|
6
|
+
questions: QuizQuestion[];
|
|
7
|
+
private callbacks;
|
|
8
|
+
private timerId;
|
|
9
|
+
private timeLeftInSeconds;
|
|
10
|
+
private scormService;
|
|
11
|
+
private quizResultState;
|
|
12
|
+
private overallStartTime;
|
|
13
|
+
private questionStartTime;
|
|
14
|
+
private questionTimings;
|
|
15
|
+
private evaluators;
|
|
16
|
+
constructor(options: QuizEngineConstructorOptions);
|
|
17
|
+
private registerEvaluators;
|
|
18
|
+
private _recordCurrentQuestionTime;
|
|
19
|
+
private startTimer;
|
|
20
|
+
private stopTimer;
|
|
21
|
+
private handleTick;
|
|
22
|
+
getTimeLeftInSeconds(): number | null;
|
|
23
|
+
getCurrentQuestion(): QuizQuestion | null;
|
|
24
|
+
getCurrentQuestionNumber(): number;
|
|
25
|
+
getTotalQuestions(): number;
|
|
26
|
+
getUserAnswer(questionId: string): UserAnswerType | undefined;
|
|
27
|
+
isQuizFinished(): boolean;
|
|
28
|
+
submitAnswer(questionId: string, answer: UserAnswerType): void;
|
|
29
|
+
nextQuestion(): QuizQuestion | null;
|
|
30
|
+
previousQuestion(): QuizQuestion | null;
|
|
31
|
+
goToQuestion(index: number): QuizQuestion | null;
|
|
32
|
+
getElapsedTime(): number;
|
|
33
|
+
destroy(): void;
|
|
34
|
+
calculateResults(): Promise<QuizResultType>;
|
|
35
|
+
private formatUserAnswerDetail;
|
|
36
|
+
private _calculateMetadataPerformance;
|
|
37
|
+
private _sendResultsToWebhook;
|
|
38
|
+
private _sendResultsToSCORM;
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=QuizEngine.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QuizEngine.d.ts","sourceRoot":"","sources":["../../src/services/QuizEngine.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACE,YAAY,EAAe,cAAc,EAAE,cAAc,EACrE,4BAA4B,EAW7B,MAAM,IAAI,CAAC;AAuBZ,qBAAa,UAAU;IACrB,OAAO,CAAC,MAAM,CAAa;IAC3B,OAAO,CAAC,WAAW,CAA0B;IAC7C,OAAO,CAAC,oBAAoB,CAAa;IAClC,SAAS,EAAE,YAAY,EAAE,CAAC;IACjC,OAAO,CAAC,SAAS,CAAsB;IACvC,OAAO,CAAC,OAAO,CAAwC;IACvD,OAAO,CAAC,iBAAiB,CAAuB;IAChD,OAAO,CAAC,YAAY,CAA6B;IACjD,OAAO,CAAC,eAAe,CAAoD;IAC3E,OAAO,CAAC,gBAAgB,CAAS;IACjC,OAAO,CAAC,iBAAiB,CAAuB;IAChD,OAAO,CAAC,eAAe,CAAkC;IACzD,OAAO,CAAC,UAAU,CAA8C;gBAEpD,OAAO,EAAE,4BAA4B;IAkDjD,OAAO,CAAC,kBAAkB;IAiB1B,OAAO,CAAC,0BAA0B;IAUlC,OAAO,CAAC,UAAU;IAKlB,OAAO,CAAC,SAAS;IAOjB,OAAO,CAAC,UAAU;IAaX,oBAAoB,IAAI,MAAM,GAAG,IAAI;IACrC,kBAAkB,IAAI,YAAY,GAAG,IAAI;IACzC,wBAAwB,IAAI,MAAM;IAClC,iBAAiB,IAAI,MAAM;IAC3B,aAAa,CAAC,UAAU,EAAE,MAAM,GAAG,cAAc,GAAG,SAAS;IAC7D,cAAc,IAAI,OAAO;IAEzB,YAAY,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,cAAc,GAAG,IAAI;IAM9D,YAAY,IAAI,YAAY,GAAG,IAAI;IAYnC,gBAAgB,IAAI,YAAY,GAAG,IAAI;IAYvC,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,YAAY,GAAG,IAAI;IAYhD,cAAc,IAAI,MAAM;IAIxB,OAAO,IAAI,IAAI;IAkBT,gBAAgB,IAAI,OAAO,CAAC,cAAc,CAAC;IAgFxD,OAAO,CAAC,sBAAsB;YAqDhB,6BAA6B;YAwD7B,qBAAqB;IAyBnC,OAAO,CAAC,mBAAmB;CAsC5B"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { WeeklyRoadmap } from '..';
|
|
2
|
+
export declare class RoadmapService {
|
|
3
|
+
private static readonly LOCAL_STORAGE_KEY;
|
|
4
|
+
static saveRoadmap(roadmap: WeeklyRoadmap): void;
|
|
5
|
+
static getRoadmap(): WeeklyRoadmap | null;
|
|
6
|
+
static updateRoadmapItemStatus(loId: string, isCompleted: boolean): void;
|
|
7
|
+
static clearRoadmap(): void;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=RoadmapService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RoadmapService.d.ts","sourceRoot":"","sources":["../../src/services/RoadmapService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,IAAI,CAAC;AAIxC,qBAAa,cAAc;IAEzB,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,iBAAiB,CAAwB;WAEnD,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;WAWzC,UAAU,IAAI,aAAa,GAAG,IAAI;WAclC,uBAAuB,CAAC,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,OAAO,GAAG,IAAI;WAWjE,YAAY,IAAI,IAAI;CASnC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { QuizConfig } from '..';
|
|
2
|
+
export declare const generateSCORMManifest: (quizConfig: QuizConfig, scormVersion: "1.2" | "2004", // Explicitly take version
|
|
3
|
+
launcherFile?: string, libraryJSPath?: string, quizDataPath?: string, blocklyCSSPath?: string, mainCSSPath?: string) => string;
|
|
4
|
+
//# sourceMappingURL=SCORMManifestGenerator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SCORMManifestGenerator.d.ts","sourceRoot":"","sources":["../../src/services/SCORMManifestGenerator.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAiB,MAAM,IAAI,CAAC;AAgBpD,eAAO,MAAM,qBAAqB,GAChC,YAAY,UAAU,EACtB,cAAc,KAAK,GAAG,MAAM,EAAE,0BAA0B;AACxD,eAAc,MAAqB,EACnC,gBAAe,MAAiC,EAChD,eAAc,MAAyB,EACvC,iBAAgB,MAA6B,EAC7C,cAAa,MAAqB,KACjC,MAoFF,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { SCORMSettings } from '..';
|
|
2
|
+
export declare class SCORMService {
|
|
3
|
+
private scormAPI;
|
|
4
|
+
private scormVersionFound;
|
|
5
|
+
private settings;
|
|
6
|
+
private isInitialized;
|
|
7
|
+
private isTerminated;
|
|
8
|
+
studentName: string | null;
|
|
9
|
+
constructor(settings: SCORMSettings);
|
|
10
|
+
private _findAPIRecursive;
|
|
11
|
+
private _findAPI;
|
|
12
|
+
hasAPI(): boolean;
|
|
13
|
+
getSCORMVersion(): "1.2" | "2004" | null;
|
|
14
|
+
initialize(): {
|
|
15
|
+
success: boolean;
|
|
16
|
+
error?: string;
|
|
17
|
+
studentName?: string;
|
|
18
|
+
};
|
|
19
|
+
terminate(): {
|
|
20
|
+
success: boolean;
|
|
21
|
+
error?: string;
|
|
22
|
+
};
|
|
23
|
+
setValue(element: string, value: string | number | boolean): {
|
|
24
|
+
success: boolean;
|
|
25
|
+
error?: string;
|
|
26
|
+
};
|
|
27
|
+
getValue(element: string): string | null;
|
|
28
|
+
commit(): {
|
|
29
|
+
success: boolean;
|
|
30
|
+
error?: string;
|
|
31
|
+
};
|
|
32
|
+
setScore(rawScore: number, maxScore: number, minScore?: number): void;
|
|
33
|
+
setLessonStatus(status: 'passed' | 'failed' | 'completed' | 'incomplete' | 'browsed', passed?: boolean): void;
|
|
34
|
+
getLastError(): {
|
|
35
|
+
code: string;
|
|
36
|
+
message: string;
|
|
37
|
+
diagnostic?: string;
|
|
38
|
+
};
|
|
39
|
+
formatCMITime(totalSeconds: number): string;
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=SCORMService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SCORMService.d.ts","sourceRoot":"","sources":["../../src/services/SCORMService.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,IAAI,CAAC;AAyBxC,qBAAa,YAAY;IACvB,OAAO,CAAC,QAAQ,CAAa;IAC7B,OAAO,CAAC,iBAAiB,CAA+B;IACxD,OAAO,CAAC,QAAQ,CAAgB;IAChC,OAAO,CAAC,aAAa,CAAkB;IACvC,OAAO,CAAC,YAAY,CAAkB;IAC/B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAQ;gBAE7B,QAAQ,EAAE,aAAa;IAYnC,OAAO,CAAC,iBAAiB;IA8BzB,OAAO,CAAC,QAAQ;IAeT,MAAM,IAAI,OAAO;IAIjB,eAAe,IAAI,KAAK,GAAG,MAAM,GAAG,IAAI;IAIxC,UAAU,IAAI;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,WAAW,CAAC,EAAE,MAAM,CAAA;KAAE;IA+BxE,SAAS,IAAI;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE;IAiBjD,QAAQ,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE;IAgBjG,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI;IAUxC,MAAM,IAAI;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE;IAa9C,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,GAAE,MAAU,GAAG,IAAI;IA+BxE,eAAe,CAAC,MAAM,EAAE,QAAQ,GAAG,QAAQ,GAAG,WAAW,GAAG,YAAY,GAAG,SAAS,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,IAAI;IA0C7G,YAAY,IAAI;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAC;QAAC,UAAU,CAAC,EAAE,MAAM,CAAA;KAAE;IAiBtE,aAAa,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM;CA0BnD"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import type { LearningObjective } from '..';
|
|
2
|
+
/**
|
|
3
|
+
* A stateless service for managing Learning Objective data.
|
|
4
|
+
* Handles parsing TSV files and interacting with Local Storage.
|
|
5
|
+
*/
|
|
6
|
+
export declare class TopicDataService {
|
|
7
|
+
private static readonly STORAGE_KEY;
|
|
8
|
+
private static readonly EXPECTED_HEADERS;
|
|
9
|
+
/**
|
|
10
|
+
* Saves an array of LearningObjective objects to Local Storage, overwriting existing data.
|
|
11
|
+
* @param data The array of learning objectives to save.
|
|
12
|
+
*/
|
|
13
|
+
static saveData(data: LearningObjective[]): void;
|
|
14
|
+
/**
|
|
15
|
+
* Merges a new set of learning objectives with the existing data in Local Storage.
|
|
16
|
+
* If an LO ID from newData already exists, it will be updated. Otherwise, it will be added.
|
|
17
|
+
* @param newData The array of new or updated learning objectives.
|
|
18
|
+
*/
|
|
19
|
+
static mergeData(newData: LearningObjective[]): void;
|
|
20
|
+
/**
|
|
21
|
+
* Retrieves the array of LearningObjective objects from Local Storage.
|
|
22
|
+
* @returns An array of learning objectives, or an empty array if none are found or an error occurs.
|
|
23
|
+
*/
|
|
24
|
+
static getData(): LearningObjective[];
|
|
25
|
+
/**
|
|
26
|
+
* Removes all learning objective data from Local Storage.
|
|
27
|
+
*/
|
|
28
|
+
static clearData(): void;
|
|
29
|
+
/**
|
|
30
|
+
* Parses TSV content into an array of LearningObjective objects.
|
|
31
|
+
* @param tsvContent The raw string content from a .tsv file.
|
|
32
|
+
* @returns An object containing the successfully parsed data and any errors encountered.
|
|
33
|
+
*/
|
|
34
|
+
static parseTSV(tsvContent: string): {
|
|
35
|
+
data: LearningObjective[];
|
|
36
|
+
errors: string[];
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Gets a unique list of all subjects from the stored data.
|
|
40
|
+
* @returns An array of subject strings.
|
|
41
|
+
*/
|
|
42
|
+
static getSubjects(): string[];
|
|
43
|
+
/**
|
|
44
|
+
* Gets a unique list of categories for a given subject.
|
|
45
|
+
* @param subject The subject to filter by.
|
|
46
|
+
* @returns An array of category strings.
|
|
47
|
+
*/
|
|
48
|
+
static getCategoriesBySubject(subject: string): string[];
|
|
49
|
+
/**
|
|
50
|
+
* Gets a unique list of topics for a given category.
|
|
51
|
+
* @param category The category to filter by.
|
|
52
|
+
* @returns An array of topic strings.
|
|
53
|
+
*/
|
|
54
|
+
static getTopicsByCategory(category: string): string[];
|
|
55
|
+
/**
|
|
56
|
+
* Retrieves all LearningObjective details for a given list of topics.
|
|
57
|
+
* @param topics An array of topic strings to search for.
|
|
58
|
+
* @returns An array of matching LearningObjective objects.
|
|
59
|
+
*/
|
|
60
|
+
static getLearningObjectivesByTopics(topics: string[]): LearningObjective[];
|
|
61
|
+
}
|
|
62
|
+
//# sourceMappingURL=TopicDataService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TopicDataService.d.ts","sourceRoot":"","sources":["../../src/services/TopicDataService.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,IAAI,CAAC;AAE5C;;;GAGG;AACH,qBAAa,gBAAgB;IAC3B,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,WAAW,CAA8C;IACjF,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,gBAAgB,CAGtC;IAEF;;;OAGG;WACW,QAAQ,CAAC,IAAI,EAAE,iBAAiB,EAAE,GAAG,IAAI;IAUvD;;;;OAIG;WACW,SAAS,CAAC,OAAO,EAAE,iBAAiB,EAAE,GAAG,IAAI;IAY3D;;;OAGG;WACW,OAAO,IAAI,iBAAiB,EAAE;IAY5C;;OAEG;WACW,SAAS,IAAI,IAAI;IAS/B;;;;OAIG;WACW,QAAQ,CAAC,UAAU,EAAE,MAAM,GAAG;QAAE,IAAI,EAAE,iBAAiB,EAAE,CAAC;QAAC,MAAM,EAAE,MAAM,EAAE,CAAA;KAAE;IAmD3F;;;OAGG;WACW,WAAW,IAAI,MAAM,EAAE;IAMrC;;;;OAIG;WACW,sBAAsB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE;IAQ/D;;;;OAIG;WACW,mBAAmB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,EAAE;IAQ7D;;;;OAIG;WACW,6BAA6B,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,iBAAiB,EAAE;CAKnF"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { Goal } from '..';
|
|
2
|
+
/**
|
|
3
|
+
* A headless, static service for managing user-specific configurations
|
|
4
|
+
* stored in the browser's localStorage.
|
|
5
|
+
*/
|
|
6
|
+
export declare class UserConfigService {
|
|
7
|
+
private static getStorageKey;
|
|
8
|
+
static setConfig(key: string, value: any): void;
|
|
9
|
+
static getConfig<T>(key: string, defaultValue?: T | null): T | null;
|
|
10
|
+
static removeConfig(key: string): void;
|
|
11
|
+
static getFullName(): string | null;
|
|
12
|
+
static setFullName(name: string): void;
|
|
13
|
+
static getWeeklyGoal(): number | null;
|
|
14
|
+
static setWeeklyGoal(goal: number): void;
|
|
15
|
+
static getLanguage(): string;
|
|
16
|
+
static setLanguage(language: string): void;
|
|
17
|
+
static getGoals(): Goal[];
|
|
18
|
+
static saveGoals(goals: Goal[]): void;
|
|
19
|
+
/**
|
|
20
|
+
* Adds a new goal to the user's list. The goal object should not contain a description.
|
|
21
|
+
* @param newGoal A partial Goal object without id, description, isAchieved, or achievedAt.
|
|
22
|
+
*/
|
|
23
|
+
static addGoal(newGoal: Omit<Goal, 'id' | 'isAchieved' | 'achievedAt'>): void;
|
|
24
|
+
static updateGoal(updatedGoal: Goal): void;
|
|
25
|
+
static deleteGoal(goalId: string): void;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=UserConfigService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserConfigService.d.ts","sourceRoot":"","sources":["../../src/services/UserConfigService.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,IAAI,CAAC;AAK/B;;;GAGG;AACH,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,MAAM,CAAC,aAAa;WAId,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,IAAI;WAWxC,SAAS,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,YAAY,GAAE,CAAC,GAAG,IAAW,GAAG,CAAC,GAAG,IAAI;WAelE,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;WAY/B,WAAW,IAAI,MAAM,GAAG,IAAI;WAI5B,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;WAI/B,aAAa,IAAI,MAAM,GAAG,IAAI;WAK9B,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;WAIjC,WAAW,IAAI,MAAM;WAIrB,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI;WAMnC,QAAQ,IAAI,IAAI,EAAE;WAIlB,SAAS,CAAC,KAAK,EAAE,IAAI,EAAE,GAAG,IAAI;IAI5C;;;OAGG;WACW,OAAO,CAAC,OAAO,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,GAAG,YAAY,GAAG,YAAY,CAAC,GAAG,IAAI;WAWtE,UAAU,CAAC,WAAW,EAAE,IAAI,GAAG,IAAI;WASnC,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;CAK/C"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { QuizQuestion, UserAnswerType, AnswerDetail, TestCaseResult } from '../..';
|
|
2
|
+
export interface EvaluationResult {
|
|
3
|
+
isCorrect: boolean;
|
|
4
|
+
correctAnswer: AnswerDetail | null;
|
|
5
|
+
pointsEarned: number;
|
|
6
|
+
evaluationDetails?: TestCaseResult[];
|
|
7
|
+
}
|
|
8
|
+
export interface QuestionEvaluator {
|
|
9
|
+
evaluate(question: QuizQuestion, answer: UserAnswerType): Promise<EvaluationResult>;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=base-evaluator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base-evaluator.d.ts","sourceRoot":"","sources":["../../../src/services/evaluators/base-evaluator.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAExF,MAAM,WAAW,gBAAgB;IAC/B,SAAS,EAAE,OAAO,CAAC;IACnB,aAAa,EAAE,YAAY,GAAG,IAAI,CAAC;IACnC,YAAY,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,cAAc,EAAE,CAAC;CACtC;AAED,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,QAAQ,EAAE,YAAY,EAAE,MAAM,EAAE,cAAc,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;CACrF"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { CodingQuestion, UserAnswerType } from '../..';
|
|
2
|
+
import type { QuestionEvaluator, EvaluationResult } from './base-evaluator';
|
|
3
|
+
export declare class CodingEvaluator implements QuestionEvaluator {
|
|
4
|
+
evaluate(question: CodingQuestion, answer: UserAnswerType): Promise<EvaluationResult>;
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=coding-evaluator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"coding-evaluator.d.ts","sourceRoot":"","sources":["../../../src/services/evaluators/coding-evaluator.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAgB,MAAM,OAAO,CAAC;AAE1E,OAAO,KAAK,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAE5E,qBAAa,eAAgB,YAAW,iBAAiB;IAC1C,QAAQ,CAAC,QAAQ,EAAE,cAAc,EAAE,MAAM,EAAE,cAAc,GAAG,OAAO,CAAC,gBAAgB,CAAC;CAiDnG"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { DragAndDropQuestion, UserAnswerType } from '../..';
|
|
2
|
+
import type { QuestionEvaluator, EvaluationResult } from './base-evaluator';
|
|
3
|
+
export declare class DragAndDropEvaluator implements QuestionEvaluator {
|
|
4
|
+
evaluate(question: DragAndDropQuestion, answer: UserAnswerType): Promise<EvaluationResult>;
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=drag-and-drop-evaluator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drag-and-drop-evaluator.d.ts","sourceRoot":"","sources":["../../../src/services/evaluators/drag-and-drop-evaluator.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,mBAAmB,EAAE,cAAc,EAAgB,MAAM,OAAO,CAAC;AAC/E,OAAO,KAAK,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAE5E,qBAAa,oBAAqB,YAAW,iBAAiB;IAC/C,QAAQ,CAAC,QAAQ,EAAE,mBAAmB,EAAE,MAAM,EAAE,cAAc,GAAG,OAAO,CAAC,gBAAgB,CAAC;CA4BxG"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { FillInTheBlanksQuestion, UserAnswerType } from '../..';
|
|
2
|
+
import type { QuestionEvaluator, EvaluationResult } from './base-evaluator';
|
|
3
|
+
export declare class FillInTheBlanksEvaluator implements QuestionEvaluator {
|
|
4
|
+
evaluate(question: FillInTheBlanksQuestion, answer: UserAnswerType): Promise<EvaluationResult>;
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=fill-in-the-blanks-evaluator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fill-in-the-blanks-evaluator.d.ts","sourceRoot":"","sources":["../../../src/services/evaluators/fill-in-the-blanks-evaluator.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,uBAAuB,EAAE,cAAc,EAAgB,MAAM,OAAO,CAAC;AACnF,OAAO,KAAK,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAE5E,qBAAa,wBAAyB,YAAW,iBAAiB;IACnD,QAAQ,CAAC,QAAQ,EAAE,uBAAuB,EAAE,MAAM,EAAE,cAAc,GAAG,OAAO,CAAC,gBAAgB,CAAC;CAkC5G"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { HotspotQuestion, UserAnswerType } from '../..';
|
|
2
|
+
import type { QuestionEvaluator, EvaluationResult } from './base-evaluator';
|
|
3
|
+
export declare class HotspotEvaluator implements QuestionEvaluator {
|
|
4
|
+
evaluate(question: HotspotQuestion, answer: UserAnswerType): Promise<EvaluationResult>;
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=hotspot-evaluator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hotspot-evaluator.d.ts","sourceRoot":"","sources":["../../../src/services/evaluators/hotspot-evaluator.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAgB,MAAM,OAAO,CAAC;AAC3E,OAAO,KAAK,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAE5E,qBAAa,gBAAiB,YAAW,iBAAiB;IAC3C,QAAQ,CAAC,QAAQ,EAAE,eAAe,EAAE,MAAM,EAAE,cAAc,GAAG,OAAO,CAAC,gBAAgB,CAAC;CAyBpG"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { MatchingQuestion, UserAnswerType } from '../..';
|
|
2
|
+
import type { QuestionEvaluator, EvaluationResult } from './base-evaluator';
|
|
3
|
+
export declare class MatchingEvaluator implements QuestionEvaluator {
|
|
4
|
+
evaluate(question: MatchingQuestion, answer: UserAnswerType): Promise<EvaluationResult>;
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=matching-evaluator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"matching-evaluator.d.ts","sourceRoot":"","sources":["../../../src/services/evaluators/matching-evaluator.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAgB,MAAM,OAAO,CAAC;AAC5E,OAAO,KAAK,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAE5E,qBAAa,iBAAkB,YAAW,iBAAiB;IAC5C,QAAQ,CAAC,QAAQ,EAAE,gBAAgB,EAAE,MAAM,EAAE,cAAc,GAAG,OAAO,CAAC,gBAAgB,CAAC;CA4BrG"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { MultipleChoiceQuestion, UserAnswerType } from '../..';
|
|
2
|
+
import type { QuestionEvaluator, EvaluationResult } from './base-evaluator';
|
|
3
|
+
export declare class MultipleChoiceEvaluator implements QuestionEvaluator {
|
|
4
|
+
evaluate(question: MultipleChoiceQuestion, answer: UserAnswerType): Promise<EvaluationResult>;
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=multiple-choice-evaluator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"multiple-choice-evaluator.d.ts","sourceRoot":"","sources":["../../../src/services/evaluators/multiple-choice-evaluator.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,sBAAsB,EAAE,cAAc,EAAgB,MAAM,OAAO,CAAC;AAClF,OAAO,KAAK,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAE5E,qBAAa,uBAAwB,YAAW,iBAAiB;IAClD,QAAQ,CAAC,QAAQ,EAAE,sBAAsB,EAAE,MAAM,EAAE,cAAc,GAAG,OAAO,CAAC,gBAAgB,CAAC;CAkB3G"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { MultipleResponseQuestion, UserAnswerType } from '../..';
|
|
2
|
+
import type { QuestionEvaluator, EvaluationResult } from './base-evaluator';
|
|
3
|
+
export declare class MultipleResponseEvaluator implements QuestionEvaluator {
|
|
4
|
+
evaluate(question: MultipleResponseQuestion, answer: UserAnswerType): Promise<EvaluationResult>;
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=multiple-response-evaluator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"multiple-response-evaluator.d.ts","sourceRoot":"","sources":["../../../src/services/evaluators/multiple-response-evaluator.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,wBAAwB,EAAE,cAAc,EAAgB,MAAM,OAAO,CAAC;AACpF,OAAO,KAAK,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAE5E,qBAAa,yBAA0B,YAAW,iBAAiB;IACpD,QAAQ,CAAC,QAAQ,EAAE,wBAAwB,EAAE,MAAM,EAAE,cAAc,GAAG,OAAO,CAAC,gBAAgB,CAAC;CA0B7G"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { NumericQuestion, UserAnswerType } from '../..';
|
|
2
|
+
import type { QuestionEvaluator, EvaluationResult } from './base-evaluator';
|
|
3
|
+
export declare class NumericEvaluator implements QuestionEvaluator {
|
|
4
|
+
evaluate(question: NumericQuestion, answer: UserAnswerType): Promise<EvaluationResult>;
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=numeric-evaluator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"numeric-evaluator.d.ts","sourceRoot":"","sources":["../../../src/services/evaluators/numeric-evaluator.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAgB,MAAM,OAAO,CAAC;AAC3E,OAAO,KAAK,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAE5E,qBAAa,gBAAiB,YAAW,iBAAiB;IAC3C,QAAQ,CAAC,QAAQ,EAAE,eAAe,EAAE,MAAM,EAAE,cAAc,GAAG,OAAO,CAAC,gBAAgB,CAAC;CAwBpG"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { BlocklyProgrammingQuestion, ScratchProgrammingQuestion, UserAnswerType } from '../..';
|
|
2
|
+
import type { QuestionEvaluator, EvaluationResult } from './base-evaluator';
|
|
3
|
+
export declare class ProgrammingEvaluator implements QuestionEvaluator {
|
|
4
|
+
evaluate(question: BlocklyProgrammingQuestion | ScratchProgrammingQuestion, answer: UserAnswerType): Promise<EvaluationResult>;
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=programming-evaluator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"programming-evaluator.d.ts","sourceRoot":"","sources":["../../../src/services/evaluators/programming-evaluator.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,0BAA0B,EAAE,0BAA0B,EAAE,cAAc,EAAgB,MAAM,OAAO,CAAC;AAClH,OAAO,KAAK,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAE5E,qBAAa,oBAAqB,YAAW,iBAAiB;IAC/C,QAAQ,CAAC,QAAQ,EAAE,0BAA0B,GAAG,0BAA0B,EAAE,MAAM,EAAE,cAAc,GAAG,OAAO,CAAC,gBAAgB,CAAC;CAqC5I"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { SequenceQuestion, UserAnswerType } from '../..';
|
|
2
|
+
import type { QuestionEvaluator, EvaluationResult } from './base-evaluator';
|
|
3
|
+
export declare class SequenceEvaluator implements QuestionEvaluator {
|
|
4
|
+
evaluate(question: SequenceQuestion, answer: UserAnswerType): Promise<EvaluationResult>;
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=sequence-evaluator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sequence-evaluator.d.ts","sourceRoot":"","sources":["../../../src/services/evaluators/sequence-evaluator.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAgB,MAAM,OAAO,CAAC;AAC5E,OAAO,KAAK,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAE5E,qBAAa,iBAAkB,YAAW,iBAAiB;IAC5C,QAAQ,CAAC,QAAQ,EAAE,gBAAgB,EAAE,MAAM,EAAE,cAAc,GAAG,OAAO,CAAC,gBAAgB,CAAC;CAsBrG"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ShortAnswerQuestion, UserAnswerType } from '../..';
|
|
2
|
+
import type { QuestionEvaluator, EvaluationResult } from './base-evaluator';
|
|
3
|
+
export declare class ShortAnswerEvaluator implements QuestionEvaluator {
|
|
4
|
+
evaluate(question: ShortAnswerQuestion, answer: UserAnswerType): Promise<EvaluationResult>;
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=short-answer-evaluator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"short-answer-evaluator.d.ts","sourceRoot":"","sources":["../../../src/services/evaluators/short-answer-evaluator.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,mBAAmB,EAAE,cAAc,EAAgB,MAAM,OAAO,CAAC;AAC/E,OAAO,KAAK,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAE5E,qBAAa,oBAAqB,YAAW,iBAAiB;IAC/C,QAAQ,CAAC,QAAQ,EAAE,mBAAmB,EAAE,MAAM,EAAE,cAAc,GAAG,OAAO,CAAC,gBAAgB,CAAC;CAyBxG"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { TrueFalseQuestion, UserAnswerType } from '../..';
|
|
2
|
+
import type { QuestionEvaluator, EvaluationResult } from './base-evaluator';
|
|
3
|
+
export declare class TrueFalseEvaluator implements QuestionEvaluator {
|
|
4
|
+
evaluate(question: TrueFalseQuestion, answer: UserAnswerType): Promise<EvaluationResult>;
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=true-false-evaluator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"true-false-evaluator.d.ts","sourceRoot":"","sources":["../../../src/services/evaluators/true-false-evaluator.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,cAAc,EAAgB,MAAM,OAAO,CAAC;AAC7E,OAAO,KAAK,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAE5E,qBAAa,kBAAmB,YAAW,iBAAiB;IAC7C,QAAQ,CAAC,QAAQ,EAAE,iBAAiB,EAAE,MAAM,EAAE,cAAc,GAAG,OAAO,CAAC,gBAAgB,CAAC;CAsBtG"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { Subject, GradeLevel, Topic, Category, BloomLevelType, QuestionTypeType, LearningObjectiveMetadata, Context, Approach } from '../types/metadata';
|
|
2
|
+
export declare class MetadataService {
|
|
3
|
+
static getSubjects: () => Subject[];
|
|
4
|
+
static addSubject: (name: string, code: string) => Subject;
|
|
5
|
+
static updateSubject: (id: string, name: string, code: string) => Subject | null;
|
|
6
|
+
static deleteSubject: (code: string) => boolean;
|
|
7
|
+
static getGradeLevels: () => GradeLevel[];
|
|
8
|
+
static addGradeLevel: (name: string, code: string) => GradeLevel;
|
|
9
|
+
static updateGradeLevel: (id: string, name: string, code: string) => GradeLevel | null;
|
|
10
|
+
static deleteGradeLevel: (code: string) => boolean;
|
|
11
|
+
static getTopics: (subjectCode?: string) => Topic[];
|
|
12
|
+
static addTopic: (name: string, code: string, subjectCode: string) => Topic;
|
|
13
|
+
static updateTopic: (id: string, name: string, code: string, subjectCode: string) => Topic | null;
|
|
14
|
+
static deleteTopic: (code: string) => boolean;
|
|
15
|
+
static getBloomLevels: () => BloomLevelType[];
|
|
16
|
+
static addBloomLevel: (name: string, code: string, description?: string) => BloomLevelType;
|
|
17
|
+
static updateBloomLevel: (id: string, name: string, code: string, description?: string) => BloomLevelType | null;
|
|
18
|
+
static deleteBloomLevel: (code: string) => boolean;
|
|
19
|
+
static getQuestionTypes: () => QuestionTypeType[];
|
|
20
|
+
static addQuestionType: (name: string, code: string, description?: string) => QuestionTypeType;
|
|
21
|
+
static updateQuestionType: (id: string, name: string, code: string, description?: string) => QuestionTypeType | null;
|
|
22
|
+
static deleteQuestionType: (code: string) => boolean;
|
|
23
|
+
static getCategories: () => Category[];
|
|
24
|
+
static addCategory: (name: string, code: string, description?: string) => Category;
|
|
25
|
+
static updateCategory: (id: string, name: string, code: string, description?: string) => Category | null;
|
|
26
|
+
static deleteCategory: (code: string) => boolean;
|
|
27
|
+
static getContexts: () => Context[];
|
|
28
|
+
static addContext: (name: string, code: string, description?: string) => Context;
|
|
29
|
+
static updateContext: (id: string, name: string, code: string, description?: string) => Context | null;
|
|
30
|
+
static deleteContext: (code: string) => boolean;
|
|
31
|
+
static getApproaches: () => Approach[];
|
|
32
|
+
static addApproach: (approachData: Omit<Approach, "id" | "difficulty">) => Approach;
|
|
33
|
+
static updateApproach: (id: string, approachData: Partial<Omit<Approach, "id" | "difficulty">>) => Approach | null;
|
|
34
|
+
static deleteApproach: (code: string) => boolean;
|
|
35
|
+
static getLearningObjectives: (subjectCode?: string) => LearningObjectiveMetadata[];
|
|
36
|
+
static addLearningObjective: (name: string, code: string, subjectCode?: string, description?: string) => LearningObjectiveMetadata;
|
|
37
|
+
static updateLearningObjective: (id: string, name: string, code: string, subjectCode?: string, description?: string) => LearningObjectiveMetadata | null;
|
|
38
|
+
static deleteLearningObjective: (code: string) => boolean;
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=metadataService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"metadataService.d.ts","sourceRoot":"","sources":["../../src/services/metadataService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,gBAAgB,EACtE,yBAAyB,EAAE,OAAO,EAAE,QAAQ,EAC7C,MAAM,mBAAmB,CAAC;AAmG3B,qBAAa,eAAe;IAE1B,MAAM,CAAC,WAAW,kBAA8E;IAChG,MAAM,CAAC,UAAU,GAAI,MAAM,MAAM,EAAE,MAAM,MAAM,KAAG,OAAO,CAEvD;IACF,MAAM,CAAC,aAAa,GAAI,IAAI,MAAM,EAAE,MAAM,MAAM,EAAE,MAAM,MAAM,KAAG,OAAO,GAAG,IAAI,CAE7E;IACF,MAAM,CAAC,aAAa,GAAI,MAAM,MAAM,KAAG,OAAO,CAM5C;IAGF,MAAM,CAAC,cAAc,qBAAiF;IACtG,MAAM,CAAC,aAAa,GAAI,MAAM,MAAM,EAAE,MAAM,MAAM,gBAA2C;IAC7F,MAAM,CAAC,gBAAgB,GAAI,IAAI,MAAM,EAAE,MAAM,MAAM,EAAE,MAAM,MAAM,uBAAkD;IACnH,MAAM,CAAC,gBAAgB,GAAI,MAAM,MAAM,aAAoC;IAG3E,MAAM,CAAC,SAAS,GAAI,cAAc,MAAM,aAItC;IACF,MAAM,CAAC,QAAQ,GAAI,MAAM,MAAM,EAAE,MAAM,MAAM,EAAE,aAAa,MAAM,WAAmD;IACrH,MAAM,CAAC,WAAW,GAAI,IAAI,MAAM,EAAE,MAAM,MAAM,EAAE,MAAM,MAAM,EAAE,aAAa,MAAM,kBAA0D;IAC3I,MAAM,CAAC,WAAW,GAAI,MAAM,MAAM,aAA+B;IAGjE,MAAM,CAAC,cAAc,yBAAiF;IACtG,MAAM,CAAC,aAAa,GAAI,MAAM,MAAM,EAAE,MAAM,MAAM,EAAE,cAAc,MAAM,oBAAwD;IAChI,MAAM,CAAC,gBAAgB,GAAI,IAAI,MAAM,EAAE,MAAM,MAAM,EAAE,MAAM,MAAM,EAAE,cAAc,MAAM,2BAA+D;IACtJ,MAAM,CAAC,gBAAgB,GAAI,MAAM,MAAM,aAAoC;IAG3E,MAAM,CAAC,gBAAgB,2BAAmF;IAC1G,MAAM,CAAC,eAAe,GAAI,MAAM,MAAM,EAAE,MAAM,MAAM,EAAE,cAAc,MAAM,sBAA0D;IACpI,MAAM,CAAC,kBAAkB,GAAI,IAAI,MAAM,EAAE,MAAM,MAAM,EAAE,MAAM,MAAM,EAAE,cAAc,MAAM,6BAAiE;IAC1J,MAAM,CAAC,kBAAkB,GAAI,MAAM,MAAM,aAAsC;IAG/E,MAAM,CAAC,aAAa,mBAA+E;IACnG,MAAM,CAAC,WAAW,GAAI,MAAM,MAAM,EAAE,MAAM,MAAM,EAAE,cAAc,MAAM,cAAsD;IAC5H,MAAM,CAAC,cAAc,GAAI,IAAI,MAAM,EAAE,MAAM,MAAM,EAAE,MAAM,MAAM,EAAE,cAAc,MAAM,qBAA6D;IAClJ,MAAM,CAAC,cAAc,GAAI,MAAM,MAAM,aAAkC;IAGvE,MAAM,CAAC,WAAW,kBAA8E;IAChG,MAAM,CAAC,UAAU,GAAI,MAAM,MAAM,EAAE,MAAM,MAAM,EAAE,cAAc,MAAM,aAAqD;IAC1H,MAAM,CAAC,aAAa,GAAI,IAAI,MAAM,EAAE,MAAM,MAAM,EAAE,MAAM,MAAM,EAAE,cAAc,MAAM,oBAA4D;IAChJ,MAAM,CAAC,aAAa,GAAI,MAAM,MAAM,aAAiC;IAGrE,MAAM,CAAC,aAAa,mBAA+E;IACnG,MAAM,CAAC,WAAW,GAAI,cAAc,IAAI,CAAC,QAAQ,EAAE,IAAI,GAAG,YAAY,CAAC,cAGrE;IACF,MAAM,CAAC,cAAc,GAAI,IAAI,MAAM,EAAE,cAAc,OAAO,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,GAAG,YAAY,CAAC,CAAC,qBAM7F;IACF,MAAM,CAAC,cAAc,GAAI,MAAM,MAAM,aAAkC;IAGvE,MAAM,CAAC,qBAAqB,GAAI,cAAc,MAAM,iCAIlD;IACF,MAAM,CAAC,oBAAoB,GAAI,MAAM,MAAM,EAAE,MAAM,MAAM,EAAE,cAAc,MAAM,EAAE,cAAc,MAAM,+BAA4E;IACjL,MAAM,CAAC,uBAAuB,GAAI,IAAI,MAAM,EAAE,MAAM,MAAM,EAAE,MAAM,MAAM,EAAE,cAAc,MAAM,EAAE,cAAc,MAAM,sCAAmF;IACvM,MAAM,CAAC,uBAAuB,GAAI,MAAM,MAAM,aAA2C;CAC1F"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { QuestionInBank } from '../types';
|
|
2
|
+
import type { StandardDifficulty } from '../types/metadata';
|
|
3
|
+
export interface QuestionFilters {
|
|
4
|
+
subjectCode?: string;
|
|
5
|
+
topicCode?: string;
|
|
6
|
+
gradeLevelCode?: string;
|
|
7
|
+
bloomLevelCode?: string;
|
|
8
|
+
questionTypeCode?: string;
|
|
9
|
+
searchTerm?: string;
|
|
10
|
+
difficulty?: StandardDifficulty;
|
|
11
|
+
}
|
|
12
|
+
export declare class QuestionBankService {
|
|
13
|
+
static getQuestions(filters?: QuestionFilters): QuestionInBank[];
|
|
14
|
+
static getQuestionByCode(code: string): QuestionInBank | undefined;
|
|
15
|
+
static addQuestion(questionData: Omit<QuestionInBank, 'id' | 'lastModified'>): QuestionInBank;
|
|
16
|
+
static updateQuestion(id: string, updates: Partial<Omit<QuestionInBank, 'id'>>): QuestionInBank | null;
|
|
17
|
+
static deleteQuestionByCode(code: string): boolean;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=questionBankService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"questionBankService.d.ts","sourceRoot":"","sources":["../../src/services/questionBankService.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAgB,cAAc,EAAE,MAAM,UAAU,CAAC;AAC7D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAsC5D,MAAM,WAAW,eAAe;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,kBAAkB,CAAC;CACjC;AAED,qBAAa,mBAAmB;IAE9B,MAAM,CAAC,YAAY,CAAC,OAAO,CAAC,EAAE,eAAe,GAAG,cAAc,EAAE;IAkChE,MAAM,CAAC,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,cAAc,GAAG,SAAS;IAKlE,MAAM,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,CAAC,cAAc,EAAE,IAAI,GAAG,cAAc,CAAC,GAAG,cAAc;IAiB7F,MAAM,CAAC,cAAc,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE,IAAI,CAAC,CAAC,GAAG,cAAc,GAAG,IAAI;IAoBtG,MAAM,CAAC,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO;CAWnD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sampleQuiz.d.ts","sourceRoot":"","sources":["../../src/services/sampleQuiz.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAA8V,MAAM,IAAI,CAAC;AAmTjY,eAAO,MAAM,UAAU,EAAE,UAyBxB,CAAC;AAGF,eAAO,MAAM,SAAS,EAAE,UAavB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { QuizConfig } from '..';
|
|
2
|
+
interface SCORMExportOptions {
|
|
3
|
+
scormVersion: "1.2" | "2004";
|
|
4
|
+
}
|
|
5
|
+
export declare const exportQuizAsSCORMZip: (quiz: QuizConfig, options: SCORMExportOptions) => Promise<{
|
|
6
|
+
success: boolean;
|
|
7
|
+
error?: string;
|
|
8
|
+
fileName?: string;
|
|
9
|
+
}>;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=scormPackaging.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scormPackaging.d.ts","sourceRoot":"","sources":["../../src/services/scormPackaging.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AAIrC,UAAU,kBAAkB;IAC1B,YAAY,EAAE,KAAK,GAAG,MAAM,CAAC;CAC9B;AAMD,eAAO,MAAM,oBAAoB,GAC/B,MAAM,UAAU,EAChB,SAAS,kBAAkB,KAC1B,OAAO,CAAC;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;CAAE,CAiGjE,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { RichContentString } from './common';
|
|
2
|
+
import { PracticeDifficulty, KnowledgeCard } from './misc';
|
|
3
|
+
export interface RoadmapItem {
|
|
4
|
+
day: string;
|
|
5
|
+
topicName: string;
|
|
6
|
+
reason: string;
|
|
7
|
+
suggestedDifficulty: PracticeDifficulty;
|
|
8
|
+
loId: string;
|
|
9
|
+
isCompleted: boolean;
|
|
10
|
+
}
|
|
11
|
+
export interface WeeklyRoadmap {
|
|
12
|
+
generatedAt: number;
|
|
13
|
+
items: RoadmapItem[];
|
|
14
|
+
}
|
|
15
|
+
export interface AnalysisReport {
|
|
16
|
+
generatedAt: number;
|
|
17
|
+
startDate: string;
|
|
18
|
+
endDate: string;
|
|
19
|
+
effortAndConsistencyRemarks: RichContentString;
|
|
20
|
+
strengths: string[];
|
|
21
|
+
areasForImprovement: string[];
|
|
22
|
+
gamificationRemarks: RichContentString;
|
|
23
|
+
}
|
|
24
|
+
export interface LearningAnalysis {
|
|
25
|
+
analysisReport?: AnalysisReport;
|
|
26
|
+
weeklyRoadmap?: WeeklyRoadmap;
|
|
27
|
+
}
|
|
28
|
+
export type DashboardCardId = 'roadmap' | 'activity' | 'history' | 'performance' | 'achievements' | 'knowledgeCards' | 'goals' | 'generatedQuizzes' | 'freestyleQuizzes';
|
|
29
|
+
export interface DashboardCardConfig {
|
|
30
|
+
id: DashboardCardId;
|
|
31
|
+
visible: boolean;
|
|
32
|
+
}
|
|
33
|
+
export interface DashboardLayout {
|
|
34
|
+
column1: DashboardCardConfig[];
|
|
35
|
+
column2: DashboardCardConfig[];
|
|
36
|
+
}
|
|
37
|
+
export interface ChatMessage {
|
|
38
|
+
id: string;
|
|
39
|
+
role: 'user' | 'assistant';
|
|
40
|
+
content: RichContentString;
|
|
41
|
+
}
|
|
42
|
+
export interface ChatContext {
|
|
43
|
+
history: ChatMessage[];
|
|
44
|
+
knowledgeCards: Omit<KnowledgeCard, 'id' | 'subject'>[];
|
|
45
|
+
}
|
|
46
|
+
export type GoalType = 'average_score_subject' | 'mastery_topic';
|
|
47
|
+
export interface Goal {
|
|
48
|
+
id: string;
|
|
49
|
+
type: GoalType;
|
|
50
|
+
targetValue: number;
|
|
51
|
+
subject?: string;
|
|
52
|
+
topic?: string;
|
|
53
|
+
consecutiveSessions?: number;
|
|
54
|
+
isAchieved: boolean;
|
|
55
|
+
achievedAt?: number;
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=ai-ecosystem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ai-ecosystem.d.ts","sourceRoot":"","sources":["../../src/types/ai-ecosystem.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAE3D,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,mBAAmB,EAAE,kBAAkB,CAAC;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,aAAa;IAC5B,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,WAAW,EAAE,CAAC;CACtB;AAED,MAAM,WAAW,cAAc;IAC7B,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,2BAA2B,EAAE,iBAAiB,CAAC;IAC/C,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,mBAAmB,EAAE,MAAM,EAAE,CAAC;IAC9B,mBAAmB,EAAE,iBAAiB,CAAC;CACxC;AAED,MAAM,WAAW,gBAAgB;IAC/B,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,aAAa,CAAC,EAAE,aAAa,CAAC;CAC/B;AAED,MAAM,MAAM,eAAe,GACvB,SAAS,GACT,UAAU,GACV,SAAS,GACT,aAAa,GACb,cAAc,GACd,gBAAgB,GAChB,OAAO,GACP,kBAAkB,GAClB,kBAAkB,CAAC;AAEvB,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,eAAe,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,mBAAmB,EAAE,CAAC;IAC/B,OAAO,EAAE,mBAAmB,EAAE,CAAC;CAChC;AAED,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,GAAG,WAAW,CAAC;IAC3B,OAAO,EAAE,iBAAiB,CAAC;CAC5B;AAED,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,WAAW,EAAE,CAAC;IACvB,cAAc,EAAE,IAAI,CAAC,aAAa,EAAE,IAAI,GAAG,SAAS,CAAC,EAAE,CAAC;CACzD;AAED,MAAM,MAAM,QAAQ,GAAG,uBAAuB,GAAG,eAAe,CAAC;AAEjE,MAAM,WAAW,IAAI;IACnB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,QAAQ,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/types/common.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC;AAIpC,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface LearningObjective {
|
|
2
|
+
loId: string;
|
|
3
|
+
loDescription: string;
|
|
4
|
+
subject: string;
|
|
5
|
+
category: string;
|
|
6
|
+
topic: string;
|
|
7
|
+
keywords: string[];
|
|
8
|
+
grade: string;
|
|
9
|
+
stemElements: string[];
|
|
10
|
+
bloomLevelsGuideline: string[];
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=learning-objectives.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"learning-objectives.d.ts","sourceRoot":"","sources":["../../src/types/learning-objectives.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,oBAAoB,EAAE,MAAM,EAAE,CAAC;CAChC"}
|