CodingExerciseLesson
Coding exercise lesson type Extends base lesson with coding exercise-specific content
Extends
Properties
content
content: CodingExerciseLessonContent;
Flexible JSON content (type-specific)
Overrides
createdAt
createdAt: ISOString;
Timestamp when the lesson was created
Inherited from
CurriculumLessonBase.createdAt
description
description: string;
Description
Inherited from
CurriculumLessonBase.description
duration
duration: number;
Estimated duration in minutes
Inherited from
id
id: string;
Unique identifier
Inherited from
isRequired
isRequired: boolean;
Whether the lesson is required to complete the module
Inherited from
CurriculumLessonBase.isRequired
moduleId
moduleId: string;
ID of the module this lesson belongs to
Inherited from
order
order: number;
Order of the lesson within the module
Inherited from
passScore?
optional passScore: number;
Minimum score required to pass (for graded lessons)
Inherited from
CurriculumLessonBase.passScore
resources?
optional resources: unknown;
Additional resources (links, downloads, etc.)
Inherited from
CurriculumLessonBase.resources
slug
slug: string;
URL-friendly slug for routing (e.g., "for-loops")
Inherited from
title
title: string;
Title
Inherited from
type
type: CODING_EXERCISE;
Type of the lesson
Overrides
updatedAt
updatedAt: ISOString;
Timestamp when the lesson was last updated