Hiyve Components - v1.0.0
    Preparing search index...

    A lesson's blocks.

    interface LessonContent {
        blocks: Block[];
        courseId: string;
        customFileIds?: string[];
        lessonId: string;
        revision: number;
        schemaVersion: 1;
        updatedAt: string;
    }
    Index

    Properties

    blocks: Block[]

    Blocks, in order.

    courseId: string

    Course the lesson belongs to.

    customFileIds?: string[]

    Ids of stored files that custom blocks use, so they are shared along with the lesson. Files that built-in blocks use are found automatically.

    lessonId: string

    Lesson id.

    revision: number

    Increases by one on every save.

    schemaVersion: 1

    Document shape version.

    updatedAt: string

    When the lesson was last saved (ISO 8601).