Updated the exam selection to get exams related to the user's topic preference

This commit is contained in:
Tiago Ribeiro
2024-02-13 16:04:46 +00:00
parent c0c9d22864
commit 6a38b7a32e
2 changed files with 33 additions and 10 deletions

View File

@@ -69,7 +69,7 @@ export interface UserSolution {
export interface WritingExam {
module: "writing";
id: string;
exercises: Exercise[];
exercises: WritingExercise[];
minTimer: number;
isDiagnostic: boolean;
variant?: Variant;
@@ -84,7 +84,7 @@ interface WordCounter {
export interface SpeakingExam {
id: string;
module: "speaking";
exercises: Exercise[];
exercises: (SpeakingExercise | InteractiveSpeakingExercise)[];
minTimer: number;
isDiagnostic: boolean;
variant?: Variant;