Skip to content

CreateComponentInput

Input for the createComponent mutation

graphql
input CreateComponentInput {
  description: String!
  interfaceSpecifications: [InterfaceSpecificationInput!]
  name: String!
  repositoryURL: URL
  template: ID!
  templatedFields: [JSONFieldInput!]!
  versions: [ComponentVersionInput!]
}

Fields

CreateComponentInput.description ● String! non-null scalar

The description of the NamedNode

CreateComponentInput.interfaceSpecifications ● [InterfaceSpecificationInput!] list input

Initial InterfaceSpecifications

CreateComponentInput.name ● String! non-null scalar

The name of the NamedNode, must not be blank

CreateComponentInput.repositoryURL ● URL scalar

The repositoryURL of the named node

CreateComponentInput.template ● ID! non-null scalar

The template of the created Component

CreateComponentInput.templatedFields ● [JSONFieldInput!]! non-null input

Initial values for all templatedFields

CreateComponentInput.versions ● [ComponentVersionInput!] list input

Initial versions of the Component

Member Of

BulkCreateComponentInput input ● createComponent mutation

Released under the MIT License.