Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IAddMutator

Adds the given value to a listy property, either at the end if insertionIndex is not set, or at the indicated index, shifting any and all subsequent items "down".

Hierarchy

Index

Properties

Optional insertionIndex

insertionIndex: number

mutatorType

mutatorType: string

The type of the mutator, which can be one of deltas.deltas.MutatorTypes, as a string. This type determines the rest of the JSON serialization:
"CHANGE" → IChangeMutator,
"ADD" → IAddMutator,
"REMOVE" → IRemoveMutator,
"MOVE" → IMoveMutator.

value

value: any

Generated using TypeDoc