IFClite TypeScript API
    Preparing search index...

    Type Alias MergeOp

    MergeOp:
        | {
            attributes: ComponentAttributes;
            componentKey: ComponentKey;
            op: "set-component";
            path: string;
        }
        | {
            attributes: ComponentAttributes;
            componentKey: ComponentKey;
            op: "tombstone-component";
            path: string;
        }
        | { op: "tombstone-entity"; path: string }
        | { op: "resurrect-entity"; path: string }
        | { child: string; name: string; op: "set-child"; path: string }
        | { name: string; op: "remove-child"; path: string }
        | { name: string; op: "set-inherit"; path: string; target: string }
        | { name: string; op: "remove-inherit"; path: string }

    Semantic reading of a layer's nodes — the op model of 02 §2.2.

    Type Declaration

    • {
          attributes: ComponentAttributes;
          componentKey: ComponentKey;
          op: "set-component";
          path: string;
      }
      • Readonlyattributes: ComponentAttributes

        Full component value (state-based; LWW within a stack).

      • ReadonlycomponentKey: ComponentKey
      • Readonlyop: "set-component"
      • Readonlypath: string
    • {
          attributes: ComponentAttributes;
          componentKey: ComponentKey;
          op: "tombstone-component";
          path: string;
      }
      • Readonlyattributes: ComponentAttributes

        Attribute keys to null out (IFCX null = remove opinion).

      • ReadonlycomponentKey: ComponentKey
      • Readonlyop: "tombstone-component"
      • Readonlypath: string
    • { op: "tombstone-entity"; path: string }
    • { op: "resurrect-entity"; path: string }
    • { child: string; name: string; op: "set-child"; path: string }
    • { name: string; op: "remove-child"; path: string }
    • { name: string; op: "set-inherit"; path: string; target: string }
    • { name: string; op: "remove-inherit"; path: string }