CurriculumLessonBase
Base interface for all curriculum lessons Contains common fields shared by all lesson types
Extends
Extended by
VideoLessonReadingLessonCodingExerciseLessonQuizLessonProjectLessonLiveSessionLessonAssignmentLesson
Properties
content
content: unknown;
Flexible JSON content (type-specific)
createdAt
createdAt: ISOString;
Timestamp when the lesson was created
description
description: string;
Description
Inherited from
duration
duration: number;
Estimated duration in minutes
id
id: string;
Unique identifier
Inherited from
isRequired
isRequired: boolean;
Whether the lesson is required to complete the module
moduleId
moduleId: string;
ID of the module this lesson belongs to
order
order: number;
Order of the lesson within the module
passScore?
optional passScore: number;
Minimum score required to pass (for graded lessons)
resources?
optional resources: unknown;
Additional resources (links, downloads, etc.)
slug
slug: string;
URL-friendly slug for routing (e.g., "for-loops")
title
title: string;
Title
Inherited from
type
type: LessonType;
Type of the lesson
updatedAt
updatedAt: ISOString;
Timestamp when the lesson was last updated