feat: added scrapedAt property (#149)

* feat: added scrapedAt property

* fix: type-check
This commit is contained in:
Sriram Hariharan
2024-03-12 00:57:00 -05:00
committed by GitHub
parent 44af9e16e4
commit 8e181b3010
11 changed files with 45 additions and 1 deletions

View File

@@ -17,6 +17,7 @@ export const exampleCourse: Course = new Course({
flags: ['Quantitative Reasoning'],
fullName: 'C S 303E ELEMS OF COMPTRS/PROGRAMMNG-WB',
instructionMode: 'Online',
scrapedAt: Date.now(),
instructors: [
new Instructor({
firstName: 'William',
@@ -100,6 +101,7 @@ export const bevoCourse: Course = new Course({
year: 2024,
season: 'Spring',
},
scrapedAt: Date.now(),
});
export const bevoScheule: UserSchedule = new UserSchedule({
@@ -151,6 +153,7 @@ export const MikeScottCS314Course: Course = new Course({
year: 2024,
season: 'Spring',
},
scrapedAt: Date.now(),
});
export const MikeScottCS314Schedule: UserSchedule = new UserSchedule({