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

    Interface IConflictEntityInfo

    冲突实体详细信息

    注意:serverVersion 和 clientVersion 现在都是基于 patch 提取的变更信息, 而不是完整的实体数据。它们通常包含 _changes 数组记录属性级别的修改。

    interface IConflictEntityInfo {
        entityId: string;
        entityType?: string;
        serverVersion?: any;
        clientVersion?: any;
        conflictingProperties?: string[];
    }
    Index

    Properties

    entityId: string

    实体 ID

    entityType?: string

    实体类型 (LINE, CIRCLE, etc.)

    serverVersion?: any

    服务器版本的实体数据 可能包含 _changes 数组(属性修改)或完整实体数据(新增/删除)

    clientVersion?: any

    客户端版本的实体数据 可能包含 _changes 数组(属性修改)或完整实体数据(新增/删除)

    conflictingProperties?: string[]

    冲突的属性路径列表 例如: ["position/x", "color", "radius"] 只有当两边都是修改操作时才会有此字段