Skip to main content

TaskBundle

Represents a task bundle — a reusable, context-triggered collection of task templates.

type TaskBundle {
id: ID!
name: String!
description: String
status: TaskBundleStatus!
tasksCount: Int
access: TaskBundleAccess
canEdit: Boolean
canDelete: Boolean
isAuthor: Boolean
creator: User
createdAt: DateTimeTz!
updatedAt: DateTimeTz!
deletedAt: DateTimeTz
tasks(
where: TaskBundleTasksWhereWhereConditions
orderBy: [TaskBundleTasksOrderByOrderByClause!]
first: Int! = 50
after: String
): TaskConnection!
}

Fields

TaskBundle.id ● ID! non-null scalar

Bundle's unique identifier.

TaskBundle.name ● String! non-null scalar

The bundle's name.

TaskBundle.description ● String scalar

The bundle's short description.

TaskBundle.status ● TaskBundleStatus! non-null enum

The bundle's lifecycle status.

TaskBundle.tasksCount ● Int scalar

Count of task templates inside this bundle. Uses Lighthouse's batch loader to avoid N+1 across list responses.

TaskBundle.access ● TaskBundleAccess object

The bundle's sharing access.

TaskBundle.canEdit ● Boolean scalar

Whether the current user can edit this bundle.

TaskBundle.canDelete ● Boolean scalar

Whether the current user can delete this bundle.

TaskBundle.isAuthor ● Boolean scalar

Whether the current user is this bundle's author.

TaskBundle.creator ● User object

The user who created this bundle.

TaskBundle.createdAt ● DateTimeTz! non-null scalar

The date and time when the bundle was created.

TaskBundle.updatedAt ● DateTimeTz! non-null scalar

The date and time when the bundle was last updated.

TaskBundle.deletedAt ● DateTimeTz scalar

The date and time when the bundle was deleted.

TaskBundle.tasks ● TaskConnection! non-null object

Task templates that belong to this bundle.

TaskBundle.tasks.where ● TaskBundleTasksWhereWhereConditions input
TaskBundle.tasks.orderBy ● [TaskBundleTasksOrderByOrderByClause!] list input
TaskBundle.tasks.first ● Int! non-null scalar

Limits number of fetched items. Maximum allowed value: 50.

TaskBundle.tasks.after ● String scalar

A cursor after which elements are returned.

Returned By

createTaskBundle mutation ● deleteTaskBundle mutation ● restoreTaskBundle mutation ● taskBundle query ● updateTaskBundle mutation

Member Of

Task object ● TaskBundleApplyResult object ● TaskBundleEdge object