Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ICreateUnitDelta

A delta to create a (structural or model) unit.

Hierarchy

Index

Properties

containerId

containerId: string

The ID of the containing unit. (This relates to the project tree.)

containmentName

containmentName: string

The name of the property of the containing unit which will contain the unit-to-create. (This relates to the project tree.)

contentType

contentType: string

The qualified name of the type of unit to create.

deltaType

deltaType: string

The type of the delta, which can be one of deltas.deltas.DeltaTypes, as a string. This type determines the rest of the JSON serialization:
"CREATE_ELEMENT" → ICreateElementDelta,
"UPDATE_PROPERTY_VALUE" → IUpdatePropertyValueDelta,
"MOVE_ELEMENT" → IMoveElementDelta,
"DELETE_ELEMENT" → IDeleteElementDelta,
"CREATE_UNIT" → ICreateUnitDelta.

unitId

unitId: string

The ID of the unit (containing an element or property value) to which the delta is to be applied.

Generated using TypeDoc