- Implemented an image attachment to the Writing exercise;
- Made it so the exams are now sorted when going through the history; - Corrected some little mistakes;
This commit is contained in:
@@ -12,6 +12,7 @@ export interface ReadingExam {
|
||||
module: "reading";
|
||||
minTimer: number;
|
||||
type: "academic" | "general";
|
||||
isDiagnostic: boolean;
|
||||
}
|
||||
|
||||
export interface ListeningExam {
|
||||
@@ -23,6 +24,7 @@ export interface ListeningExam {
|
||||
exercises: Exercise[];
|
||||
module: "listening";
|
||||
minTimer: number;
|
||||
isDiagnostic: boolean;
|
||||
}
|
||||
|
||||
export interface UserSolution {
|
||||
@@ -42,6 +44,7 @@ export interface WritingExam {
|
||||
id: string;
|
||||
exercises: Exercise[];
|
||||
minTimer: number;
|
||||
isDiagnostic: boolean;
|
||||
}
|
||||
|
||||
interface WordCounter {
|
||||
@@ -54,6 +57,7 @@ export interface SpeakingExam {
|
||||
module: "speaking";
|
||||
exercises: Exercise[];
|
||||
minTimer: number;
|
||||
isDiagnostic: boolean;
|
||||
}
|
||||
|
||||
export type Exercise =
|
||||
@@ -70,6 +74,7 @@ export interface WritingExercise {
|
||||
info: string; //* The information about the task, like the amount of time they should spend on it
|
||||
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
|
||||
attachment?: string; //* The url for an image to work as an attachment to show the user
|
||||
userSolutions: {
|
||||
id: string;
|
||||
solution: string;
|
||||
|
||||
Reference in New Issue
Block a user