learn-content-engine - v0.13.1
    Preparing search index...

    Interface ContentSetEntry

    The canonical projection of one content set (a manifest sets[] entry resolved against its cached state). Produced by asContentSetEntry.

    interface ContentSetEntry {
        book?: ContentSetBook | null;
        branch: string;
        cached_version: string | null;
        cover_image: string | null;
        description: string | null;
        domain: string;
        downloaded_at?: string | null;
        id: string;
        language: string;
        lesson_count: number;
        level: string;
        source: string;
        source_language: string;
        status?: SetStatus;
        tags: string[];
        target_language: string;
        title: string;
        title_native?: string | null;
        update_available: boolean;
        version: string;
    }
    Index
    book?: ContentSetBook | null

    Optional set-level book block.

    branch: string
    cached_version: string | null
    cover_image: string | null
    description: string | null
    domain: string
    downloaded_at?: string | null

    ISO-8601 timestamp of when this set was downloaded/cached, or null.

    id: string
    language: string

    Legacy alias for target_language — always equal to it.

    lesson_count: number
    level: string
    source: string
    source_language: string

    BCP-47 code of the language the learner ALREADY SPEAKS (the language the card backs / notes / theory are written in). Defaults to "en" for pre-v1.44.0 content.

    status?: SetStatus

    Lifecycle status (active / deferred / completed); a missing value is treated as "active".

    tags: string[]
    target_language: string

    BCP-47 code of the language the learner is LEARNING.

    title: string

    Title in the learner's SOURCE language (what they read in the browser, e.g. "Französisch A1 für Deutschsprachige").

    title_native?: string | null

    Optional title in the TARGET language (native script, e.g. "Français A1"), shown as a secondary label.

    update_available: boolean
    version: string