Added the same functionality to the Assignments

This commit is contained in:
Tiago Ribeiro
2024-02-09 13:23:35 +00:00
parent 872cc62fe4
commit 03f78ceb46
3 changed files with 23 additions and 3 deletions

View File

@@ -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;
}