Skip to content

Commit 1cb84c7

Browse files
authored
feat(timetable): add new Packaged Laboratory lesson type (#3744)
* add new activityLessonType to scraper * add new abbrev to timetable component
1 parent ae55d00 commit 1cb84c7

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

scrapers/nus-v2/src/utils/data.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ export const activityLessonType: Record<string, LessonType> = {
196196
E: 'Seminar-Style Module Class',
197197
S: 'Sectional Teaching',
198198
T: 'Tutorial',
199+
Y: 'Packaged Laboratory',
199200
'2': 'Tutorial Type 2',
200201
'3': 'Tutorial Type 3',
201202

website/src/utils/timetables.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ export const LESSON_TYPE_ABBREV: lessonTypeAbbrev = {
5656
'Design Lecture': 'DLEC',
5757
Laboratory: 'LAB',
5858
Lecture: 'LEC',
59+
'Packaged Laboratory': 'PLAB',
5960
'Packaged Lecture': 'PLEC',
6061
'Packaged Tutorial': 'PTUT',
6162
Recitation: 'REC',

0 commit comments

Comments
 (0)