Merged with develop

This commit is contained in:
Tiago Ribeiro
2024-12-30 19:04:18 +00:00
37 changed files with 955 additions and 645 deletions

View File

@@ -5,7 +5,7 @@ export type Exam = ReadingExam | ListeningExam | WritingExam | SpeakingExam | Le
export type Variant = "full" | "partial";
export type InstructorGender = "male" | "female" | "varied";
export type Difficulty = BasicDifficulty | CEFRLevels;
export type Difficulty = BasicDifficulty | CEFRLevels;
// Left easy, medium and hard to support older exam versions
export type BasicDifficulty = "easy" | "medium" | "hard";
@@ -20,6 +20,7 @@ export interface ExamBase {
variant?: Variant;
difficulty?: Difficulty;
owners?: string[];
entities?: string[]
shuffle?: boolean;
createdBy?: string; // option as it has been added later
createdAt?: string; // option as it has been added later
@@ -52,7 +53,7 @@ export interface LevelExam extends ExamBase {
}
export interface LevelPart extends Section {
// to support old exams that have reading passage mc on context
// to support old exams that have reading passage mc on context
context?: string;
exercises: Exercise[];
audio?: {