angee.projects.schema
Strawberry-Django resources and authored actions for projects.
ProjectLinkTargetInput
@strawberry.input
class ProjectLinkTargetInput()A project or task record that may own an external link.
ProjectType
@strawberry_django.type(Project)
class ProjectType(AuthoredRefMixin, AngeeNode)GraphQL projection of a bounded project.
lead
@strawberry_django.field(only=["lead_id"])
def lead() -> strawberry.ID | NoneReturn the lead's public id without exposing auth/user.
ConsoleProjectType
@strawberry_django.type(Project)
class ConsoleProjectType(AuthoredRefMixin, AngeeNode)Console project projection with a label-bearing lead relation.
MilestoneType
@strawberry_django.type(Milestone)
class MilestoneType(AuthoredRefMixin, AngeeNode)GraphQL projection of a project milestone.
TaskType
@strawberry_django.type(Task)
class TaskType(AuthoredRefMixin, AngeeNode)GraphQL projection of one human action.
assignee
@strawberry_django.field(only=["assignee_id"])
def assignee() -> strawberry.ID | NoneReturn the assignee's public id without exposing auth/user.
delegate
@strawberry_django.field(only=["delegate_id"])
def delegate() -> strawberry.ID | NoneReturn the delegated agent user's public id without exposing auth/user.
converted_from_activity
@strawberry_django.field(only=["converted_from_activity_id"])
def converted_from_activity() -> strawberry.ID | NoneReturn the provenance activity's public id without exposing its row.
ConsoleTaskType
@strawberry_django.type(Task)
class ConsoleTaskType(AuthoredRefMixin, AngeeNode)Console task projection with label-bearing user relations.
converted_from_activity
@strawberry_django.field(only=["converted_from_activity_id"])
def converted_from_activity() -> strawberry.ID | NoneReturn the provenance activity's public id without exposing its row.
TaskRelationType
@strawberry_django.type(TaskRelation)
class TaskRelationType(AuthoredRefMixin, AngeeNode)GraphQL projection of a canonical directed task relation.
inverse_kind
@strawberry.field
def inverse_kind() -> strReturn the computed relation vocabulary from the other endpoint.
ProjectParticipantType
@strawberry_django.type(Participant)
class ProjectParticipantType(AuthoredRefMixin, AngeeNode)GraphQL projection of project involvement, not access.
ProjectLinkType
@strawberry_django.type(Link)
class ProjectLinkType(AuthoredRefMixin, AngeeNode)GraphQL projection of a project/task external URL.
target_model
@strawberry.field
def target_model() -> strReturn the target's Django model label.
target_id
@strawberry.field
def target_id() -> strawberry.IDReturn the target's stable public id.
ProjectTaskActionMutation
@strawberry.type
class ProjectTaskActionMutation()Row-authorized lifecycle and maturation actions.
pause_project
@strawberry.mutation
@action_guard("Pause project failed.")
def pause_project(info: strawberry.Info, id: PublicID) -> ActionResultPause one writable project.
resume_project
@strawberry.mutation
@action_guard("Resume project failed.")
def resume_project(info: strawberry.Info, id: PublicID) -> ActionResultResume one writable project.
complete_project
@strawberry.mutation
@action_guard("Complete project failed.")
def complete_project(info: strawberry.Info, id: PublicID) -> ActionResultComplete one writable project.
drop_project
@strawberry.mutation
@action_guard("Drop project failed.")
def drop_project(info: strawberry.Info, id: PublicID) -> ActionResultDrop one writable project.
complete_task
@strawberry.mutation
@action_guard("Complete task failed.")
def complete_task(info: strawberry.Info, id: PublicID) -> ActionResultComplete one writable task.
drop_task
@strawberry.mutation
@action_guard("Drop task failed.")
def drop_task(info: strawberry.Info, id: PublicID,
reason: DroppedReason) -> ActionResultDrop one writable task for a closed reason.
reopen_task
@strawberry.mutation
@action_guard("Reopen task failed.")
def reopen_task(info: strawberry.Info, id: PublicID) -> ActionResultReopen one writable task.
promote_task_to_project
@strawberry.mutation
@action_guard("Promote task to project failed.")
def promote_task_to_project(info: strawberry.Info,
id: PublicID) -> ActionResultPromote one writable task while retaining its identity and provenance.
promote_thread_activity_to_task
@strawberry.mutation
@action_guard("Promote activity to task failed.")
def promote_thread_activity_to_task(info: strawberry.Info,
activity: PublicID) -> ActionResultPromote one writable chatter activity to a task with provenance.
attach_link
@strawberry.mutation
@action_guard("Attach link failed.")
def attach_link(info: strawberry.Info,
target: ProjectLinkTargetInput,
url: str,
title: str = "",
metadata: JSON | None = None) -> ActionResultCreate or refresh one URL-keyed link on a writable project or task.