listShiftDefinitions
Topics: Jobs
List the current tenant's shift definitions as a connection. Requires shiftDefinition:list permission.
Returns
ShiftDefinitionConnection!Arguments
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.
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.
Forward pagination: return only definitions following this edge cursor in the requested sort order. Cannot be combined with before.
Backward 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.
Ordering terms; only the first term is applied, and both its field and direction are honoured. Defaults to createdAt descending (newest first) when omitted.
Exact field 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"])Declared on Query. Access is checked by the platform for each operation.