Mutation
Mutation is an atomic modification on an object in store
Extended by
CreateMutation
DeleteMutation
AssignMutation
AssignRefMutation
InsertChildMutation
RemoveChildMutation
ReorderChildMutation
Constructors
new Mutation()
new Mutation(
type
):Mutation
Parameters
• type: string
Returns
Source
packages/core/src/core/transaction.ts:19
Properties
type
type:
string
Source
packages/core/src/core/transaction.ts:18
Methods
apply()
apply(
store
):void
Parameters
• store: Store
Returns
void
Source
packages/core/src/core/transaction.ts:22
toJSON()
toJSON():
any
Returns
any
Source
packages/core/src/core/transaction.ts:24
unapply()
unapply(
store
):void
Parameters
• store: Store
Returns
void