Made it so it is currently possible to generate reading passages

This commit is contained in:
Tiago Ribeiro
2023-11-20 21:03:24 +00:00
parent 4753b85ab5
commit 4c7e8f56d8
5 changed files with 328 additions and 189 deletions

View File

@@ -28,19 +28,21 @@ export interface LevelExam {
}
export interface ListeningExam {
parts: {
audio: {
source: string;
repeatableTimes: number; // *The amount of times the user is allowed to repeat the audio, 0 for unlimited
};
exercises: Exercise[];
}[];
parts: ListeningPart[];
id: string;
module: "listening";
minTimer: number;
isDiagnostic: boolean;
}
export interface ListeningPart {
audio: {
source: string;
repeatableTimes: number; // *The amount of times the user is allowed to repeat the audio, 0 for unlimited
};
exercises: Exercise[];
}
export interface UserSolution {
solutions: any[];
module?: Module;