listShiftDefinitions
List the current tenant's shift definitions as a connection. Requires shiftDefinition:list permission.
Arguments
firstIntForward pagination: how many shift definitions to return after the after cursor. Defaults to 25, may not exceed 100, and cannot be combined with last.
lastIntBackward pagination: how many shift definitions to return before the before cursor. Defaults to 25, may not exceed 100, and cannot be combined with first.
afterStringForward pagination: return only definitions following this edge cursor in the requested sort order. Cannot be combined with before.
beforeStringBackward pagination: return only definitions preceding this edge cursor in the requested sort order. Cannot be combined with after.
Narrow the result by name and/or creation time. Omit to list every definition in the tenant.
sort[ShiftDefinitionSortInput!]Ordering terms; only the first term is applied, and both its field and direction are honoured. Defaults to createdAt descending (newest first) when omitted.
Returns ShiftDefinitionConnection!
Explore in a view
View exact SDL
"""
List the current tenant's shift definitions as a connection. Requires shiftDefinition:list permission.
"""
listShiftDefinitions(
"""
Forward pagination: how many shift definitions to return after the after cursor. Defaults to 25, may not exceed 100, and cannot be combined with last.
"""
first: Int
"""
Backward pagination: how many shift definitions to return before the before cursor. Defaults to 25, may not exceed 100, and cannot be combined with first.
"""
last: Int
"""
Forward pagination: return only definitions following this edge cursor in the requested sort order. Cannot be combined with before.
"""
after: String
"""
Backward pagination: return only definitions preceding this edge cursor in the requested sort order. Cannot be combined with after.
"""
before: String
"""
Narrow the result by name and/or creation time. Omit to list every definition in the tenant.
"""
filter: ShiftDefinitionFilterInput
"""
Ordering terms; only the first term is applied, and both its field and direction are honoured. Defaults to createdAt descending (newest first) when omitted.
"""
sort: [ShiftDefinitionSortInput!]
): ShiftDefinitionConnection! @topic(names: ["jobs"])Schema reference describes the API contract. Actual access is checked by the platform for every operation.