You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
FreeBug/frontend/edu-connect/src/helpers/apiSchema/course.schema.ts

24 lines
448 B

export interface CourseData {
title: string;
instructor: {
name: string;
title: string;
avatar: string;
};
description: string;
category: string;
duration: string;
enrolledStudents: number;
rating: number;
totalReviews: number;
completionRate: number;
lastUpdated: string;
chapters: Chapter[];
requirements: string[];
}
interface Chapter {
title: string;
duration: string;
isCompleted: boolean;
}