We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a365db7 commit e77372bCopy full SHA for e77372b
shared/model/course.ts renamed to shared/model/course-detail.ts
@@ -1,14 +1,10 @@
1
2
3
import {Lesson} from "./lesson";
4
+import {CourseSummary} from "./course-summary";
5
-export interface Course {
6
- description: string,
7
- readonly url: string,
+export interface CourseDetail extends CourseSummary {
8
longDescription: string,
9
- iconUrl: string,
10
- courseListIcon: string,
11
- seqNo: number,
12
comingSoon?: boolean,
13
isNew?: boolean,
14
isOngoing?: boolean,
shared/model/course-summary.ts
@@ -0,0 +1,9 @@
+
+export interface CourseSummary {
+ readonly url: string,
+ description: string,
+ iconUrl: string,
+ courseListIcon: string,
+ seqNo: number
+}
0 commit comments