ENCOA-311

This commit is contained in:
Carlos-Mesquita
2025-01-13 01:18:19 +00:00
parent 715a841483
commit ccbbf30058
33 changed files with 824 additions and 194 deletions

View File

@@ -18,7 +18,7 @@ export interface ExamBase {
minTimer: number;
isDiagnostic: boolean;
variant?: Variant;
difficulty?: Difficulty;
difficulty?: Difficulty | Difficulty[];
owners?: string[];
entities?: string[]
shuffle?: boolean;
@@ -177,6 +177,7 @@ export interface WritingExercise extends Section {
topic?: string;
variant?: string;
isPractice?: boolean
difficulty?: Difficulty
}
export interface AIDetectionAttributes {
@@ -212,6 +213,7 @@ export interface SpeakingExercise extends Section {
}[];
topic?: string;
isPractice?: boolean
difficulty?: Difficulty
}
export interface InteractiveSpeakingExercise extends Section {
@@ -232,6 +234,7 @@ export interface InteractiveSpeakingExercise extends Section {
second_topic?: string;
variant?: "initial" | "final";
isPractice?: boolean
difficulty?: Difficulty
}
export interface FillBlanksMCOption {
@@ -261,6 +264,7 @@ export interface FillBlanksExercise {
}[];
variant?: string;
isPractice?: boolean
difficulty?: Difficulty
}
export interface TrueFalseExercise {
@@ -270,6 +274,7 @@ export interface TrueFalseExercise {
questions: TrueFalseQuestion[];
userSolutions: { id: string; solution: "true" | "false" | "not_given" }[];
isPractice?: boolean
difficulty?: Difficulty
}
export interface TrueFalseQuestion {
@@ -294,6 +299,7 @@ export interface WriteBlanksExercise {
}[];
variant?: string;
isPractice?: boolean
difficulty?: Difficulty
}
export interface MatchSentencesExercise {
@@ -306,6 +312,7 @@ export interface MatchSentencesExercise {
options: MatchSentenceExerciseOption[];
variant?: string;
isPractice?: boolean
difficulty?: Difficulty
}
export interface MatchSentenceExerciseSentence {
@@ -331,6 +338,7 @@ export interface MultipleChoiceExercise {
content: string;
}
isPractice?: boolean
difficulty?: Difficulty
}
export interface MultipleChoiceQuestion {