Skip to main content

employeeDirectory

The cross-park employee list of the management menu: every employee of every active residential park in which the current user holds employee:core:read, sorted by name.

Only the permitted parks' Odoo departments are queried; employees of other parks are never fetched. A user without any permitted park receives an empty connection, not an error. filter.residentialParkIds narrows the permitted parks and never widens them.

Paginated with opaque cursors: pass pageInfo.endCursor of one page as after to get the next.

employeeDirectory(
after: String
filter: EmployeeDirectoryFilterInput!
first: Int!
): EmployeeDirectoryConnection!

Arguments​

employeeDirectory.after ● String scalar​

employeeDirectory.filter ● EmployeeDirectoryFilterInput! non-null input​

employeeDirectory.first ● Int! non-null scalar​

Type​

EmployeeDirectoryConnection object​

One page of the cross-park employee list.