Skip to content

angee.work.schema

GraphQL resources and authored actions for operational work.

WorkQueueType

python
@strawberry_django.type(Queue)
class WorkQueueType(AngeeNode)

GraphQL projection of one operational queue.

WorkStageType

python
@strawberry_django.type(Stage)
class WorkStageType(AngeeNode)

GraphQL projection of an ordered queue stage.

WorkCycleType

python
@strawberry_django.type(Cycle)
class WorkCycleType(AngeeNode)

GraphQL projection of one generated queue cycle.

name

python
@strawberry_django.field(only=["name", "number"])
def name() -> str

Return a custom name or the model-owned Cycle N fallback.

TaskWorkExtension

python
@strawberry_django.type(Task, name="TaskType", extend=True)
class TaskWorkExtension()

Contribute work columns onto projects' existing task node.

snoozed_by

python
@strawberry_django.field(only=["snoozed_by_id"])
def snoozed_by() -> strawberry.ID | None

Return the snoozing user's public id without exposing auth/user.

work_key

python
@strawberry.field
def work_key() -> str | None

Return the queue-keyed task number, such as ENG-42.

ConsoleTaskWorkExtension

python
@strawberry_django.type(Task, name="ConsoleTaskType", extend=True)
class ConsoleTaskWorkExtension()

Contribute work columns onto the console task node.

snoozed_by

python
@strawberry_django.field(only=["snoozed_by_id"])
def snoozed_by() -> strawberry.ID | None

Return the snoozing user's public id without exposing auth/user.

work_key

python
@strawberry.field
def work_key() -> str | None

Return the queue-keyed task number, such as ENG-42.

WorkActionMutation

python
@strawberry.type
class WorkActionMutation()

Row-authorized task triage and cycle lifecycle actions.

accept_task

python
@strawberry.mutation
@action_guard("Accept task failed.")
def accept_task(info: strawberry.Info,
                task: PublicID,
                stage: PublicID | None = None) -> ActionResult

Accept one writable triage task into its selected/default stage.

decline_task

python
@strawberry.mutation
@action_guard("Decline task failed.")
def decline_task(info: strawberry.Info, task: PublicID,
                 reason: DroppedReason) -> ActionResult

Decline one writable triage task for a closed reason.

snooze_task

python
@strawberry.mutation
@action_guard("Snooze task failed.")
def snooze_task(info: strawberry.Info, task: PublicID,
                until: datetime) -> ActionResult

Snooze one writable triage task until time or chatter wakes it.

mark_task_duplicate

python
@strawberry.mutation
@action_guard("Mark duplicate failed.")
def mark_task_duplicate(info: strawberry.Info, task: PublicID,
                        canonical: PublicID) -> ActionResult

Merge one writable task into a writable canonical task.

close_work_cycle

python
@strawberry.mutation
@action_guard("Close cycle failed.")
def close_work_cycle(info: strawberry.Info, cycle: PublicID) -> ActionResult

Close and roll over one writable generated cycle.

Released under the AGPL-3.0 License.