Skip to main content

ReadingLessonContent

Content shape for reading lessons

Extends

Properties

examples

examples: ContentBlockMap<CodeExample>;

Map of code examples by ID


images?

optional images: ContentBlockMap<LessonImage>;

Map of inline images by ID


layout

layout: {
id: string;
type: ReadingContentBlockType;
}[];

Ordered layout defining content structure

id

id: string;

ID reference to the actual content

type

type: ReadingContentBlockType;

Type of content block

Inherited from

ContentLayout.layout


resources?

optional resources: ContentBlockMap<Resource>;

Supplementary resources


sections

sections: ContentBlockMap<ReadingSection>;

Map of sections by ID


videos?

optional videos: ContentBlockMap<LessonVideo>;

Map of inline videos by ID