Skip to content

angee.intake.schema

GraphQL resource and authored actions for external-request intake.

NeedTargetInput

python
@strawberry.input
class NeedTargetInput()

A task or project address accepted by manual need capture.

NeedType

python
@strawberry_django.type(Need)
class NeedType(AngeeNode)

GraphQL projection of one external-request evidence row.

ChannelIntakeExtension

python
@strawberry_django.type(Channel, name="ChannelType", extend=True)
class ChannelIntakeExtension()

Contribute intake configuration onto messaging's channel node.

IntakeActionMutation

python
@strawberry.type
class IntakeActionMutation()

Row-authorized manual capture and Need-to-Task conversion actions.

capture_need

python
@strawberry.mutation
@action_guard("Capture need failed.")
def capture_need(
        info: strawberry.Info,
        target: NeedTargetInput,
        body: str,
        party: PublicID | None = None,
        importance: NeedImportance = NeedImportance.NORMAL) -> ActionResult

Idempotently capture one exact manual request on a task or project.

convert_need_to_task

python
@strawberry.mutation
@action_guard("Convert need to task failed.")
def convert_need_to_task(info: strawberry.Info, need: PublicID,
                         queue: PublicID) -> ActionResult

Convert one writable need into a triage task, or return its existing task.

Released under the AGPL-3.0 License.