Skip to content

angee.projects.schema ​

Strawberry-Django resources and authored actions for projects.

ProjectLinkTargetInput ​

python
@strawberry.input
class ProjectLinkTargetInput()

A project or task record that may own an external link.

ProjectType ​

python
@strawberry_django.type(Project)
class ProjectType(AuthoredRefMixin, AngeeNode)

GraphQL projection of a bounded project.

lead ​

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

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

ConsoleProjectType ​

python
@strawberry_django.type(Project)
class ConsoleProjectType(AuthoredRefMixin, AngeeNode)

Console project projection with a label-bearing lead relation.

MilestoneType ​

python
@strawberry_django.type(Milestone)
class MilestoneType(AuthoredRefMixin, AngeeNode)

GraphQL projection of a project milestone.

TaskType ​

python
@strawberry_django.type(Task)
class TaskType(AuthoredRefMixin, AngeeNode)

GraphQL projection of one human action.

assignee ​

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

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

delegate ​

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

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

converted_from_activity ​

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

Return the provenance activity's public id without exposing its row.

ConsoleTaskType ​

python
@strawberry_django.type(Task)
class ConsoleTaskType(AuthoredRefMixin, AngeeNode)

Console task projection with label-bearing user relations.

converted_from_activity ​

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

Return the provenance activity's public id without exposing its row.

TaskRelationType ​

python
@strawberry_django.type(TaskRelation)
class TaskRelationType(AuthoredRefMixin, AngeeNode)

GraphQL projection of a canonical directed task relation.

inverse_kind ​

python
@strawberry.field
def inverse_kind() -> str

Return the computed relation vocabulary from the other endpoint.

ProjectParticipantType ​

python
@strawberry_django.type(Participant)
class ProjectParticipantType(AuthoredRefMixin, AngeeNode)

GraphQL projection of project involvement, not access.

ProjectLinkType ​

python
@strawberry_django.type(Link)
class ProjectLinkType(AuthoredRefMixin, AngeeNode)

GraphQL projection of a project/task external URL.

target_model ​

python
@strawberry.field
def target_model() -> str

Return the target's Django model label.

target_id ​

python
@strawberry.field
def target_id() -> strawberry.ID

Return the target's stable public id.

ProjectTaskActionMutation ​

python
@strawberry.type
class ProjectTaskActionMutation()

Row-authorized lifecycle and maturation actions.

pause_project ​

python
@strawberry.mutation
@action_guard("Pause project failed.")
def pause_project(info: strawberry.Info, id: PublicID) -> ActionResult

Pause one writable project.

resume_project ​

python
@strawberry.mutation
@action_guard("Resume project failed.")
def resume_project(info: strawberry.Info, id: PublicID) -> ActionResult

Resume one writable project.

complete_project ​

python
@strawberry.mutation
@action_guard("Complete project failed.")
def complete_project(info: strawberry.Info, id: PublicID) -> ActionResult

Complete one writable project.

drop_project ​

python
@strawberry.mutation
@action_guard("Drop project failed.")
def drop_project(info: strawberry.Info, id: PublicID) -> ActionResult

Drop one writable project.

complete_task ​

python
@strawberry.mutation
@action_guard("Complete task failed.")
def complete_task(info: strawberry.Info, id: PublicID) -> ActionResult

Complete one writable task.

drop_task ​

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

Drop one writable task for a closed reason.

reopen_task ​

python
@strawberry.mutation
@action_guard("Reopen task failed.")
def reopen_task(info: strawberry.Info, id: PublicID) -> ActionResult

Reopen one writable task.

promote_task_to_project ​

python
@strawberry.mutation
@action_guard("Promote task to project failed.")
def promote_task_to_project(info: strawberry.Info,
                            id: PublicID) -> ActionResult

Promote one writable task while retaining its identity and provenance.

promote_thread_activity_to_task ​

python
@strawberry.mutation
@action_guard("Promote activity to task failed.")
def promote_thread_activity_to_task(info: strawberry.Info,
                                    activity: PublicID) -> ActionResult

Promote one writable chatter activity to a task with provenance.

python
@strawberry.mutation
@action_guard("Attach link failed.")
def attach_link(info: strawberry.Info,
                target: ProjectLinkTargetInput,
                url: str,
                title: str = "",
                metadata: JSON | None = None) -> ActionResult

Create or refresh one URL-keyed link on a writable project or task.

Released under the AGPL-3.0 License.