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

    Interface ConflictDetectedEventArgs

    检测到冲突事件参数

    interface ConflictDetectedEventArgs {
        timestamp: number;
        customData?: any;
        document: CadDocument;
        conflicts: ConflictItem[];
        sourceOperation: "merge" | "sync" | "patch" | "pull";
        sourceBranchOrVersion?: string;
        targetBranchOrVersion?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    timestamp: number

    事件发生的时间戳

    customData?: any

    自定义数据,二次开发者可以附加额外信息

    document: CadDocument

    文档

    conflicts: ConflictItem[]

    冲突列表

    sourceOperation: "merge" | "sync" | "patch" | "pull"

    冲突来源操作

    sourceBranchOrVersion?: string

    源分支或版本

    targetBranchOrVersion?: string

    目标分支或版本