ReorderChildMutation
Reorder a child
Extends
Constructors
new ReorderChildMutation()
new ReorderChildMutation(
parent
,obj
,position
):ReorderChildMutation
Parameters
• parent: Obj
• obj: Obj
• position: number
Returns
Overrides
Source
Properties
newPosition
newPosition:
number
Source
obj
obj:
Obj
Source
oldPosition
oldPosition:
number
Source
parent
parent:
Obj
Source
type
type:
string
Inherited from
Source
Methods
apply()
apply(
store
):void
Parameters
• store: Store
Returns
void
Overrides
Source
toJSON()
toJSON():
object
Returns
object
newPosition
newPosition:
number
obj
obj:
Obj
oldPosition
oldPosition:
number
op
op:
string
parentId
parentId:
string
Overrides
Source
unapply()
unapply(
store
):void
Parameters
• store: Store
Returns
void