Sign up (with export icon)

TransformationContext

Api-typedef icon typedef

Holds additional contextual information about a transformed pair of operations (a and b). Those information can be used for better conflict resolving.

Properties

  • Chevron-right icon

    aIsStrong : boolean | undefined

    Whether a is strong operation in this transformation, or weak.

  • Chevron-right icon

    aWasUndone : boolean | undefined

    Whether a operation was undone.

  • Chevron-right icon

    abRelation : any | undefined

    The relation between a operation and an operation undone by b operation.

  • Chevron-right icon

    bWasUndone : boolean | undefined

    Whether b operation was undone.

  • Chevron-right icon

    baRelation : any | undefined

    The relation between b operation and an operation undone by a operation.

  • forceWeakRemove : boolean | undefined