- Added the ability for a student/developer to choose a gender for a speaking instructor;

- Made it so, if chosen, the user will only get speaking exams with their chosen gender;
- Added the ability for speaking exams to select a gender when generating;
This commit is contained in:
Tiago Ribeiro
2024-02-09 12:14:47 +00:00
parent ce7032c8a7
commit 872cc62fe4
11 changed files with 337 additions and 238 deletions

View File

@@ -2,6 +2,7 @@ import {Module} from ".";
export type Exam = ReadingExam | ListeningExam | WritingExam | SpeakingExam | LevelExam;
export type Variant = "full" | "partial";
export type InstructorGender = "male" | "female" | "varied";
export interface ReadingExam {
parts: ReadingPart[];
@@ -82,7 +83,7 @@ export interface SpeakingExam {
minTimer: number;
isDiagnostic: boolean;
variant?: Variant;
instructorGender: "male" | "female" | "varied";
instructorGender: InstructorGender;
}
export type Exercise =