injecting into table, created table header, and buttons for each row
This commit is contained in:
17
src/shared/types/Course.ts
Normal file
17
src/shared/types/Course.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
import { Serialized } from 'chrome-extension-toolkit';
|
||||
|
||||
type CourseSchedule = {};
|
||||
|
||||
export class Course {
|
||||
id: number;
|
||||
name: string;
|
||||
professor: string;
|
||||
schedule: CourseSchedule;
|
||||
currentStatus: string;
|
||||
url: string;
|
||||
registerURL?: string;
|
||||
|
||||
constructor(course: Course | Serialized<Course>) {
|
||||
Object.assign(this, course);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user