Skip to content

Instantly share code, notes, and snippets.

@itayod
Created May 25, 2019 13:49
Show Gist options
  • Save itayod/e4f435a71bb4f81b6621320ed17b09c5 to your computer and use it in GitHub Desktop.
Save itayod/e4f435a71bb4f81b6621320ed17b09c5 to your computer and use it in GitHub Desktop.
export enum ViewModes {
SingleCol = 'SINGLE',
MultiCol = 'MULTI',
}
export interface Course {
id: number;
description?: string;
iconUrl?: string;
courseListIcon?: string;
longDescription?: string;
category?: string;
lessonsCount?: number;
favourite?: boolean;
promo?: boolean;
}
export interface CoursesState {
courses: Course[];
viewMode: ViewModes;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment