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

@@ -25,6 +25,7 @@ const exampleGovCourse: Course = new Course({
schedule: {
meetings: [],
},
scrapedAt: Date.now(),
semester: {
code: '12345',
season: 'Spring',
@@ -43,6 +44,7 @@ const examplePsyCourse: Course = new Course({
flags: ['no flag for you >:)'],
fullName: 'PSY 317L Yada yada',
instructionMode: 'Online',
scrapedAt: Date.now(),
instructors: [
new Instructor({
firstName: 'Bevo',