textbook button, properly scraping the semester (year and season) from the url"

This commit is contained in:
Sriram Hariharan
2023-03-07 22:17:17 -06:00
parent 353c43c987
commit f3bf746c6e
4 changed files with 55 additions and 22 deletions

View File

@@ -25,7 +25,9 @@ export type Semester = {
/** The year that the semester is in */
year: number;
/** The season that the semester is in (Fall, Spring, Summer) */
season: string;
season: 'Fall' | 'Spring' | 'Summer';
/** UT's code for the semester */
code: string;
};
/**