Skip to main content

UpdateRelationInput

Input for the updateRelation mutation

input UpdateRelationInput {
addedEndParts: [ID!]
addedStartParts: [ID!]
id: ID!
removedEndParts: [ID!]
removedStartParts: [ID!]
template: ID
templatedFields: [JSONFieldInput!]
}

Fields

UpdateRelationInput.addedEndParts ● [ID!] list scalar

Ids of InterfaceParts of the end Interface to add to endParts

UpdateRelationInput.addedStartParts ● [ID!] list scalar

Ids of InterfaceParts of the start Interface to add to startParts

UpdateRelationInput.id ● ID! non-null scalar

The id of the node to update

UpdateRelationInput.removedEndParts ● [ID!] list scalar

Ids of InterfaceParts of the end Interface to remove from endParts

UpdateRelationInput.removedStartParts ● [ID!] list scalar

Ids of InterfaceParts of the start Interface to remove from startParts

UpdateRelationInput.template ● ID scalar

If provided, the id of the new template for the Component Use templatedFields to update fields so that they conform with the new specifications. No longer needed fields are automatically removed. Caution: the chosen Template must be compatible with the Templates of the start and end of the Relation.

UpdateRelationInput.templatedFields ● [JSONFieldInput!] list input

Values for templatedFields to update

Member of

updateRelation mutation