Department

Represents a Department object

Implements

Fields

id (ID!)
color (String)
colorUpdatedAt (String)

date color was updated

colors ([String])

Department colors

company (Company!)
companyId (ID!)
departmentAdminIds ([ID!]!)
departmentAdmins ([Department_Admin]!)
employeeConnection (EmployeeConnectionWithTotal)
Argument Type Description
after String

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

before String

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

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

orderBy EmployeeOrderByEnum
where EmployeeWhereInput
employees (EmployeeConnectionWithTotal)
Argument Type Description
AssignmentPlanId ID
ValueFilter [FilterEnum]
after String

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

before String

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

cities [String]
filters [EmployeeFiltersInput]
first Int

Returns the first n elements from the list.

ignorePreferredLocations Boolean
includeOldBuildings Boolean
keyValueFilters [EmployeeKeyValueFiltersInput]
last Int

Returns the last n elements from the list.

order Order
sortBy SortBy
isRoot (Boolean)

check if department is root

name (String!)
neighborhoods ([Neighborhood])
parentDepartment (Department)

Parent department of child

spaceConnection (SpaceConnectionWithTotal)
Argument Type Description
after String

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

before String

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

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

orderBy SpaceOrderByEnum
where SpaceWhereInput
spacesAssigned (Int)

Number of employees currently assigned in department

teamConnection (DepartmentConnectionWithTotal)
Argument Type Description
after String

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

before String

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

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

orderBy DepartmentOrderByEnum
where DepartmentWhereInput
teams ([Department])

Teams that belong to a given department

totals (DepartmentAssociationsCounters)

Association totals/counters

updatedBy (User)

date color was updated

uuid (String!)