AddOp
Builder add operation for shapes, things, and assertions.
Extends
Section titled “Extends”unknown
Properties
Section titled “Properties”operation
Section titled “operation”
readonlyoperation:"add"
Operation discriminator. Always add.
Inherited from
Section titled “Inherited from”BaseAddOp.operation
readonlyoptionalkind?:unknown
Optional kind override: shape, thing, or assertion.
Inherited from
Section titled “Inherited from”BaseAddOp.kind
about?
Section titled “about?”
readonlyoptionalabout?:string
Assertion target wref. Presence of about makes the add an assertion unless kind overrides it.
Inherited from
Section titled “Inherited from”BaseAddOp.about
shapeWref?
Section titled “shapeWref?”
readonlyoptionalshapeWref?:string
Optional shape wref used by local validation.
Inherited from
Section titled “Inherited from”BaseAddOp.shapeWref
aboutWref?
Section titled “aboutWref?”
readonlyoptionalaboutWref?:string
Deprecated spelling for about; retained for compatibility.
Inherited from
Section titled “Inherited from”BaseAddOp.aboutWref
readonlyoptionaldata?:unknown
Shape-validated data payload for shape, thing, or assertion adds.
Inherited from
Section titled “Inherited from”BaseAddOp.data
skipExisting?
Section titled “skipExisting?”
readonlyoptionalskipExisting?:boolean
When true, an existing target returns noop instead of failing.
Inherited from
Section titled “Inherited from”BaseAddOp.skipExisting
readonlyname:string
Target name. Use Shape/localName for things and assertions; use the plain shape name for shapes.