Skip to main content

Interface: Lesson

Defined in: types.ts:54

Properties​

assets​

readonly assets: readonly string[]

Defined in: types.ts:62

All asset files this lesson depends on, relative to the built Astro dist root.


href​

readonly href: string

Defined in: types.ts:60

Path to the lesson's entry HTML, relative to the built Astro dist root.


id​

readonly id: string

Defined in: types.ts:56

Stable identifier. Becomes the SCO identifier in the manifest.


masteryScore?​

readonly optional masteryScore?: number

Defined in: types.ts:64

Per-lesson mastery threshold in [0, 1]. When set, emits <adlcp:masteryscore> on this item. Course-level masteryScore is no longer auto-applied per item; this is opt-in.


title​

readonly title: string

Defined in: types.ts:58

Lesson title. Shown in LMS nav chrome.