Added a timer that is shown in each module

This commit is contained in:
Tiago Ribeiro
2023-04-06 12:20:34 +01:00
parent addef7c674
commit a82a168953
7 changed files with 61 additions and 4 deletions

View File

@@ -7,6 +7,7 @@ export interface ReadingExam {
};
exercises: Exercise[];
module: "reading";
minTimer: number;
}
export interface ListeningExam {
@@ -18,6 +19,7 @@ export interface ListeningExam {
};
exercises: Exercise[];
module: "listening";
minTimer: number;
}
export interface WritingExam {
@@ -27,6 +29,7 @@ export interface WritingExam {
prompt: string; //* The context given to the user containing what they should write about
wordCounter: WordCounter; //* The minimum or maximum amount of words that should be written
};
minTimer: number;
}
interface WordCounter {