Skip to main content

ComponentVersionTemplate

SubTemplate for ComponentVersion. Part of a ComponentTemplate. Defines templated fields with specific types (defined using JSON schema).

type ComponentVersionTemplate implements BaseNode, BaseTemplate, Named, NamedNode, Node, SubTemplate {
description: String!
hasPermission(
permission: AllPermissionEntry
): Boolean!
id: ID!
name: String!
partOf: ComponentTemplate!
templateFieldSpecifications(
namePrefix: String
): [JSONField!]!
usedIn(
after: String
before: String
filter: ComponentVersionFilterInput
first: Int
last: Int
orderBy: [ComponentVersionOrder!]
skip: Int
): ComponentVersionConnection!
}

Fields

ComponentVersionTemplate.description ● String! non-null scalar

The description of this entity.

ComponentVersionTemplate.hasPermission ● Boolean! non-null scalar

Checks if the current user has a specific permission on this Node

ComponentVersionTemplate.hasPermission.permission ● AllPermissionEntry enum

The permission to check for

ComponentVersionTemplate.id ● ID! non-null scalar

The unique id of this node

ComponentVersionTemplate.name ● String! non-null scalar

The name of this entity.

ComponentVersionTemplate.partOf ● ComponentTemplate! non-null object

The Template this SubTemplate is part of

ComponentVersionTemplate.templateFieldSpecifications ● [JSONField!]! non-null object

All template field specifications, if a namePrefix is provided, only those matching it

ComponentVersionTemplate.templateFieldSpecifications.namePrefix ● String scalar

Name of the extension field.

ComponentVersionTemplate.usedIn ● ComponentVersionConnection! non-null object

Entities which use this template.

ComponentVersionTemplate.usedIn.after ● String scalar

Get only items after the cursor

ComponentVersionTemplate.usedIn.before ● String scalar

Get only items before the cursor

ComponentVersionTemplate.usedIn.filter ● ComponentVersionFilterInput input

Filter for specific items in the connection

ComponentVersionTemplate.usedIn.first ● Int scalar

Get the first n items. Must not be used if before is specified

ComponentVersionTemplate.usedIn.last ● Int scalar

Get the last n items. Must not be used if after is specified

ComponentVersionTemplate.usedIn.orderBy ● [ComponentVersionOrder!] list input

Order in which the items are sorted

ComponentVersionTemplate.usedIn.skip ● Int scalar

Skips n items. First or last MUST be specified, is otherwise ignored

Interfaces

BaseNode interface

Shared extensions to the node type.

BaseTemplate interface

Base type for both Template and SubTemplate. Defines templated fields with specific types (defined using JSON schema). READ is always granted.

Named interface

Entity with a name and a description.

NamedNode interface

Node with a name and description

Node interface

Base class of all nodes

SubTemplate interface

BaseTemplate which is part of a Template. Defines templated fields with specific types (defined using JSON schema). Does not provide any composition features, as composition is handled by the Template it is part of.

Member of

ComponentTemplate object ● ComponentVersion object