Skip to main content

InterfacePartTemplate

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

type InterfacePartTemplate 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: InterfacePartFilterInput
first: Int
last: Int
orderBy: [InterfacePartOrder!]
skip: Int
): InterfacePartConnection!
}

Fields

InterfacePartTemplate.description ● String! non-null scalar

The description of this entity.

InterfacePartTemplate.hasPermission ● Boolean! non-null scalar

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

InterfacePartTemplate.hasPermission.permission ● AllPermissionEntry enum

The permission to check for

InterfacePartTemplate.id ● ID! non-null scalar

The unique id of this node

InterfacePartTemplate.name ● String! non-null scalar

The name of this entity.

InterfacePartTemplate.partOf ● InterfaceSpecificationTemplate! non-null object

The Template this SubTemplate is part of

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

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

InterfacePartTemplate.templateFieldSpecifications.namePrefix ● String scalar

Name of the extension field.

InterfacePartTemplate.usedIn ● InterfacePartConnection! non-null object

Entities which use this template.

InterfacePartTemplate.usedIn.after ● String scalar

Get only items after the cursor

InterfacePartTemplate.usedIn.before ● String scalar

Get only items before the cursor

InterfacePartTemplate.usedIn.filter ● InterfacePartFilterInput input

Filter for specific items in the connection

InterfacePartTemplate.usedIn.first ● Int scalar

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

InterfacePartTemplate.usedIn.last ● Int scalar

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

InterfacePartTemplate.usedIn.orderBy ● [InterfacePartOrder!] list input

Order in which the items are sorted

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

InterfacePart object ● InterfaceSpecificationTemplate object