@hirebus/academy
Version:
React component library for academy and learning platforms
44 lines (43 loc) • 1 kB
TypeScript
export declare enum CourseCategory {
AllCourses = "All Courses",
ProfessionalDevelopment = "Professional Development",
SkillsDevelopment = "Skills Development",
WorkplaceSuccess = "Workplace Success",
Management = "Management",
Leadership = "Leadership"
}
export interface Chapter {
id: string;
title: string;
timestamp: number;
keywords?: string[];
courseId: string;
}
export interface CourseFile {
id: string;
name: string;
url: string;
size: number;
type: string;
uploadedAt: string;
courseId: string;
}
export interface Course {
id: string;
title: string;
description: string;
category: CourseCategory;
tags: string[];
thumbnail: string;
videoUrl: string;
duration: number;
createdAt: string;
isActive: boolean;
creatorId: string;
courseFiles?: CourseFile[];
aiGenerated?: {
chapters: Chapter[];
transcript: string;
suggestedTopics: string[];
};
}