AssignMutation
Assign a value to an object field
Extends
Constructors
new AssignMutation()
new AssignMutation(
obj
,field
,value
):AssignMutation
Parameters
• obj: Obj
• field: string
• value: any
Returns
Overrides
Source
Properties
field
field:
string
Source
newValue
newValue:
any
Source
obj
obj:
Obj
Source
oldValue
oldValue:
any
Source
type
type:
string
Inherited from
Source
Methods
apply()
apply(
store
):void
Parameters
• store: Store
Returns
void
Overrides
Source
toJSON()
toJSON():
object
Returns
object
field
field:
string
newValue
newValue:
any
objId
objId:
string
oldValue
oldValue:
any
op
op:
string
Overrides
Source
unapply()
unapply(
store
):void
Parameters
• store: Store
Returns
void