advance
This commit is contained in:
0
types/caseStudy.ts
Normal file → Executable file
0
types/caseStudy.ts
Normal file → Executable file
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;
|
||||
|
||||
5
types/index.ts
Normal file
5
types/index.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
export type ActionResponse<T = any> = {
|
||||
success: boolean;
|
||||
data?: T;
|
||||
error?: string;
|
||||
};
|
||||
0
types/practice.ts
Normal file → Executable file
0
types/practice.ts
Normal file → Executable file
Reference in New Issue
Block a user