Prepared the code to later handle the evaluation of the Interactive Speaking exercise

This commit is contained in:
Tiago Ribeiro
2023-09-17 08:56:00 +01:00
parent 161d5236b4
commit efb341355d
5 changed files with 109 additions and 131 deletions

View File

@@ -106,6 +106,19 @@ export interface SpeakingExercise {
}[];
}
export interface InteractiveSpeakingExercise {
id: string;
type: "speaking";
title: string;
text: string;
prompts: {text: string; video_url: string}[];
userSolutions: {
id: string;
solution: string;
evaluation?: Evaluation;
}[];
}
export interface FillBlanksExercise {
prompt: string; // *EXAMPLE: "Complete the summary below. Click a blank to select the corresponding word for it."
type: "fillBlanks";