Created
May 25, 2019 13:49
-
-
Save itayod/e4f435a71bb4f81b6621320ed17b09c5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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