Merge remote-tracking branch 'origin/develop' into feature/ExamGenRework

This commit is contained in:
Carlos-Mesquita
2024-11-10 07:09:25 +00:00
17 changed files with 909 additions and 915 deletions

View File

@@ -1,8 +1,8 @@
import {Module} from "@/interfaces";
import {InstructorGender} from "./exam";
import {Stat} from "./user";
import { Module } from "@/interfaces";
import { InstructorGender } from "./exam";
import { Stat } from "./user";
export type UserResults = {[key in Module]: ModuleResult};
export type UserResults = { [key in Module]: ModuleResult };
interface ModuleResult {
exams: string[];
@@ -22,7 +22,7 @@ export interface Assignment {
assigner: string;
assignees: string[];
results: AssignmentResult[];
exams: {id: string; module: Module; assignee: string}[];
exams: { id: string; module: Module; assignee: string }[];
instructorGender?: InstructorGender;
startDate: Date;
endDate: Date;
@@ -32,9 +32,8 @@ export interface Assignment {
// unless start is active, the assignment is not visible to the assignees
// start date now works as a limit time to start the exam
start?: boolean;
autoStartDate?: Date;
autoStart?: boolean;
entity?: string;
}
export type AssignmentWithCorporateId = Assignment & {corporateId: string};
export type AssignmentWithCorporateId = Assignment & { corporateId: string };