[O] Separate grading class

This commit is contained in:
Hykilpikonna
2019-12-07 11:17:17 -05:00
parent 1513a3016c
commit e44724a173
+7 -5
View File
@@ -40,6 +40,12 @@ export interface AssignmentType
assignmentCount: number
}
export interface Grading
{
method: string
weightingMap: {[index: string]: number}
}
export default class Course
{
id: number;
@@ -55,11 +61,7 @@ export default class Course
level: string;
scaleUp: number;
grading:
{
method: string
weightingMap: {[index: string]: number}
}[];
rawGrading: Grading[];
computed:
{