Skip to main content

paginatedCompanies

Get all companies visible to the current user. If the user is a super admin or support admin, return all companies. Otherwise return only the companies that the user is associated with.

paginatedCompanies(
after: String
before: String
filters: CompanyFilterInput
first: Int
last: Int
): CompanyConnection!

Arguments

paginatedCompanies.after ● String scalar common

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

paginatedCompanies.before ● String scalar common

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

paginatedCompanies.filters ● CompanyFilterInput input companies

paginatedCompanies.first ● Int scalar common

Returns the first _n_ elements from the list.

paginatedCompanies.last ● Int scalar common

Returns the last _n_ elements from the list.

Type

CompanyConnection object common

The connection type for Company.