angee.work.schema
GraphQL resources and authored actions for operational work.
WorkQueueType
@strawberry_django.type(Queue)
class WorkQueueType(AngeeNode)GraphQL projection of one operational queue.
WorkStageType
@strawberry_django.type(Stage)
class WorkStageType(AngeeNode)GraphQL projection of an ordered queue stage.
WorkCycleType
@strawberry_django.type(Cycle)
class WorkCycleType(AngeeNode)GraphQL projection of one generated queue cycle.
name
@strawberry_django.field(only=["name", "number"])
def name() -> strReturn a custom name or the model-owned Cycle N fallback.
TaskWorkExtension
@strawberry_django.type(Task, name="TaskType", extend=True)
class TaskWorkExtension()Contribute work columns onto projects' existing task node.
snoozed_by
@strawberry_django.field(only=["snoozed_by_id"])
def snoozed_by() -> strawberry.ID | NoneReturn the snoozing user's public id without exposing auth/user.
work_key
@strawberry.field
def work_key() -> str | NoneReturn the queue-keyed task number, such as ENG-42.
ConsoleTaskWorkExtension
@strawberry_django.type(Task, name="ConsoleTaskType", extend=True)
class ConsoleTaskWorkExtension()Contribute work columns onto the console task node.
snoozed_by
@strawberry_django.field(only=["snoozed_by_id"])
def snoozed_by() -> strawberry.ID | NoneReturn the snoozing user's public id without exposing auth/user.
work_key
@strawberry.field
def work_key() -> str | NoneReturn the queue-keyed task number, such as ENG-42.
WorkActionMutation
@strawberry.type
class WorkActionMutation()Row-authorized task triage and cycle lifecycle actions.
accept_task
@strawberry.mutation
@action_guard("Accept task failed.")
def accept_task(info: strawberry.Info,
task: PublicID,
stage: PublicID | None = None) -> ActionResultAccept one writable triage task into its selected/default stage.
decline_task
@strawberry.mutation
@action_guard("Decline task failed.")
def decline_task(info: strawberry.Info, task: PublicID,
reason: DroppedReason) -> ActionResultDecline one writable triage task for a closed reason.
snooze_task
@strawberry.mutation
@action_guard("Snooze task failed.")
def snooze_task(info: strawberry.Info, task: PublicID,
until: datetime) -> ActionResultSnooze one writable triage task until time or chatter wakes it.
mark_task_duplicate
@strawberry.mutation
@action_guard("Mark duplicate failed.")
def mark_task_duplicate(info: strawberry.Info, task: PublicID,
canonical: PublicID) -> ActionResultMerge one writable task into a writable canonical task.
close_work_cycle
@strawberry.mutation
@action_guard("Close cycle failed.")
def close_work_cycle(info: strawberry.Info, cycle: PublicID) -> ActionResultClose and roll over one writable generated cycle.