@blendsdk/year-planner-core
    Preparing search index...

    Interface PaintContext

    Everything needed to run a paint or erase operation.

    interface PaintContext {
        activeLayerId: string;
        createId: () => string;
        expectedVersions?: Record<string, number>;
        filter?: PlannerFilter;
        mode?: InteractionMode;
        model: PlannerModel;
        readOnly?: boolean;
        visibility: VisibilityState;
    }

    Hierarchy (View Summary)

    Index
    activeLayerId: string

    Layer that accepts the paint or erase.

    createId: () => string

    Factory for new item identities; must never return a used ID.

    expectedVersions?: Record<string, number>

    Optional optimistic-concurrency versions for affected items.

    filter?: PlannerFilter

    Optional host filter.

    Active interaction mode; defaults to auto.

    Validated planner model.

    readOnly?: boolean

    Global read-only guardrail.

    visibility: VisibilityState

    Hidden group, layer, item and channel state.