This commit is contained in:
Marcelo
2026-02-17 00:07:00 +00:00
parent b7a86a2d1c
commit be4ca2ed78
92 changed files with 6850 additions and 1188 deletions

0
types/caseStudy.ts Normal file → Executable file
View File

2
types/course.ts Normal file → Executable file
View 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
View File

@@ -0,0 +1,5 @@
export type ActionResponse<T = any> = {
success: boolean;
data?: T;
error?: string;
};

0
types/practice.ts Normal file → Executable file
View File