diff --git a/src/shared/types/UserSchedule.ts b/src/shared/types/UserSchedule.ts index 3c84dcfc..9d3eaae1 100644 --- a/src/shared/types/UserSchedule.ts +++ b/src/shared/types/UserSchedule.ts @@ -2,6 +2,10 @@ import type { Serialized } from 'chrome-extension-toolkit'; import { generateRandomId } from '../util/random'; import { Course } from './Course'; +export interface Wallpaper { + type: string; + data?: string; +} /** * Represents a user's schedule that is stored in the extension @@ -13,6 +17,8 @@ export class UserSchedule { hours: number; /** Unix timestamp of when the schedule was last updated */ updatedAt: number; + /** Wallpaper for this schedule */ + wallpaper?: Wallpaper; constructor(schedule: Serialized) { this.courses = schedule.courses.map(c => new Course(c));