createShiftDefinition
Topics: Jobs
Create a new shift definition in the caller's tenant; the server mints its "shd" TypeID and timestamps. Validation failures come back as payload errors rather than as a GraphQL error. Requires shiftDefinition:write permission.
Exact field SDL
"""
Create a new shift definition in the caller's tenant; the server mints its "shd" TypeID and timestamps. Validation failures come back as payload errors rather than as a GraphQL error. Requires shiftDefinition:write permission.
"""
createShiftDefinition(
"""Fields for the new shift definition."""
input: CreateShiftDefinitionInput!
): UpsertShiftDefinitionPayload! @topic(names: ["jobs"])Declared on Mutation. Access is checked by the platform for each operation.