// OrthoGlobe Academy — course catalog.
//
// The Academy LMS is Phase 5 on the OrthoGlobe roadmap. The types below are
// the contract the catalog UI, course detail page, and lesson player will
// speak when real courses are authored. Until then `courses` is empty and
// the catalog page renders a "Coming soon" panel rather than fabricated
// faculty, fake reviews, or invented syllabi.

export type CourseLevel = "Foundation" | "Intermediate" | "Advanced";
export type LessonType = "video" | "reading" | "quiz";

export type Instructor = {
  name: string;
  title: string;
  bio: string;
  credentials: string[];
};

export type Lesson = {
  slug: string;
  title: string;
  durationMin: number;
  type: LessonType;
  transcript?: string;
  keyPoints?: string[];
};

export type Module = {
  title: string;
  lessons: Lesson[];
};

export type Review = {
  author: string;
  role: string;
  rating: number;
  body: string;
};

export type Course = {
  slug: string;
  title: string;
  level: CourseLevel;
  durationHours: number;
  lessonsCount: number;
  studentsEnrolled: number;
  topic: string;
  shortDescription: string;
  description: string;
  outcomes: string[];
  prerequisites: string[];
  instructor: Instructor;
  syllabus: Module[];
  reviews: Review[];
  gradientFrom: string;
  gradientTo: string;
  iconEmoji?: string;
  coverPhoto?: string;
  coverPhotoAlt?: string;
  publishedAt: string;
};

export const courses: Course[] = [];
