WebCAD-Lib-TS API 文档 - v1.0.0
    Preparing search index...

    Interface IDiffListItem

    Flat list item consumed by the DiffPanel UI

    interface IDiffListItem {
        key: string;
        category: "entity" | "layer" | "textStyle" | "dimStyle" | "docEnv";
        changeType: "added" | "deleted" | "modified";
        label: string;
        description: string;
        entityId?: number;
        blockName?: string;
        changes?: IPropChange[];
    }
    Index

    Properties

    key: string

    Unique key for rendering (e.g. "entity:MODEL_SPACE:42" or "layer:abc-def")

    category: "entity" | "layer" | "textStyle" | "dimStyle" | "docEnv"

    Category for tab filtering

    changeType: "added" | "deleted" | "modified"
    label: string

    Human-readable label, e.g. "LINE #42" / "Layer: 0"

    description: string

    Short description of what changed

    entityId?: number

    Entity ID if applicable (for locate)

    blockName?: string

    Block name if applicable

    changes?: IPropChange[]

    Property changes for modified items