Added the same functionality to the Assignments
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import {Module} from "@/interfaces";
|
||||
import {InstructorGender} from "./exam";
|
||||
import {Stat} from "./user";
|
||||
|
||||
export type UserResults = {[key in Module]: ModuleResult};
|
||||
@@ -19,7 +20,8 @@ export interface Assignment {
|
||||
type: "academic" | "general";
|
||||
stats: Stat[];
|
||||
}[];
|
||||
exams: {id: string; module: Module, assignee: string}[];
|
||||
exams: {id: string; module: Module; assignee: string}[];
|
||||
instructorGender?: InstructorGender;
|
||||
startDate: Date;
|
||||
endDate: Date;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user