diff --git a/src/shapes/enum.ts b/src/shapes/enum.ts index 5794390..a66a272 100644 --- a/src/shapes/enum.ts +++ b/src/shapes/enum.ts @@ -1,4 +1,4 @@ -export enum AdditionalTrackType { +export const enum AdditionalTrackType { DOUBLE, MINOR, ADVANCED, diff --git a/src/shapes/model/subject/Lecture.ts b/src/shapes/model/subject/Lecture.ts index c9eeea3..32cbe81 100644 --- a/src/shapes/model/subject/Lecture.ts +++ b/src/shapes/model/subject/Lecture.ts @@ -31,7 +31,7 @@ export default interface Lecture { class_title: string; class_title_en: string; review_total_weight: number; - professors: NestedProfessor; + professors: NestedProfessor[]; grade: number; load: number; speech: number; diff --git a/src/shapes/state/planner/ItemFocus.ts b/src/shapes/state/planner/ItemFocus.ts index d384593..e9fc116 100644 --- a/src/shapes/state/planner/ItemFocus.ts +++ b/src/shapes/state/planner/ItemFocus.ts @@ -1,5 +1,4 @@ import type { ItemFocusFrom } from '@/shapes/enum'; - import type Course from '@/shapes/model/subject/Course'; import type Department from '@/shapes/model/subject/Department'; import type FuturePlannerItem from '@/shapes/model/planner/FuturePlannerItem';