Skip to main content

Role

type Role implements Node {
id: ID!
createdAt: Time!
updatedAt: Time!
companyID: String!
name: String!
users(
after: Cursor
first: Int
before: Cursor
last: Int
orderBy: CompanyUserOrder
where: CompanyUserWhereInput
): CompanyUserConnection!
actionIDs: [String!]!
}

Fields

Role.id ● ID! non-null scalar

Role.createdAt ● Time! non-null scalar

Role.updatedAt ● Time! non-null scalar

Role.companyID ● String! non-null scalar

Role.name ● String! non-null scalar

Role.users ● CompanyUserConnection! non-null object

Role.users.after ● Cursor scalar

Returns the elements in the list that come after the specified cursor.

Role.users.first ● Int scalar

Returns the first n elements from the list.

Role.users.before ● Cursor scalar

Returns the elements in the list that come before the specified cursor.

Role.users.last ● Int scalar

Returns the last n elements from the list.

Role.users.orderBy ● CompanyUserOrder input

Ordering options for CompanyUsers returned from the connection.

Role.users.where ● CompanyUserWhereInput input

Filtering options for CompanyUsers returned from the connection.

Role.actionIDs ● [String!]! non-null scalar

Interfaces

Node interface

An object with an ID. Follows the Relay Global Object Identification Specification

Returned By

createRole mutation ● updateRole mutation

Member Of

CompanyUser object ● RoleEdge object ● RoleEditorPayload object