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 toendParts
UpdateRelationInput.addedStartParts
● [ID!]
list scalar
Ids of InterfaceParts of the
start
Interface to add tostartParts
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 fromendParts
UpdateRelationInput.removedStartParts
● [ID!]
list scalar
Ids of InterfaceParts of the
start
Interface to remove fromstartParts
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