Skip to main content

MoveTreeFieldNodeInput

Input for moving a tree field node to a different position in the tree.

input MoveTreeFieldNodeInput {
fieldDefinitionId: ID!
currentNodePath: String!
targetNode: String!
position: TreeNodePosition!
}

Fields

MoveTreeFieldNodeInput.fieldDefinitionId ● ID! non-null scalar

The ID of the FieldDefinition of type tree.

MoveTreeFieldNodeInput.currentNodePath ● String! non-null scalar

The path of the node to move, as a separator-joined string (e.g. "31126623|~^31126628").

MoveTreeFieldNodeInput.targetNode ● String! non-null scalar

The full path of the reference node (e.g. "ROOT|~^CATEGORY-1").

MoveTreeFieldNodeInput.position ● TreeNodePosition! non-null enum

Whether to place the moved node ABOVE, BELOW, or INSIDE the target node.

Member Of

moveTreeFieldNode mutation