Skip to main content

InterfaceDefinitionTemplate

SubTemplate for InterfaceDefinition. Part of a InterfaceSpecificationTemplate. Defines templated fields with specific types (defined using JSON schema). All templatedFieldSpecifications must allow null as value.

type InterfaceDefinitionTemplate implements BaseNode, BaseTemplate, Named, NamedNode, Node, SubTemplate {
description: String!
hasPermission(
permission: AllPermissionEntry
): Boolean!
id: ID!
name: String!
partOf: InterfaceSpecificationTemplate!
templateFieldSpecifications(
namePrefix: String
): [JSONField!]!
usedIn(
after: String
before: String
filter: InterfaceDefinitionFilterInput
first: Int
last: Int
orderBy: [InterfaceDefinitionOrder!]
skip: Int
): InterfaceDefinitionConnection!
}

Fields

InterfaceDefinitionTemplate.description ● String! non-null scalar

The description of this entity.

InterfaceDefinitionTemplate.hasPermission ● Boolean! non-null scalar

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

InterfaceDefinitionTemplate.hasPermission.permission ● AllPermissionEntry enum

The permission to check for

InterfaceDefinitionTemplate.id ● ID! non-null scalar

The unique id of this node

InterfaceDefinitionTemplate.name ● String! non-null scalar

The name of this entity.

InterfaceDefinitionTemplate.partOf ● InterfaceSpecificationTemplate! non-null object

The Template this SubTemplate is part of

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

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

InterfaceDefinitionTemplate.templateFieldSpecifications.namePrefix ● String scalar

Name of the extension field.

InterfaceDefinitionTemplate.usedIn ● InterfaceDefinitionConnection! non-null object

Entities which use this template.

InterfaceDefinitionTemplate.usedIn.after ● String scalar

Get only items after the cursor

InterfaceDefinitionTemplate.usedIn.before ● String scalar

Get only items before the cursor

InterfaceDefinitionTemplate.usedIn.filter ● InterfaceDefinitionFilterInput input

Filter for specific items in the connection

InterfaceDefinitionTemplate.usedIn.first ● Int scalar

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

InterfaceDefinitionTemplate.usedIn.last ● Int scalar

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

InterfaceDefinitionTemplate.usedIn.orderBy ● [InterfaceDefinitionOrder!] list input

Order in which the items are sorted

InterfaceDefinitionTemplate.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

InterfaceDefinition object ● InterfaceSpecificationTemplate object