academe-kit 0.16.0 → 0.17.0
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/index.cjs +12 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +124 -0
- package/dist/index.esm.js +12 -0
- package/dist/index.esm.js.map +1 -1
- package/dist/types/services/QuizService.d.ts +55 -0
- package/dist/types/types/academe-api.d.ts +69 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -5517,6 +5517,18 @@ function createQuizService(apiClient) {
|
|
|
5517
5517
|
body,
|
|
5518
5518
|
});
|
|
5519
5519
|
},
|
|
5520
|
+
/**
|
|
5521
|
+
* Generate the explanation of every answer of an existing question, with AI.
|
|
5522
|
+
*
|
|
5523
|
+
* Backfill das perguntas criadas antes de a explicação existir. Sobrescreve
|
|
5524
|
+
* o que houver — confirme com o usuário antes de chamar.
|
|
5525
|
+
*/
|
|
5526
|
+
generateQuestionExplanations(id, body) {
|
|
5527
|
+
return apiClient.POST('/quiz-questions/{id}/generate-explanations', {
|
|
5528
|
+
params: { path: { id } },
|
|
5529
|
+
body: body ?? {},
|
|
5530
|
+
});
|
|
5531
|
+
},
|
|
5520
5532
|
/**
|
|
5521
5533
|
* Update quiz question
|
|
5522
5534
|
*/
|