@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.
Files changed (502) hide show
  1. package/dist/ai-ecosystem-D6vuLxnS.d.ts +228 -0
  2. package/dist/ai-ecosystem-DCPvHU4-.d.cts +228 -0
  3. package/dist/ai.d.cts +2017 -0
  4. package/dist/ai.d.ts +2017 -40
  5. package/dist/authoring.d.cts +11 -0
  6. package/dist/authoring.d.ts +11 -6
  7. package/dist/index.d.cts +444 -0
  8. package/dist/index.d.ts +444 -31
  9. package/dist/player.d.cts +13 -0
  10. package/dist/player.d.ts +3 -2
  11. package/dist/quiz-config-Df_89hFx.d.cts +198 -0
  12. package/dist/quiz-config-Df_89hFx.d.ts +198 -0
  13. package/dist/react-ui.d.cts +206 -0
  14. package/dist/react-ui.d.ts +206 -58
  15. package/dist/toaster-Blf5k3DP.d.cts +132 -0
  16. package/dist/toaster-BrChkQ23.d.ts +132 -0
  17. package/package.json +1 -1
  18. package/dist/ai/dev.d.ts +0 -16
  19. package/dist/ai/dev.d.ts.map +0 -1
  20. package/dist/ai/flows/ask-tutor-chat-types.d.ts +0 -67
  21. package/dist/ai/flows/ask-tutor-chat-types.d.ts.map +0 -1
  22. package/dist/ai/flows/ask-tutor-chat.d.ts +0 -3
  23. package/dist/ai/flows/ask-tutor-chat.d.ts.map +0 -1
  24. package/dist/ai/flows/assess-and-map-document-types.d.ts +0 -80
  25. package/dist/ai/flows/assess-and-map-document-types.d.ts.map +0 -1
  26. package/dist/ai/flows/assess-and-map-document.d.ts +0 -3
  27. package/dist/ai/flows/assess-and-map-document.d.ts.map +0 -1
  28. package/dist/ai/flows/evaluate-user-code-types.d.ts +0 -49
  29. package/dist/ai/flows/evaluate-user-code-types.d.ts.map +0 -1
  30. package/dist/ai/flows/evaluate-user-code.d.ts +0 -3
  31. package/dist/ai/flows/evaluate-user-code.d.ts.map +0 -1
  32. package/dist/ai/flows/generate-learning-analysis-types.d.ts +0 -200
  33. package/dist/ai/flows/generate-learning-analysis-types.d.ts.map +0 -1
  34. package/dist/ai/flows/generate-learning-analysis.d.ts +0 -4
  35. package/dist/ai/flows/generate-learning-analysis.d.ts.map +0 -1
  36. package/dist/ai/flows/generate-motivational-quote.d.ts +0 -3
  37. package/dist/ai/flows/generate-motivational-quote.d.ts.map +0 -1
  38. package/dist/ai/flows/generate-practice-quiz.d.ts +0 -76
  39. package/dist/ai/flows/generate-practice-quiz.d.ts.map +0 -1
  40. package/dist/ai/flows/generate-practice-suggestion.d.ts +0 -149
  41. package/dist/ai/flows/generate-practice-suggestion.d.ts.map +0 -1
  42. package/dist/ai/flows/generate-questions-from-quiz-plan-types.d.ts +0 -122
  43. package/dist/ai/flows/generate-questions-from-quiz-plan-types.d.ts.map +0 -1
  44. package/dist/ai/flows/generate-questions-from-quiz-plan.d.ts +0 -3
  45. package/dist/ai/flows/generate-questions-from-quiz-plan.d.ts.map +0 -1
  46. package/dist/ai/flows/generate-quiz-from-text-types.d.ts +0 -358
  47. package/dist/ai/flows/generate-quiz-from-text-types.d.ts.map +0 -1
  48. package/dist/ai/flows/generate-quiz-from-text.d.ts +0 -3
  49. package/dist/ai/flows/generate-quiz-from-text.d.ts.map +0 -1
  50. package/dist/ai/flows/generate-quiz-plan-types.d.ts +0 -272
  51. package/dist/ai/flows/generate-quiz-plan-types.d.ts.map +0 -1
  52. package/dist/ai/flows/generate-quiz-plan.d.ts +0 -12
  53. package/dist/ai/flows/generate-quiz-plan.d.ts.map +0 -1
  54. package/dist/ai/flows/generate-quiz-review.d.ts +0 -3
  55. package/dist/ai/flows/generate-quiz-review.d.ts.map +0 -1
  56. package/dist/ai/flows/generate-single-knowledge-card-types.d.ts +0 -34
  57. package/dist/ai/flows/generate-single-knowledge-card-types.d.ts.map +0 -1
  58. package/dist/ai/flows/generate-single-knowledge-card.d.ts +0 -3
  59. package/dist/ai/flows/generate-single-knowledge-card.d.ts.map +0 -1
  60. package/dist/ai/flows/motivational-quote-types.d.ts +0 -30
  61. package/dist/ai/flows/motivational-quote-types.d.ts.map +0 -1
  62. package/dist/ai/flows/plan-knowledge-cards-types.d.ts +0 -24
  63. package/dist/ai/flows/plan-knowledge-cards-types.d.ts.map +0 -1
  64. package/dist/ai/flows/plan-knowledge-cards.d.ts +0 -3
  65. package/dist/ai/flows/plan-knowledge-cards.d.ts.map +0 -1
  66. package/dist/ai/flows/question-gen/generate-coding-question-types.d.ts +0 -133
  67. package/dist/ai/flows/question-gen/generate-coding-question-types.d.ts.map +0 -1
  68. package/dist/ai/flows/question-gen/generate-coding-question.d.ts +0 -3
  69. package/dist/ai/flows/question-gen/generate-coding-question.d.ts.map +0 -1
  70. package/dist/ai/flows/question-gen/generate-fitb-question-types.d.ts +0 -142
  71. package/dist/ai/flows/question-gen/generate-fitb-question-types.d.ts.map +0 -1
  72. package/dist/ai/flows/question-gen/generate-fitb-question.d.ts +0 -3
  73. package/dist/ai/flows/question-gen/generate-fitb-question.d.ts.map +0 -1
  74. package/dist/ai/flows/question-gen/generate-matching-question-types.d.ts +0 -137
  75. package/dist/ai/flows/question-gen/generate-matching-question-types.d.ts.map +0 -1
  76. package/dist/ai/flows/question-gen/generate-matching-question.d.ts +0 -3
  77. package/dist/ai/flows/question-gen/generate-matching-question.d.ts.map +0 -1
  78. package/dist/ai/flows/question-gen/generate-mcq-question-types.d.ts +0 -137
  79. package/dist/ai/flows/question-gen/generate-mcq-question-types.d.ts.map +0 -1
  80. package/dist/ai/flows/question-gen/generate-mcq-question.d.ts +0 -3
  81. package/dist/ai/flows/question-gen/generate-mcq-question.d.ts.map +0 -1
  82. package/dist/ai/flows/question-gen/generate-mrq-question-types.d.ts +0 -143
  83. package/dist/ai/flows/question-gen/generate-mrq-question-types.d.ts.map +0 -1
  84. package/dist/ai/flows/question-gen/generate-mrq-question.d.ts +0 -3
  85. package/dist/ai/flows/question-gen/generate-mrq-question.d.ts.map +0 -1
  86. package/dist/ai/flows/question-gen/generate-numeric-question-types.d.ts +0 -131
  87. package/dist/ai/flows/question-gen/generate-numeric-question-types.d.ts.map +0 -1
  88. package/dist/ai/flows/question-gen/generate-numeric-question.d.ts +0 -3
  89. package/dist/ai/flows/question-gen/generate-numeric-question.d.ts.map +0 -1
  90. package/dist/ai/flows/question-gen/generate-sequence-question-types.d.ts +0 -119
  91. package/dist/ai/flows/question-gen/generate-sequence-question-types.d.ts.map +0 -1
  92. package/dist/ai/flows/question-gen/generate-sequence-question.d.ts +0 -3
  93. package/dist/ai/flows/question-gen/generate-sequence-question.d.ts.map +0 -1
  94. package/dist/ai/flows/question-gen/generate-short-answer-question-types.d.ts +0 -119
  95. package/dist/ai/flows/question-gen/generate-short-answer-question-types.d.ts.map +0 -1
  96. package/dist/ai/flows/question-gen/generate-short-answer-question.d.ts +0 -3
  97. package/dist/ai/flows/question-gen/generate-short-answer-question.d.ts.map +0 -1
  98. package/dist/ai/flows/question-gen/generate-true-false-question-types.d.ts +0 -115
  99. package/dist/ai/flows/question-gen/generate-true-false-question-types.d.ts.map +0 -1
  100. package/dist/ai/flows/question-gen/generate-true-false-question.d.ts +0 -3
  101. package/dist/ai/flows/question-gen/generate-true-false-question.d.ts.map +0 -1
  102. package/dist/ai/flows/question-gen/question-generation-schemas.d.ts +0 -1027
  103. package/dist/ai/flows/question-gen/question-generation-schemas.d.ts.map +0 -1
  104. package/dist/ai/flows/review-types.d.ts +0 -79
  105. package/dist/ai/flows/review-types.d.ts.map +0 -1
  106. package/dist/ai/flows/shared-schemas.d.ts +0 -133
  107. package/dist/ai/flows/shared-schemas.d.ts.map +0 -1
  108. package/dist/ai/genkit.d.ts +0 -2
  109. package/dist/ai/genkit.d.ts.map +0 -1
  110. package/dist/ai.d.ts.map +0 -1
  111. package/dist/authoring.d.ts.map +0 -1
  112. package/dist/i18n.d.ts +0 -3
  113. package/dist/i18n.d.ts.map +0 -1
  114. package/dist/index.d.ts.map +0 -1
  115. package/dist/player.d.ts.map +0 -1
  116. package/dist/react-ui/components/app/APIKeyManagerModal.d.ts +0 -8
  117. package/dist/react-ui/components/app/APIKeyManagerModal.d.ts.map +0 -1
  118. package/dist/react-ui/components/app/AppController.d.ts +0 -3
  119. package/dist/react-ui/components/app/AppController.d.ts.map +0 -1
  120. package/dist/react-ui/components/app/ManageImageContexts.d.ts +0 -3
  121. package/dist/react-ui/components/app/ManageImageContexts.d.ts.map +0 -1
  122. package/dist/react-ui/components/app/ManageTopics.d.ts +0 -3
  123. package/dist/react-ui/components/app/ManageTopics.d.ts.map +0 -1
  124. package/dist/react-ui/components/app/PersonalPracticeDashboard.d.ts +0 -3
  125. package/dist/react-ui/components/app/PersonalPracticeDashboard.d.ts.map +0 -1
  126. package/dist/react-ui/components/app/SettingsModal.d.ts +0 -10
  127. package/dist/react-ui/components/app/SettingsModal.d.ts.map +0 -1
  128. package/dist/react-ui/components/app/UploadResourceModal.d.ts +0 -8
  129. package/dist/react-ui/components/app/UploadResourceModal.d.ts.map +0 -1
  130. package/dist/react-ui/components/authoring/AIFullQuizGeneratorModal.d.ts +0 -11
  131. package/dist/react-ui/components/authoring/AIFullQuizGeneratorModal.d.ts.map +0 -1
  132. package/dist/react-ui/components/authoring/AIQuestionGeneratorModal.d.ts +0 -19
  133. package/dist/react-ui/components/authoring/AIQuestionGeneratorModal.d.ts.map +0 -1
  134. package/dist/react-ui/components/authoring/BlocklyProgrammingQuestionForm.d.ts +0 -9
  135. package/dist/react-ui/components/authoring/BlocklyProgrammingQuestionForm.d.ts.map +0 -1
  136. package/dist/react-ui/components/authoring/CodingQuestionForm.d.ts +0 -9
  137. package/dist/react-ui/components/authoring/CodingQuestionForm.d.ts.map +0 -1
  138. package/dist/react-ui/components/authoring/DragAndDropQuestionForm.d.ts +0 -9
  139. package/dist/react-ui/components/authoring/DragAndDropQuestionForm.d.ts.map +0 -1
  140. package/dist/react-ui/components/authoring/EditQuestionModal.d.ts +0 -11
  141. package/dist/react-ui/components/authoring/EditQuestionModal.d.ts.map +0 -1
  142. package/dist/react-ui/components/authoring/FillInTheBlanksQuestionForm.d.ts +0 -9
  143. package/dist/react-ui/components/authoring/FillInTheBlanksQuestionForm.d.ts.map +0 -1
  144. package/dist/react-ui/components/authoring/HotspotQuestionForm.d.ts +0 -9
  145. package/dist/react-ui/components/authoring/HotspotQuestionForm.d.ts.map +0 -1
  146. package/dist/react-ui/components/authoring/ImportQuestionsModal.d.ts +0 -10
  147. package/dist/react-ui/components/authoring/ImportQuestionsModal.d.ts.map +0 -1
  148. package/dist/react-ui/components/authoring/MatchingQuestionForm.d.ts +0 -9
  149. package/dist/react-ui/components/authoring/MatchingQuestionForm.d.ts.map +0 -1
  150. package/dist/react-ui/components/authoring/MultipleChoiceQuestionForm.d.ts +0 -9
  151. package/dist/react-ui/components/authoring/MultipleChoiceQuestionForm.d.ts.map +0 -1
  152. package/dist/react-ui/components/authoring/MultipleResponseQuestionForm.d.ts +0 -9
  153. package/dist/react-ui/components/authoring/MultipleResponseQuestionForm.d.ts.map +0 -1
  154. package/dist/react-ui/components/authoring/NumericQuestionForm.d.ts +0 -9
  155. package/dist/react-ui/components/authoring/NumericQuestionForm.d.ts.map +0 -1
  156. package/dist/react-ui/components/authoring/QuestionFilters.d.ts +0 -9
  157. package/dist/react-ui/components/authoring/QuestionFilters.d.ts.map +0 -1
  158. package/dist/react-ui/components/authoring/QuestionFormDialog.d.ts +0 -11
  159. package/dist/react-ui/components/authoring/QuestionFormDialog.d.ts.map +0 -1
  160. package/dist/react-ui/components/authoring/QuestionList.d.ts +0 -11
  161. package/dist/react-ui/components/authoring/QuestionList.d.ts.map +0 -1
  162. package/dist/react-ui/components/authoring/QuestionPreviewModal.d.ts +0 -10
  163. package/dist/react-ui/components/authoring/QuestionPreviewModal.d.ts.map +0 -1
  164. package/dist/react-ui/components/authoring/QuizAuthoringTool.d.ts +0 -10
  165. package/dist/react-ui/components/authoring/QuizAuthoringTool.d.ts.map +0 -1
  166. package/dist/react-ui/components/authoring/SCORMExportModal.d.ts +0 -13
  167. package/dist/react-ui/components/authoring/SCORMExportModal.d.ts.map +0 -1
  168. package/dist/react-ui/components/authoring/ScratchProgrammingQuestionForm.d.ts +0 -9
  169. package/dist/react-ui/components/authoring/ScratchProgrammingQuestionForm.d.ts.map +0 -1
  170. package/dist/react-ui/components/authoring/SequenceQuestionForm.d.ts +0 -9
  171. package/dist/react-ui/components/authoring/SequenceQuestionForm.d.ts.map +0 -1
  172. package/dist/react-ui/components/authoring/ShortAnswerQuestionForm.d.ts +0 -9
  173. package/dist/react-ui/components/authoring/ShortAnswerQuestionForm.d.ts.map +0 -1
  174. package/dist/react-ui/components/authoring/TrueFalseQuestionForm.d.ts +0 -9
  175. package/dist/react-ui/components/authoring/TrueFalseQuestionForm.d.ts.map +0 -1
  176. package/dist/react-ui/components/common/ClientTranslation.d.ts +0 -18
  177. package/dist/react-ui/components/common/ClientTranslation.d.ts.map +0 -1
  178. package/dist/react-ui/components/common/EditorToolbar.d.ts +0 -8
  179. package/dist/react-ui/components/common/EditorToolbar.d.ts.map +0 -1
  180. package/dist/react-ui/components/common/MarkdownEditor.d.ts +0 -11
  181. package/dist/react-ui/components/common/MarkdownEditor.d.ts.map +0 -1
  182. package/dist/react-ui/components/common/MarkdownRenderer.d.ts +0 -15
  183. package/dist/react-ui/components/common/MarkdownRenderer.d.ts.map +0 -1
  184. package/dist/react-ui/components/common/RichTextEditor.d.ts +0 -11
  185. package/dist/react-ui/components/common/RichTextEditor.d.ts.map +0 -1
  186. package/dist/react-ui/components/common/RichTextRenderer.d.ts +0 -16
  187. package/dist/react-ui/components/common/RichTextRenderer.d.ts.map +0 -1
  188. package/dist/react-ui/components/common/SimpleMarkdownEditor.d.ts +0 -17
  189. package/dist/react-ui/components/common/SimpleMarkdownEditor.d.ts.map +0 -1
  190. package/dist/react-ui/components/dashboard/AchievementCertificate.d.ts +0 -11
  191. package/dist/react-ui/components/dashboard/AchievementCertificate.d.ts.map +0 -1
  192. package/dist/react-ui/components/dashboard/Achievements.d.ts +0 -8
  193. package/dist/react-ui/components/dashboard/Achievements.d.ts.map +0 -1
  194. package/dist/react-ui/components/dashboard/ActivityCalendar.d.ts +0 -8
  195. package/dist/react-ui/components/dashboard/ActivityCalendar.d.ts.map +0 -1
  196. package/dist/react-ui/components/dashboard/AnalysisDialog.d.ts +0 -8
  197. package/dist/react-ui/components/dashboard/AnalysisDialog.d.ts.map +0 -1
  198. package/dist/react-ui/components/dashboard/ChatbotDialog.d.ts +0 -8
  199. package/dist/react-ui/components/dashboard/ChatbotDialog.d.ts.map +0 -1
  200. package/dist/react-ui/components/dashboard/Cheatsheet.d.ts +0 -3
  201. package/dist/react-ui/components/dashboard/Cheatsheet.d.ts.map +0 -1
  202. package/dist/react-ui/components/dashboard/DraggableDashboardCard.d.ts +0 -11
  203. package/dist/react-ui/components/dashboard/DraggableDashboardCard.d.ts.map +0 -1
  204. package/dist/react-ui/components/dashboard/FreestyleQuizzesCard.d.ts +0 -3
  205. package/dist/react-ui/components/dashboard/FreestyleQuizzesCard.d.ts.map +0 -1
  206. package/dist/react-ui/components/dashboard/GeneratedQuizzesCard.d.ts +0 -3
  207. package/dist/react-ui/components/dashboard/GeneratedQuizzesCard.d.ts.map +0 -1
  208. package/dist/react-ui/components/dashboard/GoalsProgress.d.ts +0 -3
  209. package/dist/react-ui/components/dashboard/GoalsProgress.d.ts.map +0 -1
  210. package/dist/react-ui/components/dashboard/PerformanceCharts.d.ts +0 -8
  211. package/dist/react-ui/components/dashboard/PerformanceCharts.d.ts.map +0 -1
  212. package/dist/react-ui/components/dashboard/PerformanceSnapshot.d.ts +0 -9
  213. package/dist/react-ui/components/dashboard/PerformanceSnapshot.d.ts.map +0 -1
  214. package/dist/react-ui/components/dashboard/PracticeHistoryTable.d.ts +0 -9
  215. package/dist/react-ui/components/dashboard/PracticeHistoryTable.d.ts.map +0 -1
  216. package/dist/react-ui/components/dashboard/RoadmapChecklist.d.ts +0 -3
  217. package/dist/react-ui/components/dashboard/RoadmapChecklist.d.ts.map +0 -1
  218. package/dist/react-ui/components/dashboard/SessionActionsDialog.d.ts +0 -13
  219. package/dist/react-ui/components/dashboard/SessionActionsDialog.d.ts.map +0 -1
  220. package/dist/react-ui/components/dashboard/ShareAchievementDialog.d.ts +0 -10
  221. package/dist/react-ui/components/dashboard/ShareAchievementDialog.d.ts.map +0 -1
  222. package/dist/react-ui/components/dashboard/StatCard.d.ts +0 -12
  223. package/dist/react-ui/components/dashboard/StatCard.d.ts.map +0 -1
  224. package/dist/react-ui/components/dashboard/SuggestionDialog.d.ts +0 -12
  225. package/dist/react-ui/components/dashboard/SuggestionDialog.d.ts.map +0 -1
  226. package/dist/react-ui/components/elements/accordion.d.ts +0 -8
  227. package/dist/react-ui/components/elements/accordion.d.ts.map +0 -1
  228. package/dist/react-ui/components/elements/alert-dialog.d.ts +0 -21
  229. package/dist/react-ui/components/elements/alert-dialog.d.ts.map +0 -1
  230. package/dist/react-ui/components/elements/alert.d.ts +0 -9
  231. package/dist/react-ui/components/elements/alert.d.ts.map +0 -1
  232. package/dist/react-ui/components/elements/avatar.d.ts +0 -7
  233. package/dist/react-ui/components/elements/avatar.d.ts.map +0 -1
  234. package/dist/react-ui/components/elements/badge.d.ts +0 -10
  235. package/dist/react-ui/components/elements/badge.d.ts.map +0 -1
  236. package/dist/react-ui/components/elements/button.d.ts +0 -12
  237. package/dist/react-ui/components/elements/button.d.ts.map +0 -1
  238. package/dist/react-ui/components/elements/calendar.d.ts +0 -9
  239. package/dist/react-ui/components/elements/calendar.d.ts.map +0 -1
  240. package/dist/react-ui/components/elements/card.d.ts +0 -9
  241. package/dist/react-ui/components/elements/card.d.ts.map +0 -1
  242. package/dist/react-ui/components/elements/chart.d.ts +0 -63
  243. package/dist/react-ui/components/elements/chart.d.ts.map +0 -1
  244. package/dist/react-ui/components/elements/checkbox.d.ts +0 -5
  245. package/dist/react-ui/components/elements/checkbox.d.ts.map +0 -1
  246. package/dist/react-ui/components/elements/dialog.d.ts +0 -20
  247. package/dist/react-ui/components/elements/dialog.d.ts.map +0 -1
  248. package/dist/react-ui/components/elements/dropdown-menu.d.ts +0 -28
  249. package/dist/react-ui/components/elements/dropdown-menu.d.ts.map +0 -1
  250. package/dist/react-ui/components/elements/form.d.ts +0 -24
  251. package/dist/react-ui/components/elements/form.d.ts.map +0 -1
  252. package/dist/react-ui/components/elements/input.d.ts +0 -4
  253. package/dist/react-ui/components/elements/input.d.ts.map +0 -1
  254. package/dist/react-ui/components/elements/label.d.ts +0 -6
  255. package/dist/react-ui/components/elements/label.d.ts.map +0 -1
  256. package/dist/react-ui/components/elements/menubar.d.ts +0 -29
  257. package/dist/react-ui/components/elements/menubar.d.ts.map +0 -1
  258. package/dist/react-ui/components/elements/popover.d.ts +0 -7
  259. package/dist/react-ui/components/elements/popover.d.ts.map +0 -1
  260. package/dist/react-ui/components/elements/progress.d.ts +0 -5
  261. package/dist/react-ui/components/elements/progress.d.ts.map +0 -1
  262. package/dist/react-ui/components/elements/radio-group.d.ts +0 -6
  263. package/dist/react-ui/components/elements/radio-group.d.ts.map +0 -1
  264. package/dist/react-ui/components/elements/scroll-area.d.ts +0 -6
  265. package/dist/react-ui/components/elements/scroll-area.d.ts.map +0 -1
  266. package/dist/react-ui/components/elements/select.d.ts +0 -14
  267. package/dist/react-ui/components/elements/select.d.ts.map +0 -1
  268. package/dist/react-ui/components/elements/separator.d.ts +0 -5
  269. package/dist/react-ui/components/elements/separator.d.ts.map +0 -1
  270. package/dist/react-ui/components/elements/sheet.d.ts +0 -26
  271. package/dist/react-ui/components/elements/sheet.d.ts.map +0 -1
  272. package/dist/react-ui/components/elements/sidebar.d.ts +0 -67
  273. package/dist/react-ui/components/elements/sidebar.d.ts.map +0 -1
  274. package/dist/react-ui/components/elements/skeleton.d.ts +0 -3
  275. package/dist/react-ui/components/elements/skeleton.d.ts.map +0 -1
  276. package/dist/react-ui/components/elements/slider.d.ts +0 -5
  277. package/dist/react-ui/components/elements/slider.d.ts.map +0 -1
  278. package/dist/react-ui/components/elements/switch.d.ts +0 -5
  279. package/dist/react-ui/components/elements/switch.d.ts.map +0 -1
  280. package/dist/react-ui/components/elements/table.d.ts +0 -11
  281. package/dist/react-ui/components/elements/table.d.ts.map +0 -1
  282. package/dist/react-ui/components/elements/tabs.d.ts +0 -8
  283. package/dist/react-ui/components/elements/tabs.d.ts.map +0 -1
  284. package/dist/react-ui/components/elements/textarea.d.ts +0 -4
  285. package/dist/react-ui/components/elements/textarea.d.ts.map +0 -1
  286. package/dist/react-ui/components/elements/toast.d.ts +0 -16
  287. package/dist/react-ui/components/elements/toast.d.ts.map +0 -1
  288. package/dist/react-ui/components/elements/toaster.d.ts +0 -2
  289. package/dist/react-ui/components/elements/toaster.d.ts.map +0 -1
  290. package/dist/react-ui/components/elements/tooltip.d.ts +0 -8
  291. package/dist/react-ui/components/elements/tooltip.d.ts.map +0 -1
  292. package/dist/react-ui/components/metadata/ApproachManager.d.ts +0 -3
  293. package/dist/react-ui/components/metadata/ApproachManager.d.ts.map +0 -1
  294. package/dist/react-ui/components/metadata/BloomLevelManager.d.ts +0 -3
  295. package/dist/react-ui/components/metadata/BloomLevelManager.d.ts.map +0 -1
  296. package/dist/react-ui/components/metadata/CategoryManager.d.ts +0 -3
  297. package/dist/react-ui/components/metadata/CategoryManager.d.ts.map +0 -1
  298. package/dist/react-ui/components/metadata/ContextManager.d.ts +0 -3
  299. package/dist/react-ui/components/metadata/ContextManager.d.ts.map +0 -1
  300. package/dist/react-ui/components/metadata/GradeLevelManager.d.ts +0 -3
  301. package/dist/react-ui/components/metadata/GradeLevelManager.d.ts.map +0 -1
  302. package/dist/react-ui/components/metadata/LearningObjectiveManager.d.ts +0 -3
  303. package/dist/react-ui/components/metadata/LearningObjectiveManager.d.ts.map +0 -1
  304. package/dist/react-ui/components/metadata/MetadataTabs.d.ts +0 -3
  305. package/dist/react-ui/components/metadata/MetadataTabs.d.ts.map +0 -1
  306. package/dist/react-ui/components/metadata/QuestionTypeManager.d.ts +0 -3
  307. package/dist/react-ui/components/metadata/QuestionTypeManager.d.ts.map +0 -1
  308. package/dist/react-ui/components/metadata/SubjectManager.d.ts +0 -3
  309. package/dist/react-ui/components/metadata/SubjectManager.d.ts.map +0 -1
  310. package/dist/react-ui/components/metadata/TopicManager.d.ts +0 -3
  311. package/dist/react-ui/components/metadata/TopicManager.d.ts.map +0 -1
  312. package/dist/react-ui/components/practice/PracticeModeController.d.ts +0 -3
  313. package/dist/react-ui/components/practice/PracticeModeController.d.ts.map +0 -1
  314. package/dist/react-ui/components/practice/PracticeSetup.d.ts +0 -12
  315. package/dist/react-ui/components/practice/PracticeSetup.d.ts.map +0 -1
  316. package/dist/react-ui/components/practice/QuizReview.d.ts +0 -12
  317. package/dist/react-ui/components/practice/QuizReview.d.ts.map +0 -1
  318. package/dist/react-ui/components/ui/BlocklyProgrammingQuestionUI.d.ts +0 -14
  319. package/dist/react-ui/components/ui/BlocklyProgrammingQuestionUI.d.ts.map +0 -1
  320. package/dist/react-ui/components/ui/CodingQuestionUI.d.ts +0 -11
  321. package/dist/react-ui/components/ui/CodingQuestionUI.d.ts.map +0 -1
  322. package/dist/react-ui/components/ui/DragAndDropQuestionUI.d.ts +0 -11
  323. package/dist/react-ui/components/ui/DragAndDropQuestionUI.d.ts.map +0 -1
  324. package/dist/react-ui/components/ui/FillInTheBlanksQuestionUI.d.ts +0 -11
  325. package/dist/react-ui/components/ui/FillInTheBlanksQuestionUI.d.ts.map +0 -1
  326. package/dist/react-ui/components/ui/HotspotQuestionUI.d.ts +0 -11
  327. package/dist/react-ui/components/ui/HotspotQuestionUI.d.ts.map +0 -1
  328. package/dist/react-ui/components/ui/MatchingQuestionUI.d.ts +0 -11
  329. package/dist/react-ui/components/ui/MatchingQuestionUI.d.ts.map +0 -1
  330. package/dist/react-ui/components/ui/MultipleChoiceQuestionUI.d.ts +0 -11
  331. package/dist/react-ui/components/ui/MultipleChoiceQuestionUI.d.ts.map +0 -1
  332. package/dist/react-ui/components/ui/MultipleResponseQuestionUI.d.ts +0 -11
  333. package/dist/react-ui/components/ui/MultipleResponseQuestionUI.d.ts.map +0 -1
  334. package/dist/react-ui/components/ui/NumericQuestionUI.d.ts +0 -11
  335. package/dist/react-ui/components/ui/NumericQuestionUI.d.ts.map +0 -1
  336. package/dist/react-ui/components/ui/QuestionRenderer.d.ts +0 -14
  337. package/dist/react-ui/components/ui/QuestionRenderer.d.ts.map +0 -1
  338. package/dist/react-ui/components/ui/QuizDataManagement.d.ts +0 -9
  339. package/dist/react-ui/components/ui/QuizDataManagement.d.ts.map +0 -1
  340. package/dist/react-ui/components/ui/QuizPlayer.d.ts +0 -10
  341. package/dist/react-ui/components/ui/QuizPlayer.d.ts.map +0 -1
  342. package/dist/react-ui/components/ui/QuizResult.d.ts +0 -13
  343. package/dist/react-ui/components/ui/QuizResult.d.ts.map +0 -1
  344. package/dist/react-ui/components/ui/ScratchProgrammingQuestionUI.d.ts +0 -13
  345. package/dist/react-ui/components/ui/ScratchProgrammingQuestionUI.d.ts.map +0 -1
  346. package/dist/react-ui/components/ui/SequenceQuestionUI.d.ts +0 -11
  347. package/dist/react-ui/components/ui/SequenceQuestionUI.d.ts.map +0 -1
  348. package/dist/react-ui/components/ui/ShortAnswerQuestionUI.d.ts +0 -11
  349. package/dist/react-ui/components/ui/ShortAnswerQuestionUI.d.ts.map +0 -1
  350. package/dist/react-ui/components/ui/TrueFalseQuestionUI.d.ts +0 -11
  351. package/dist/react-ui/components/ui/TrueFalseQuestionUI.d.ts.map +0 -1
  352. package/dist/react-ui/context/LanguageContext.d.ts +0 -21
  353. package/dist/react-ui/context/LanguageContext.d.ts.map +0 -1
  354. package/dist/react-ui/hooks/use-mobile.d.ts +0 -9
  355. package/dist/react-ui/hooks/use-mobile.d.ts.map +0 -1
  356. package/dist/react-ui/hooks/use-toast.d.ts +0 -45
  357. package/dist/react-ui/hooks/use-toast.d.ts.map +0 -1
  358. package/dist/react-ui/index.d.ts +0 -39
  359. package/dist/react-ui/index.d.ts.map +0 -1
  360. package/dist/react-ui.d.ts.map +0 -1
  361. package/dist/schemas/zod/blocklyProgrammingQuestionSchema.d.ts +0 -61
  362. package/dist/schemas/zod/blocklyProgrammingQuestionSchema.d.ts.map +0 -1
  363. package/dist/schemas/zod/codingQuestionSchema.d.ts +0 -111
  364. package/dist/schemas/zod/codingQuestionSchema.d.ts.map +0 -1
  365. package/dist/schemas/zod/dragAndDropQuestionSchema.d.ts +0 -109
  366. package/dist/schemas/zod/dragAndDropQuestionSchema.d.ts.map +0 -1
  367. package/dist/schemas/zod/fillInTheBlanksQuestionSchema.d.ts +0 -103
  368. package/dist/schemas/zod/fillInTheBlanksQuestionSchema.d.ts.map +0 -1
  369. package/dist/schemas/zod/hotspotQuestionSchema.d.ts +0 -111
  370. package/dist/schemas/zod/hotspotQuestionSchema.d.ts.map +0 -1
  371. package/dist/schemas/zod/matchingQuestionSchema.d.ts +0 -106
  372. package/dist/schemas/zod/matchingQuestionSchema.d.ts.map +0 -1
  373. package/dist/schemas/zod/multipleChoiceQuestionSchema.d.ts +0 -70
  374. package/dist/schemas/zod/multipleChoiceQuestionSchema.d.ts.map +0 -1
  375. package/dist/schemas/zod/multipleResponseQuestionSchema.d.ts +0 -70
  376. package/dist/schemas/zod/multipleResponseQuestionSchema.d.ts.map +0 -1
  377. package/dist/schemas/zod/numericQuestionSchema.d.ts +0 -55
  378. package/dist/schemas/zod/numericQuestionSchema.d.ts.map +0 -1
  379. package/dist/schemas/zod/quizConfigSchema.d.ts +0 -634
  380. package/dist/schemas/zod/quizConfigSchema.d.ts.map +0 -1
  381. package/dist/schemas/zod/scratchProgrammingQuestionSchema.d.ts +0 -61
  382. package/dist/schemas/zod/scratchProgrammingQuestionSchema.d.ts.map +0 -1
  383. package/dist/schemas/zod/sequenceQuestionSchema.d.ts +0 -70
  384. package/dist/schemas/zod/sequenceQuestionSchema.d.ts.map +0 -1
  385. package/dist/schemas/zod/shortAnswerQuestionSchema.d.ts +0 -55
  386. package/dist/schemas/zod/shortAnswerQuestionSchema.d.ts.map +0 -1
  387. package/dist/schemas/zod/trueFalseQuestionSchema.d.ts +0 -52
  388. package/dist/schemas/zod/trueFalseQuestionSchema.d.ts.map +0 -1
  389. package/dist/services/APIKeyService.d.ts +0 -28
  390. package/dist/services/APIKeyService.d.ts.map +0 -1
  391. package/dist/services/AchievementService.d.ts +0 -10
  392. package/dist/services/AchievementService.d.ts.map +0 -1
  393. package/dist/services/AnalysisReportService.d.ts +0 -11
  394. package/dist/services/AnalysisReportService.d.ts.map +0 -1
  395. package/dist/services/CardGenerationProcessor.d.ts +0 -7
  396. package/dist/services/CardGenerationProcessor.d.ts.map +0 -1
  397. package/dist/services/CodeEvaluationService.d.ts +0 -15
  398. package/dist/services/CodeEvaluationService.d.ts.map +0 -1
  399. package/dist/services/DashboardLayoutService.d.ts +0 -28
  400. package/dist/services/DashboardLayoutService.d.ts.map +0 -1
  401. package/dist/services/FreestyleQuizService.d.ts +0 -51
  402. package/dist/services/FreestyleQuizService.d.ts.map +0 -1
  403. package/dist/services/HTMLLauncherGenerator.d.ts +0 -3
  404. package/dist/services/HTMLLauncherGenerator.d.ts.map +0 -1
  405. package/dist/services/ImageContextService.d.ts +0 -55
  406. package/dist/services/ImageContextService.d.ts.map +0 -1
  407. package/dist/services/KnowledgeCardService.d.ts +0 -57
  408. package/dist/services/KnowledgeCardService.d.ts.map +0 -1
  409. package/dist/services/MotivationalQuotes.d.ts +0 -16
  410. package/dist/services/MotivationalQuotes.d.ts.map +0 -1
  411. package/dist/services/PracticeHistoryService.d.ts +0 -15
  412. package/dist/services/PracticeHistoryService.d.ts.map +0 -1
  413. package/dist/services/QuestionImportService.d.ts +0 -19
  414. package/dist/services/QuestionImportService.d.ts.map +0 -1
  415. package/dist/services/QuizEditorService.d.ts +0 -16
  416. package/dist/services/QuizEditorService.d.ts.map +0 -1
  417. package/dist/services/QuizEngine.d.ts +0 -40
  418. package/dist/services/QuizEngine.d.ts.map +0 -1
  419. package/dist/services/RoadmapService.d.ts +0 -9
  420. package/dist/services/RoadmapService.d.ts.map +0 -1
  421. package/dist/services/SCORMManifestGenerator.d.ts +0 -4
  422. package/dist/services/SCORMManifestGenerator.d.ts.map +0 -1
  423. package/dist/services/SCORMService.d.ts +0 -41
  424. package/dist/services/SCORMService.d.ts.map +0 -1
  425. package/dist/services/TopicDataService.d.ts +0 -62
  426. package/dist/services/TopicDataService.d.ts.map +0 -1
  427. package/dist/services/UserConfigService.d.ts +0 -27
  428. package/dist/services/UserConfigService.d.ts.map +0 -1
  429. package/dist/services/evaluators/base-evaluator.d.ts +0 -11
  430. package/dist/services/evaluators/base-evaluator.d.ts.map +0 -1
  431. package/dist/services/evaluators/coding-evaluator.d.ts +0 -6
  432. package/dist/services/evaluators/coding-evaluator.d.ts.map +0 -1
  433. package/dist/services/evaluators/drag-and-drop-evaluator.d.ts +0 -6
  434. package/dist/services/evaluators/drag-and-drop-evaluator.d.ts.map +0 -1
  435. package/dist/services/evaluators/fill-in-the-blanks-evaluator.d.ts +0 -6
  436. package/dist/services/evaluators/fill-in-the-blanks-evaluator.d.ts.map +0 -1
  437. package/dist/services/evaluators/hotspot-evaluator.d.ts +0 -6
  438. package/dist/services/evaluators/hotspot-evaluator.d.ts.map +0 -1
  439. package/dist/services/evaluators/matching-evaluator.d.ts +0 -6
  440. package/dist/services/evaluators/matching-evaluator.d.ts.map +0 -1
  441. package/dist/services/evaluators/multiple-choice-evaluator.d.ts +0 -6
  442. package/dist/services/evaluators/multiple-choice-evaluator.d.ts.map +0 -1
  443. package/dist/services/evaluators/multiple-response-evaluator.d.ts +0 -6
  444. package/dist/services/evaluators/multiple-response-evaluator.d.ts.map +0 -1
  445. package/dist/services/evaluators/numeric-evaluator.d.ts +0 -6
  446. package/dist/services/evaluators/numeric-evaluator.d.ts.map +0 -1
  447. package/dist/services/evaluators/programming-evaluator.d.ts +0 -6
  448. package/dist/services/evaluators/programming-evaluator.d.ts.map +0 -1
  449. package/dist/services/evaluators/sequence-evaluator.d.ts +0 -6
  450. package/dist/services/evaluators/sequence-evaluator.d.ts.map +0 -1
  451. package/dist/services/evaluators/short-answer-evaluator.d.ts +0 -6
  452. package/dist/services/evaluators/short-answer-evaluator.d.ts.map +0 -1
  453. package/dist/services/evaluators/true-false-evaluator.d.ts +0 -6
  454. package/dist/services/evaluators/true-false-evaluator.d.ts.map +0 -1
  455. package/dist/services/metadataService.d.ts +0 -40
  456. package/dist/services/metadataService.d.ts.map +0 -1
  457. package/dist/services/questionBankService.d.ts +0 -19
  458. package/dist/services/questionBankService.d.ts.map +0 -1
  459. package/dist/services/sampleQuiz.d.ts +0 -4
  460. package/dist/services/sampleQuiz.d.ts.map +0 -1
  461. package/dist/services/scormPackaging.d.ts +0 -11
  462. package/dist/services/scormPackaging.d.ts.map +0 -1
  463. package/dist/types/ai-ecosystem.d.ts +0 -57
  464. package/dist/types/ai-ecosystem.d.ts.map +0 -1
  465. package/dist/types/common.d.ts +0 -3
  466. package/dist/types/common.d.ts.map +0 -1
  467. package/dist/types/learning-objectives.d.ts +0 -12
  468. package/dist/types/learning-objectives.d.ts.map +0 -1
  469. package/dist/types/metadata.d.ts +0 -45
  470. package/dist/types/metadata.d.ts.map +0 -1
  471. package/dist/types/misc.d.ts +0 -102
  472. package/dist/types/misc.d.ts.map +0 -1
  473. package/dist/types/question-bank.d.ts +0 -28
  474. package/dist/types/question-bank.d.ts.map +0 -1
  475. package/dist/types/questions.d.ts +0 -151
  476. package/dist/types/questions.d.ts.map +0 -1
  477. package/dist/types/quiz-config.d.ts +0 -12
  478. package/dist/types/quiz-config.d.ts.map +0 -1
  479. package/dist/types/quiz-engine.d.ts +0 -23
  480. package/dist/types/quiz-engine.d.ts.map +0 -1
  481. package/dist/types/quiz-settings.d.ts +0 -35
  482. package/dist/types/quiz-settings.d.ts.map +0 -1
  483. package/dist/types/results.d.ts +0 -72
  484. package/dist/types/results.d.ts.map +0 -1
  485. package/dist/types.d.ts +0 -12
  486. package/dist/types.d.ts.map +0 -1
  487. package/dist/utils/aiUtils.d.ts +0 -11
  488. package/dist/utils/aiUtils.d.ts.map +0 -1
  489. package/dist/utils/asyncUtils.d.ts +0 -22
  490. package/dist/utils/asyncUtils.d.ts.map +0 -1
  491. package/dist/utils/debug-logger.d.ts +0 -24
  492. package/dist/utils/debug-logger.d.ts.map +0 -1
  493. package/dist/utils/formattedDate.d.ts +0 -2
  494. package/dist/utils/formattedDate.d.ts.map +0 -1
  495. package/dist/utils/idGenerators.d.ts +0 -7
  496. package/dist/utils/idGenerators.d.ts.map +0 -1
  497. package/dist/utils/jsonUtils.d.ts +0 -18
  498. package/dist/utils/jsonUtils.d.ts.map +0 -1
  499. package/dist/utils/use-mobile.d.ts +0 -2
  500. package/dist/utils/use-mobile.d.ts.map +0 -1
  501. package/dist/utils/utils.d.ts +0 -3
  502. package/dist/utils/utils.d.ts.map +0 -1
