learn-content-engine - v0.20.0
    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 {
        attribution: SetAttribution | null;
        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;
        review_status: SetReviewStatus;
        source: string;
        source_language: string;
        status?: SetStatus;
        tags: string[];
        target_language: string;
        title: string;
        title_native?: string | null;
        update_available: boolean;
        version: string;
        visibility: SetVisibility;
    }
    Index
    attribution: SetAttribution | null

    Content attribution (engine#90): who the set is attributed to, plus the bounded derivation chain (oldest first). null when the manifest carries none. Attribution, not authorization.

    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
    review_status: SetReviewStatus

    Three-state review standing (engine#94): "authored" (hand-written, no review required), "generated" (machine-generated, review pending), "reviewed" (machine-generated and reviewed). Absent or out-of-enum manifest values normalize to "authored" (legacy hand-written content).

    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
    visibility: SetVisibility

    Consumer-display hint (#83); "visible" unless the set opts out with "hidden". A DISPLAY hint only - never affects engine validation or conformance.