Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IChangeMutator

Sets the value of the whole property (if non-listy), or a specific item (if listy - which item is indicated by updateIndex) to the given value.

Hierarchy

Index

Properties

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.

Optional updateIndex

updateIndex: number

value

value: any

Generated using TypeDoc