advance
This commit is contained in:
2
types/course.ts
Normal file → Executable file
2
types/course.ts
Normal file → Executable file
@@ -1,5 +1,6 @@
|
||||
export type CourseLevel = "Beginner" | "Intermediate" | "Advanced";
|
||||
export type LessonType = "video" | "reading" | "interactive";
|
||||
export type CourseStatus = "Draft" | "Published";
|
||||
|
||||
export type Lesson = {
|
||||
id: string;
|
||||
@@ -14,6 +15,7 @@ export type Course = {
|
||||
slug: string;
|
||||
title: string;
|
||||
level: CourseLevel;
|
||||
status: CourseStatus;
|
||||
summary: string;
|
||||
rating: number;
|
||||
weeks: number;
|
||||
|
||||
Reference in New Issue
Block a user