Skip to main content

categories

Find categories

categories(
filters: [InputFilter!]
showCanceledCosts: Boolean = true
showEmptyBudgetData: Boolean = true
applyDivisions: Boolean = false
sort: [Sort!] = [{ caseSensitive: true, direction: asc, field: "name" }]
createdAt: DateTimeRange
updatedAt: DateTimeRange
includeSecondary: [StorylineSecondaryScope!] = []
excludeEmpty: [StorylineEmptyScope!] = []
archived: Boolean
after: String
before: String
first: Int
last: Int
): CategoryConnection

Arguments​

categories.filters ● [InputFilter!] list input​

Filter entities by provided filters

categories.showCanceledCosts ● Boolean scalar​

Include entities with a canceled costs

categories.showEmptyBudgetData ● Boolean scalar​

Include when budget data is empty

categories.applyDivisions ● Boolean scalar​

Narrow results to the current user's division scope

categories.sort ● [Sort!] list input​

Sort result

categories.createdAt ● DateTimeRange input​

Filter by created at

categories.updatedAt ● DateTimeRange input​

Filter by updated at

categories.includeSecondary ● [StorylineSecondaryScope!] list enum​

Rows that reach the given parent, or an ancestor with an active filter, only through a secondary link of a listed level are included

categories.excludeEmpty ● [StorylineEmptyScope!] list enum​

Hide rows of the listed levels that are older than one day and have no child visible under the active filters

categories.archived ● Boolean scalar​

Filter archived categories

categories.after ● String scalar​

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

categories.before ● String scalar​

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

categories.first ● Int scalar​

Returns the first _n_ elements from the list.

categories.last ● Int scalar​

Returns the last _n_ elements from the list.

Type​

CategoryConnection object​

The connection type for Category.