@@ -1,45 +0,0 @@
1
- import type { QuestionTypeStrings as LibraryQuestionTypeStrings } from './questions';
2
- export interface CodeNamedEntity {
3
- id: string;
4
- code: string;
5
- name: string;
6
- description?: string;
7
- }
8
- export interface Subject extends CodeNamedEntity {
9
- createdAt: string;
10
- updatedAt: string;
11
- }
12
- export interface GradeLevel extends CodeNamedEntity {
13
- }
14
- export interface BloomLevelType extends CodeNamedEntity {
15
- }
16
- export interface QuestionTypeType extends CodeNamedEntity {
17
- }
18
- export interface Category extends CodeNamedEntity {
19
- }
20
- export interface Context extends CodeNamedEntity {
21
- }
22
- export interface Topic extends CodeNamedEntity {
23
- subjectCode: string;
24
- }
25
- export type QuestionTypeStrings = LibraryQuestionTypeStrings;
26
- export type BloomLevelName = "Remembering" | "Understanding" | "Applying" | "Analyzing" | "Evaluating" | "Creating";
27
- export type StandardDifficulty = "easy" | "medium" | "hard";
28
- export type KnowledgeDimension = "Factual" | "Conceptual" | "Procedural";
29
- export type ApproachTableRawDifficulty = "E" | "M" | "H" | "E~M" | "M~H";
30
- export interface Approach extends CodeNamedEntity {
31
- verbEn: string;
32
- verbVi: string;
33
- bloomLevelCode: string;
34
- knowledgeDimension: KnowledgeDimension;
35
- iSpringQuizType: string;
36
- rawDifficulty: ApproachTableRawDifficulty;
37
- difficulty: StandardDifficulty;
38
- suggestContext?: string;
39
- exampleEn?: string;
40
- exampleVi?: string;
41
- }
42
- export interface LearningObjectiveMetadata extends CodeNamedEntity {
43
- subjectCode?: string;
44
- }
45
- //# sourceMappingURL=metadata.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"metadata.d.ts","sourceRoot":"","sources":["../../src/types/metadata.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,IAAI,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAKrF,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,OAAQ,SAAQ,eAAe;IAC9C,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,UAAW,SAAQ,eAAe;CAAG;AAEtD,MAAM,WAAW,cAAe,SAAQ,eAAe;CAAG;AAE1D,MAAM,WAAW,gBAAiB,SAAQ,eAAe;CAAG;AAE5D,MAAM,WAAW,QAAS,SAAQ,eAAe;CAEhD;AAED,MAAM,WAAW,OAAQ,SAAQ,eAAe;CAAG;AAEnD,MAAM,WAAW,KAAM,SAAQ,eAAe;IAC5C,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,MAAM,mBAAmB,GAAG,0BAA0B,CAAC;AAE7D,MAAM,MAAM,cAAc,GAAG,aAAa,GAAG,eAAe,GAAG,UAAU,GAAG,WAAW,GAAG,YAAY,GAAG,UAAU,CAAC;AACpH,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;AAE5D,MAAM,MAAM,kBAAkB,GAAG,SAAS,GAAG,YAAY,GAAG,YAAY,CAAC;AACzE,MAAM,MAAM,0BAA0B,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,KAAK,GAAG,KAAK,CAAC;AAEzE,MAAM,WAAW,QAAS,SAAQ,eAAe;IAC/C,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,MAAM,CAAC;IACvB,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,EAAE,0BAA0B,CAAC;IAC1C,UAAU,EAAE,kBAAkB,CAAC;IAC/B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAKD,MAAM,WAAW,yBAA0B,SAAQ,eAAe;IAChE,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
@@ -1,102 +0,0 @@
1
- import { RichContentString } from './common';
2
- import { QuizConfig, QuizResultType } from '..';
3
- export interface ImportError {
4
- index: number;
5
- message: string;
6
- data: any;
7
- }
8
- export interface QuestionReview {
9
- questionId: string;
10
- explanation: RichContentString;
11
- }
12
- export interface QuizReviewContent {
13
- questionReviews: QuestionReview[];
14
- overallSummary: RichContentString;
15
- relatedTopics: string[];
16
- }
17
- export interface AchievementDefinition {
18
- id: string;
19
- icon: string;
20
- nameKey: string;
21
- descriptionKey: string;
22
- condition: {
23
- type: string;
24
- params: Record<string, any>;
25
- };
26
- }
27
- export interface Achievement {
28
- id: string;
29
- name: string;
30
- description: string;
31
- icon: string;
32
- unlockedAt?: number;
33
- }
34
- export type PracticeDifficulty = 'Very Easy' | 'Easy' | 'Medium' | 'Hard' | 'Expert';
35
- export interface PracticeSuggestionTopic {
36
- loId: string;
37
- topicName: string;
38
- reason: 'review' | 'explore';
39
- suggestedDifficulty?: PracticeDifficulty;
40
- }
41
- export interface PracticeSuggestion {
42
- suggestionText: RichContentString;
43
- suggestedTopics: PracticeSuggestionTopic[];
44
- }
45
- export interface KnowledgeCard {
46
- id: string;
47
- concept: string;
48
- definition: RichContentString;
49
- example: RichContentString;
50
- subject?: string;
51
- }
52
- export interface PracticeTopicSummary {
53
- subject: string;
54
- category: string;
55
- topic: string;
56
- }
57
- export interface PracticeSession {
58
- id: string;
59
- timestamp: number;
60
- quizConfig: QuizConfig;
61
- quizResult: QuizResultType;
62
- quizReview: QuizReviewContent | null;
63
- summary: {
64
- topics: PracticeTopicSummary[];
65
- score: number;
66
- maxScore: number;
67
- percentage: number;
68
- };
69
- }
70
- export interface PracticeSessionSummary {
71
- id: string;
72
- timestamp: number;
73
- quizTitle: string;
74
- topics: PracticeTopicSummary[];
75
- score: number | null;
76
- maxScore: number | null;
77
- percentage: number | null;
78
- }
79
- export type ActivityCalendarData = Record<string, number>;
80
- export interface PerformanceSummary {
81
- name: string;
82
- totalSessions: number;
83
- averageScore: number;
84
- }
85
- export interface PracticeStats {
86
- totalSessions: number;
87
- currentStreak: number;
88
- longestStreak: number;
89
- activityCalendar: ActivityCalendarData;
90
- performanceBySubject: PerformanceSummary[];
91
- performanceByTopic: PerformanceSummary[];
92
- }
93
- export interface ImageContextItem {
94
- id: string;
95
- imageUrl: string;
96
- imageAltText: string;
97
- detailedDescription: string;
98
- subject: string;
99
- category: string;
100
- topic: string;
101
- }
102
- //# sourceMappingURL=misc.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"misc.d.ts","sourceRoot":"","sources":["../../src/types/misc.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,IAAI,CAAC;AAEhD,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,GAAG,CAAC;CACX;AAED,MAAM,WAAW,cAAc;IAC7B,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,iBAAi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,EAAE,MAAM,CAAC;IACrB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACf"}
@@ -1,28 +0,0 @@
1
- import type { QuizQuestion } from './questions';
2
- import type { StandardDifficulty } from './metadata';
3
- /**
4
- * Represents the structure of a question as stored within the Question Bank.
5
- * It combines the rich, flexible configuration from IQ-Kit's QuizQuestion
6
- * with the structured metadata needed for management and filtering, inspired by QMS.
7
- */
8
- export interface QuestionInBank {
9
- id: string;
10
- code: string;
11
- text: string;
12
- lastModified: string;
13
- questionTypeCode: string;
14
- subjectCode: string;
15
- topicCode: string;
16
- gradeLevelCode: string;
17
- bloomLevelCode: string;
18
- difficulty?: StandardDifficulty;
19
- approachCode?: string;
20
- learningObjectiveCode?: string;
21
- contextCode?: string;
22
- categoryCode?: string;
23
- gradeBand?: string;
24
- course?: string;
25
- createdAt?: string;
26
- questionConfig: QuizQuestion;
27
- }
28
- //# sourceMappingURL=question-bank.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"question-bank.d.ts","sourceRoot":"","sources":["../../src/types/question-bank.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAErD;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAE7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IAGrB,gBAAgB,EAAE,MAAM,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IAGvB,UAAU,CAAC,EAAE,kBAAkB,CAAC;IAChC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IAInB,cAAc,EAAE,YAAY,CAAC;CAC9B"}
@@ -1,151 +0,0 @@
1
- import { RichContentString } from './common';
2
- export type QuestionTypeStrings = 'multiple_choice' | 'multiple_response' | 'fill_in_the_blanks' | 'drag_and_drop' | 'true_false' | 'short_answer' | 'numeric' | 'sequence' | 'matching' | 'hotspot' | 'blockly_programming' | 'scratch_programming' | 'coding';
3
- export interface BaseQuestion {
4
- id: string;
5
- questionType: QuestionTypeStrings;
6
- prompt: RichContentString;
7
- points?: number;
8
- explanation?: RichContentString;
9
- learningObjective?: string;
10
- glossary?: string[];
11
- bloomLevel?: string;
12
- difficulty?: 'easy' | 'medium' | 'hard';
13
- contextCode?: string;
14
- gradeBand?: string;
15
- course?: string;
16
- subject?: string;
17
- category?: string;
18
- topic?: string;
19
- imageUrl?: string;
20
- imageAltText?: string;
21
- }
22
- export interface QuestionOption {
23
- id: string;
24
- text: RichContentString;
25
- }
26
- export interface MultipleChoiceQuestion extends BaseQuestion {
27
- questionType: 'multiple_choice';
28
- options: QuestionOption[];
29
- correctAnswerId: string;
30
- }
31
- export interface MultipleResponseQuestion extends BaseQuestion {
32
- questionType: 'multiple_response';
33
- options: QuestionOption[];
34
- correctAnswerIds: string[];
35
- }
36
- export interface FillInTheBlanksQuestion extends BaseQuestion {
37
- questionType: 'fill_in_the_blanks';
38
- segments: {
39
- type: 'text' | 'blank';
40
- content?: RichContentString;
41
- id?: string;
42
- }[];
43
- answers: {
44
- blankId: string;
45
- acceptedValues: string[];
46
- }[];
47
- isCaseSensitive?: boolean;
48
- }
49
- export interface DraggableItem {
50
- id: string;
51
- content: RichContentString;
52
- }
53
- export interface DropZone {
54
- id: string;
55
- label: RichContentString;
56
- }
57
- export interface DragAndDropQuestion extends BaseQuestion {
58
- questionType: 'drag_and_drop';
59
- draggableItems: DraggableItem[];
60
- dropZones: DropZone[];
61
- answerMap: {
62
- draggableId: string;
63
- dropZoneId: string;
64
- }[];
65
- backgroundImageUrl?: string;
66
- imageAltText?: string;
67
- }
68
- export interface TrueFalseQuestion extends BaseQuestion {
69
- questionType: 'true_false';
70
- correctAnswer: boolean;
71
- }
72
- export interface ShortAnswerQuestion extends BaseQuestion {
73
- questionType: 'short_answer';
74
- acceptedAnswers: string[];
75
- isCaseSensitive?: boolean;
76
- }
77
- export interface NumericQuestion extends BaseQuestion {
78
- questionType: 'numeric';
79
- answer: number;
80
- tolerance?: number;
81
- }
82
- export interface SequenceItem {
83
- id: string;
84
- content: RichContentString;
85
- }
86
- export interface SequenceQuestion extends BaseQuestion {
87
- questionType: 'sequence';
88
- items: SequenceItem[];
89
- correctOrder: string[];
90
- }
91
- export interface MatchPromptItem {
92
- id: string;
93
- content: RichContentString;
94
- }
95
- export interface MatchOptionItem {
96
- id: string;
97
- content: RichContentString;
98
- }
99
- export interface MatchingQuestion extends BaseQuestion {
100
- questionType: 'matching';
101
- prompts: MatchPromptItem[];
102
- options: MatchOptionItem[];
103
- correctAnswerMap: {
104
- promptId: string;
105
- optionId: string;
106
- }[];
107
- shuffleOptions?: boolean;
108
- }
109
- export interface HotspotArea {
110
- id: string;
111
- shape: 'rect' | 'circle';
112
- coords: number[];
113
- description?: RichContentString;
114
- }
115
- export interface HotspotQuestion extends BaseQuestion {
116
- questionType: 'hotspot';
117
- imageUrl: string;
118
- imageAltText?: string;
119
- hotspots: HotspotArea[];
120
- correctHotspotIds: string[];
121
- }
122
- export interface BlocklyProgrammingQuestion extends BaseQuestion {
123
- questionType: 'blockly_programming';
124
- toolboxDefinition: string;
125
- initialWorkspace?: string;
126
- solutionWorkspaceXML?: string;
127
- solutionGeneratedCode?: string;
128
- }
129
- export interface ScratchProgrammingQuestion extends BaseQuestion {
130
- questionType: 'scratch_programming';
131
- toolboxDefinition: string;
132
- initialWorkspace?: string;
133
- solutionWorkspaceXML?: string;
134
- solutionGeneratedCode?: string;
135
- }
136
- export type SupportedCodingLanguage = 'cpp' | 'javascript' | 'python' | 'swift' | 'csharp';
137
- export interface TestCase {
138
- id: string;
139
- input: any[];
140
- expectedOutput: any;
141
- isPublic: boolean;
142
- }
143
- export interface CodingQuestion extends BaseQuestion {
144
- questionType: 'coding';
145
- codingLanguage: SupportedCodingLanguage;
146
- solutionCode: string;
147
- testCases: TestCase[];
148
- functionSignature?: string;
149
- }
150
- export type QuizQuestion = MultipleChoiceQuestion | MultipleResponseQuestion | FillInTheBlanksQuestion | DragAndDropQuestion | TrueFalseQuestion | ShortAnswerQuestion | NumericQuestion | SequenceQuestion | MatchingQuestion | HotspotQuestion | BlocklyProgrammingQuestion | ScratchProgrammingQuestion | CodingQuestion;
151
- //# sourceMappingURL=questions.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"questions.d.ts","sourceRoot":"","sources":["../../src/types/questions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAE7C,MAAM,MAAM,mBAAmB,GAC3B,iBAAiB,GACjB,mBAAmB,GACnB,oBAAoB,GACpB,eAAe,GACf,YAAY,GACZ,cAAc,GACd,SAAS,GACT,UAAU,GACV,UAAU,GACV,SAAS,GACT,qBAAqB,GACrB,qBAAqB,GACrB,QAAQ,CAAC;AAEb,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,YAAY,EAAE,mBAAmB,CAAC;IAClC,MAAM,EAAE,iBAAiB,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,iBAAiB,CAAC;IAChC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,MAAM,EA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Y,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAC;AAE3F,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,GAAG,EAAE,CAAC;IACb,cAAc,EAAE,GAAG,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,cAAe,SAAQ,YAAY;IAClD,YAAY,EAAE,QAAQ,CAAC;IACvB,cAAc,EAAE,uBAAuB,CAAC;IACxC,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,MAAM,YAAY,GACpB,sBAAsB,GACtB,wBAAwB,GACxB,uBAAuB,GACvB,mBAAmB,GACnB,iBAAiB,GACjB,mBAAmB,GACnB,eAAe,GACf,gBAAgB,GAChB,gBAAgB,GAChB,eAAe,GACf,0BAA0B,GAC1B,0BAA0B,GAC1B,cAAc,CAAC"}
@@ -1,12 +0,0 @@
1
- import { QuizQuestion } from './questions';
2
- import { QuizSettings } from './quiz-settings';
3
- import { RichContentString } from './common';
4
- export interface QuizConfig {
5
- id: string;
6
- title: string;
7
- description?: RichContentString;
8
- questions: QuizQuestion[];
9
- settings?: QuizSettings;
10
- version?: number;
11
- }
12
- //# sourceMappingURL=quiz-config.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"quiz-config.d.ts","sourceRoot":"","sources":["../../src/types/quiz-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAE7C,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,iBAAiB,CAAC;IAChC,SAAS,EAAE,YAAY,EAAE,CAAC;IAC1B,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB"}
@@ -1,23 +0,0 @@
1
- import { QuizQuestion } from './questions';
2
- import { QuizConfig } from './quiz-config';
3
- import { QuizResultType, UserAnswerType } from './results';
4
- export interface QuizEngineCallbacks {
5
- onQuizStart?: (initialData: {
6
- initialQuestion: QuizQuestion | null;
7
- currentQuestionNumber: number;
8
- totalQuestions: number;
9
- timeLimitInSeconds: number | null;
10
- scormStatus?: QuizResultType['scormStatus'];
11
- studentName?: string;
12
- }) => void;
13
- onQuestionChange?: (question: QuizQuestion | null, currentQuestionNumber: number, totalQuestions: number) => void;
14
- onAnswerSubmit?: (question: QuizQuestion, userAnswer: UserAnswerType) => void;
15
- onQuizFinish?: (results: QuizResultType) => void;
16
- onTimeTick?: (timeLeftInSeconds: number) => void;
17
- onQuizTimeUp?: () => void;
18
- }
19
- export interface QuizEngineConstructorOptions {
20
- config: QuizConfig;
21
- callbacks?: QuizEngineCallbacks;
22
- }
23
- //# sourceMappingURL=quiz-engine.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"quiz-engine.d.ts","sourceRoot":"","sources":["../../src/types/quiz-engine.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAE3D,MAAM,WAAW,mBAAmB;IAClC,WAAW,CAAC,EAAE,CAAC,WAAW,EAAE;QAC1B,eAAe,EAAE,YAAY,GAAG,IAAI,CAAC;QACrC,qBAAqB,EAAE,MAAM,CAAC;QAC9B,cAAc,EAAE,MAAM,CAAC;QACvB,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;QAClC,WAAW,CAAC,EAAE,cAAc,CAAC,aAAa,CAAC,CAAC;QAC5C,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB,KAAK,IAAI,CAAC;IACX,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,YAAY,GAAG,IAAI,EAAE,qBAAqB,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,KAAK,IAAI,CAAC;IAClH,cAAc,CAAC,EAAE,CAAC,QAAQ,EAAE,YAAY,EAAE,UAAU,EAAE,cAAc,KAAK,IAAI,CAAC;IAC9E,YAAY,CAAC,EAAE,CAAC,OAAO,EAAE,cAAc,KAAK,IAAI,CAAC;IACjD,UAAU,CAAC,EAAE,CAAC,iBAAiB,EAAE,MAAM,KAAK,IAAI,CAAC;IACjD,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B;AAED,MAAM,WAAW,4BAA4B;IAC3C,MAAM,EAAE,UAAU,CAAC;IACnB,SAAS,CAAC,EAAE,mBAAmB,CAAC;CACjC"}
@@ -1,35 +0,0 @@
1
- export interface SCORMSettings {
2
- version: "1.2" | "2004";
3
- setCompletionOnFinish?: boolean;
4
- setSuccessOnPass?: boolean;
5
- autoCommit?: boolean;
6
- studentNameVar?: string;
7
- lessonStatusVar?: string;
8
- scoreRawVar?: string;
9
- scoreMaxVar?: string;
10
- scoreMinVar?: string;
11
- sessionTimeVar?: string;
12
- exitVar?: string;
13
- suspendDataVar?: string;
14
- lessonStatusVar_1_2?: string;
15
- scoreRawVar_1_2?: string;
16
- scoreMaxVar_1_2?: string;
17
- scoreMinVar_1_2?: string;
18
- completionStatusVar_2004?: string;
19
- successStatusVar_2004?: string;
20
- scoreScaledVar_2004?: string;
21
- scoreRawVar_2004?: string;
22
- scoreMaxVar_2004?: string;
23
- scoreMinVar_2004?: string;
24
- }
25
- export interface QuizSettings {
26
- language?: string;
27
- shuffleQuestions?: boolean;
28
- shuffleOptions?: boolean;
29
- timeLimitMinutes?: number;
30
- showCorrectAnswers?: 'immediately' | 'end_of_quiz' | 'never';
31
- passingScorePercent?: number;
32
- webhookUrl?: string;
33
- scorm?: SCORMSettings;
34
- }
35
- //# sourceMappingURL=quiz-settings.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"quiz-settings.d.ts","sourceRoot":"","sources":["../../src/types/quiz-settings.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,KAAK,GAAG,MAAM,CAAC;IACxB,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,kBAAkB,CAAC,EAAE,aAAa,GAAG,aAAa,GAAG,OAAO,CAAC;IAC7D,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB"}
@@ -1,72 +0,0 @@
1
- import { QuestionTypeStrings } from './questions';
2
- import { RichContentString } from './common';
3
- export interface TestCaseResult {
4
- testCaseId: string;
5
- passed: boolean;
6
- actualOutput: any;
7
- reasoning: string;
8
- }
9
- export type UserAnswerType = string | string[] | Record<string, string> | boolean | null;
10
- export type UserAnswers = Map<string, UserAnswerType>;
11
- export interface PerformanceMetric {
12
- totalQuestions: number;
13
- correctQuestions: number;
14
- pointsEarned: number;
15
- maxPoints: number;
16
- percentage: number;
17
- }
18
- export interface PerformanceByLearningObjective extends PerformanceMetric {
19
- learningObjective: string;
20
- }
21
- export interface PerformanceByCategory extends PerformanceMetric {
22
- category: string;
23
- }
24
- export interface PerformanceByTopic extends PerformanceMetric {
25
- topic: string;
26
- }
27
- export interface PerformanceByDifficulty extends PerformanceMetric {
28
- difficulty: string;
29
- }
30
- export interface PerformanceByBloomLevel extends PerformanceMetric {
31
- bloomLevel: string;
32
- }
33
- export type AnswerDetail = {
34
- id: string | string[] | null;
35
- value: RichContentString | RichContentString[] | Record<string, RichContentString> | boolean | number | null;
36
- };
37
- export 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
- //# sourceMappingURL=results.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"results.d.ts","sourceRoot":"","sources":["../../src/types/results.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAG7C,MAAM,WAAW,cAAc;IAC7B,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,OAAO,CAAC;IAChB,YAAY,EAAE,GAAG,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,MAAM,cAAc,GACtB,MAAM,GACN,MAAM,EAAE,GACR,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GACtB,OAAO,GACP,IAAI,CAAC;AAET,MAAM,MAAM,WAAW,GAAG,GAAG,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;AAEtD,MAAM,WAAW,iBAAiB;IAChC,cAAc,EAAE,MAAM,CAAC;IACvB,gBAAgB,EAAE,MAAM,CAAC;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,8BAA+B,SAAQ,iBAAiB;IACvE,iBAAiB,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,WAAW,qBAAsB,SAAQ,iBAAiB;IAC9D,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAA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YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,cAAc,GAAG,aAAa,GAAG,cAAc,GAAG,WAAW,GAAG,YAAY,GAAG,OAAO,CAAC;IACzH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,6BAA6B,CAAC,EAAE,MAAM,CAAC;IACvC,8BAA8B,CAAC,EAAE,8BAA8B,EAAE,CAAC;IAClE,qBAAqB,CAAC,EAAE,qBAAqB,EAAE,CAAC;IAChD,kBAAkB,CAAC,EAAE,kBAAkB,EAAE,CAAC;IAC1C,uBAAuB,CAAC,EAAE,uBAAuB,EAAE,CAAC;IACpD,uBAAuB,CAAC,EAAE,uBAAuB,EAAE,CAAC;CACrD"}
package/dist/types.d.ts DELETED
@@ -1,12 +0,0 @@
1
- export type { RichContentString, MarkdownString } from "./types/common";
2
- export * from "./types/metadata";
3
- export * from "./types/question-bank";
4
- export type { LearningObjective } from "./types/learning-objectives";
5
- export type { QuestionTypeStrings, BaseQuestion, MultipleChoiceQuestion, MultipleResponseQuestion, FillInTheBlanksQuestion, DragAndDropQuestion, TrueFalseQuestion, ShortAnswerQuestion, NumericQuestion, SequenceQuestion, MatchingQuestion, HotspotQuestion, BlocklyProgrammingQuestion, ScratchProgrammingQuestion, CodingQuestion, QuizQuestion, QuestionOption, SequenceItem, MatchPromptItem, MatchOptionItem, DraggableItem, DropZone, HotspotArea, TestCase, SupportedCodingLanguage, } from "./types/questions";
6
- export type { SCORMSettings, QuizSettings } from "./types/quiz-settings";
7
- export type { QuizConfig } from "./types/quiz-config";
8
- export type { UserAnswerType, UserAnswers, PerformanceByLearningObjective, PerformanceByCategory, PerformanceByTopic, PerformanceByDifficulty, PerformanceByBloomLevel, PerformanceMetric, AnswerDetail, QuizResultType, TestCaseResult, } from "./types/results";
9
- export type { QuizEngineCallbacks, QuizEngineConstructorOptions, } from "./types/quiz-engine";
10
- export type { ImportError, QuestionReview, QuizReviewContent, Achievement, AchievementDefinition, PracticeDifficulty, PracticeSuggestionTopic, PracticeSuggestion, KnowledgeCard, PracticeSession, PracticeStats, PracticeSessionSummary, PracticeTopicSummary, ActivityCalendarData, PerformanceSummary, ImageContextItem, } from "./types/misc";
11
- export type { RoadmapItem, WeeklyRoadmap, AnalysisReport, LearningAnalysis, DashboardCardId, DashboardCardConfig, DashboardLayout, ChatMessage, ChatContext, GoalType, Goal, } from "./types/ai-ecosystem";
12
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAIA,YAAY,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAExE,cAAc,kBAAkB,CAAC;AAEjC,cAAc,uBAAuB,CAAC;AAEtC,YAAY,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAErE,YAAY,EACX,mBAAmB,EACnB,YAAY,EAEZ,sBAAsB,EACtB,wBAAwB,EACxB,uBAAuB,EACvB,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,eAAe,EACf,0BAA0B,EAC1B,0BAA0B,EAC1B,cAAc,EACd,YAAY,EAEZ,cAAc,EACd,YAAY,EACZ,eAAe,EACf,eAAe,EACf,aAAa,EACb,QAAQ,EACR,WAAW,EACX,QAAQ,EACR,uBAAuB,GACvB,MAAM,mBAAmB,CAAC;AAE3B,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAEzE,YAAY,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEtD,YAAY,EACX,cAAc,EACd,WAAW,EACX,8BAA8B,EAC9B,qBAAqB,EACrB,kBAAkB,EAClB,uBAAuB,EACvB,uBAAuB,EACvB,iBAAiB,EACjB,YAAY,EACZ,cAAc,EACd,cAAc,GACd,MAAM,iBAAiB,CAAC;AAEzB,YAAY,EACX,mBAAmB,EACnB,4BAA4B,GAC5B,MAAM,qBAAqB,CAAC;AAE7B,YAAY,EACX,WAAW,EACX,cAAc,EACd,iBAAiB,EACjB,WAAW,EACX,qBAAqB,EACrB,kBAAkB,EAClB,uBAAuB,EACvB,kBAAkB,EAClB,aAAa,EACb,eAAe,EACf,aAAa,EACb,sBAAsB,EACtB,oBAAoB,EACpB,oBAAoB,EACpB,kBAAkB,EAClB,gBAAgB,GAChB,MAAM,cAAc,CAAC;AAEtB,YAAY,EACX,WAAW,EACX,aAAa,EACb,cAAc,EACd,gBAAgB,EAChB,eAAe,EACf,mBAAmB,EACnB,eAAe,EACf,WAAW,EACX,WAAW,EACX,QAAQ,EACR,IAAI,GACJ,MAAM,sBAAsB,CAAC"}
@@ -1,11 +0,0 @@
1
- import type { Part } from '@google/genai';
2
- /**
3
- * Fetches an image from a URL and converts it into a Google GenAI GenerativePart object.
4
- * This is necessary for making multimodal requests.
5
- * @param url The public URL of the image to fetch.
6
- * @param mimeType The MIME type of the image (e.g., 'image/png', 'image/jpeg').
7
- * @returns A Promise that resolves to a Part object for the AI model.
8
- * @throws An error if the image fetch fails.
9
- */
10
- export declare function urlToGenerativePart(url: string, mimeType: string): Promise<Part>;
11
- //# sourceMappingURL=aiUtils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"aiUtils.d.ts","sourceRoot":"","sources":["../../src/utils/aiUtils.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAE1C;;;;;;;GAOG;AACH,wBAAsB,mBAAmB,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAYtF"}
@@ -1,22 +0,0 @@
1
- /**
2
- * Options for configuring the retry mechanism.
3
- */
4
- export interface RetryOptions {
5
- /** The total number of attempts (1 initial + retries). Defaults to 3. */
6
- attempts?: number;
7
- /** The delay in milliseconds between retries. Defaults to 1000ms. */
8
- delayMs?: number;
9
- /** An optional callback function that is called upon each failed attempt before the delay. */
10
- onRetry?: (error: Error, attempt: number) => void;
11
- }
12
- /**
13
- * A higher-order function that wraps an asynchronous function with a retry mechanism.
14
- *
15
- * @template T The expected return type of the async function.
16
- * @param asyncFn The asynchronous function to execute and retry upon failure.
17
- * @param options Configuration for the retry behavior.
18
- * @returns A promise that resolves with the result of the `asyncFn` if it succeeds,
19
- * or rejects with the last error if all attempts fail.
20
- */
21
- export declare function withRetry<T>(asyncFn: () => Promise<T>, options?: RetryOptions): Promise<T>;
22
- //# sourceMappingURL=asyncUtils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"asyncUtils.d.ts","sourceRoot":"","sources":["../../src/utils/asyncUtils.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,MAAM,WAAW,YAAY;IACzB,yEAAyE;IACzE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,qEAAqE;IACrE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,8FAA8F;IAC9F,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;CACnD;AAED;;;;;;;;GAQG;AACH,wBAAsB,SAAS,CAAC,CAAC,EAC/B,OAAO,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,EACzB,OAAO,GAAE,YAAiB,GACzB,OAAO,CAAC,CAAC,CAAC,CA4BZ"}
@@ -1,24 +0,0 @@
1
- export interface DebugConfig {
2
- logPrompts: boolean;
3
- logResponses: boolean;
4
- logValidation: boolean;
5
- logRetryDetails: boolean;
6
- }
7
- export declare const DEBUG_CONFIG: DebugConfig;
8
- export interface AttemptResult {
9
- success: boolean;
10
- duration: number;
11
- error?: string;
12
- promptLength: number;
13
- responseLength?: number;
14
- promptHash?: string;
15
- }
16
- export declare class DebugLogger {
17
- private static formatTimestamp;
18
- static logPrompt(attempt: number, prompt: string, inputContext: any): void;
19
- static logResponse(attempt: number, rawResponse: string): void;
20
- static logValidation(attempt: number, step: string, data: any): void;
21
- static logRetryInfo(attempt: number, error: Error, willRetry: boolean): void;
22
- static logAttemptSummary(attemptResults: AttemptResult[]): void;
23
- }
24
- //# sourceMappingURL=debug-logger.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"debug-logger.d.ts","sourceRoot":"","sources":["../../src/utils/debug-logger.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,WAAW;IAC1B,UAAU,EAAE,OAAO,CAAC;IACpB,YAAY,EAAE,OAAO,CAAC;IACtB,aAAa,EAAE,OAAO,CAAC;IACvB,eAAe,EAAE,OAAO,CAAC;CAC1B;AAED,eAAO,MAAM,YAAY,EAAE,WAK1B,CAAC;AAEF,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAOD,qBAAa,WAAW;IACtB,OAAO,CAAC,MAAM,CAAC,eAAe;IAI9B,MAAM,CAAC,SAAS,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,YAAY,EAAE,GAAG,GAAG,IAAI;IAa1E,MAAM,CAAC,WAAW,CAAC,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,IAAI;IAY9D,MAAM,CAAC,aAAa,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,GAAG,IAAI;IAOpE,MAAM,CAAC,YAAY,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,GAAG,IAAI;IAc5E,MAAM,CAAC,iBAAiB,CAAC,cAAc,EAAE,aAAa,EAAE,GAAG,IAAI;CAehE"}
@@ -1,2 +0,0 @@
1
- export declare const getFormattedDate: () => string;
2
- //# sourceMappingURL=formattedDate.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"formattedDate.d.ts","sourceRoot":"","sources":["../../src/utils/formattedDate.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,gBAAgB,cAM5B,CAAA"}
@@ -1,7 +0,0 @@
1
- /**
2
- * Generates a simple unique ID.
3
- * @param prefix Optional prefix for the ID.
4
- * @returns A string representing the unique ID.
5
- */
6
- export declare function generateUniqueId(prefix?: string): string;
7
- //# sourceMappingURL=idGenerators.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"idGenerators.d.ts","sourceRoot":"","sources":["../../src/utils/idGenerators.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,GAAE,MAAc,GAAG,MAAM,CAE/D"}