[+] Create cache field in course
This commit is contained in:
@@ -3,6 +3,7 @@ import {FormatUtils} from '@/logic/utils/format-utils';
|
|||||||
import {CourseUtils} from '@/logic/utils/course-utils';
|
import {CourseUtils} from '@/logic/utils/course-utils';
|
||||||
import Navigation from '@/components/navigation/navigation';
|
import Navigation from '@/components/navigation/navigation';
|
||||||
import {GPAUtils} from '@/logic/utils/gpa-utils';
|
import {GPAUtils} from '@/logic/utils/gpa-utils';
|
||||||
|
import CacheUtils from '@/logic/utils/cache-utils';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Objects of this interface represent assignment grades.
|
* Objects of this interface represent assignment grades.
|
||||||
@@ -66,6 +67,8 @@ export default class Course
|
|||||||
allYearGrade: number
|
allYearGrade: number
|
||||||
};
|
};
|
||||||
|
|
||||||
|
cache: CacheUtils = new CacheUtils();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Construct a course with a course json object
|
* Construct a course with a course json object
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user