Updated the reading to a new format

This commit is contained in:
Tiago Ribeiro
2023-09-28 14:43:43 +01:00
parent a568950aa9
commit 169ae2c959
9 changed files with 100 additions and 31 deletions

View File

@@ -3,12 +3,14 @@ import {Module} from ".";
export type Exam = ReadingExam | ListeningExam | WritingExam | SpeakingExam;
export interface ReadingExam {
text: {
title: string;
content: string;
};
parts: {
text: {
title: string;
content: string;
};
exercises: Exercise[];
}[];
id: string;
exercises: Exercise[];
module: "reading";
minTimer: number;
type: "academic" | "general";