Skip to content

IMSUserTemplate ​

SubTemplate for IMSUser. Part of an IMSTemplate. Defines templated fields with specific types (defined using JSON schema).

graphql
type IMSUserTemplate implements BaseNode, BaseTemplate, Named, NamedNode, Node, SubTemplate {
  description: String!
  hasPermission(
    permission: AllPermissionEntry
  ): Boolean!
  id: ID!
  name: String!
  partOf: IMSTemplate!
  templateFieldSpecifications(
    namePrefix: String
  ): [JSONField!]!
  usedIn(
    after: String
    before: String
    filter: IMSUserFilterInput
    first: Int
    last: Int
    orderBy: [IMSUserOrder!]
    skip: Int
  ): IMSUserConnection!
}

Fields ​

IMSUserTemplate.description ● String! non-null scalar ​

The description of this entity.

IMSUserTemplate.hasPermission ● Boolean! non-null scalar ​

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

IMSUserTemplate.hasPermission.permission ● AllPermissionEntry enum ​

The permission to check for

IMSUserTemplate.id ● ID! non-null scalar ​

The unique id of this node

IMSUserTemplate.name ● String! non-null scalar ​

The name of this entity.

IMSUserTemplate.partOf ● IMSTemplate! non-null object ​

The Template this SubTemplate is part of

IMSUserTemplate.templateFieldSpecifications ● [JSONField!]! non-null object ​

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

IMSUserTemplate.templateFieldSpecifications.namePrefix ● String scalar ​

Name of the extension field.

IMSUserTemplate.usedIn ● IMSUserConnection! non-null object ​

Entities which use this template.

IMSUserTemplate.usedIn.after ● String scalar ​

Get only items after the cursor

IMSUserTemplate.usedIn.before ● String scalar ​

Get only items before the cursor

IMSUserTemplate.usedIn.filter ● IMSUserFilterInput input ​

Filter for specific items in the connection

IMSUserTemplate.usedIn.first ● Int scalar ​

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

IMSUserTemplate.usedIn.last ● Int scalar ​

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

IMSUserTemplate.usedIn.orderBy ● [IMSUserOrder!] list input ​

Order in which the items are sorted

IMSUserTemplate.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 ​

IMSTemplate object ● IMSUser object

Released under the MIT License.