Skip to content

CreateComponentTemplateInput

Input for the createComponentTemplate mutation

graphql
input CreateComponentTemplateInput {
  componentVersionTemplate: SubTemplateInput!
  description: String!
  extends: [ID!]
  fill: FillStyleInput
  intraComponentDependencySpecificationTypes: [IntraComponentDependencySpecificationTypeInput!]!
  isAbstract: Boolean!
  name: String!
  shapeRadius: Float
  shapeType: ShapeType!
  stroke: StrokeStyleInput
  templateFieldSpecifications: [JSONFieldInput!]
}

Fields

CreateComponentTemplateInput.componentVersionTemplate ● SubTemplateInput! non-null input

SubTemplate for all ComponentVersions of a Component with the created Template

CreateComponentTemplateInput.description ● String! non-null scalar

The description of the NamedNode

CreateComponentTemplateInput.extends ● [ID!] list scalar

IDs of Templates the created template extends. Must be templates of the same type.

CreateComponentTemplateInput.fill ● FillStyleInput input

Style of the fill

CreateComponentTemplateInput.intraComponentDependencySpecificationTypes ● [IntraComponentDependencySpecificationTypeInput!]! non-null input

Set of all types IntraComponentDependencySpecifications of Components with the created Template can have

CreateComponentTemplateInput.isAbstract ● Boolean! non-null scalar

If true, this template is abstract and cannot be used for new entities.

CreateComponentTemplateInput.name ● String! non-null scalar

The name of the NamedNode, must not be blank

CreateComponentTemplateInput.shapeRadius ● Float scalar

The corner radius of the shape, ignored for circle/ellipse

CreateComponentTemplateInput.shapeType ● ShapeType! non-null enum

The type of the shape

CreateComponentTemplateInput.stroke ● StrokeStyleInput input

Style of the stroke

CreateComponentTemplateInput.templateFieldSpecifications ● [JSONFieldInput!] list input

Additional initial templateFieldSpecifications, should be a JSON schema JSON. Must be disjoint with templateFieldSpecifications of templates this template extends.

Member Of

createComponentTemplate mutation

Released under the MIT License.