Skip to main content

CreateComponentTemplateInput

Input for the createComponentTemplate mutation

input CreateComponentTemplateInput {
componentVersionTemplate: SubTemplateInput!
description: String!
extends: [ID!]
fill: FillStyleInput
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.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