Updated the Level Exam to work based on Parts

This commit is contained in:
Tiago Ribeiro
2024-06-07 13:25:18 +01:00
parent 8ea97ee944
commit daec246835
15 changed files with 176 additions and 121 deletions

View File

@@ -27,13 +27,18 @@ export interface ReadingPart {
export interface LevelExam {
module: "level";
id: string;
exercises: Exercise[];
parts: LevelPart[];
minTimer: number;
isDiagnostic: boolean;
variant?: Variant;
difficulty?: Difficulty;
}
export interface LevelPart {
context?: string;
exercises: Exercise[];
}
export interface ListeningExam {
parts: ListeningPart[];
id: string;