Skip to main content

Module mutations

Module mutations 

Source
Expand description

Generated mutation functions.

Each mutation is exposed as a standalone async function. The Client re-exports these as methods for convenience.

Generated by lineark-codegen — do not edit.

Functions§

comment_create
Creates a new comment.
comment_delete
Deletes a comment.
comment_resolve
Resolves a comment thread. Marks the root comment as resolved by the current user.
comment_unresolve
Unresolves a previously resolved comment thread. Clears the resolved state on the root comment.
comment_update
Updates a comment.
document_create
Creates a new document.
document_delete
Deletes (trashes) a document. The document is marked as trashed and archived, but not permanently removed.
document_update
Updates a document.
file_upload
XHR request payload to upload an images, video and other attachments directly to Linear’s cloud storage.
image_upload_from_url
Upload an image from an URL to Linear.
issue_archive
Archives an issue.
issue_batch_update
Updates multiple issues at once.
issue_create
Creates a new issue.
issue_delete
Deletes (trashes) an issue.
issue_label_create
Creates a new label.
issue_label_delete
Deletes an issue label.
issue_label_update
Updates a label.
issue_relation_create
Creates a new issue relation.
issue_relation_delete
Deletes an issue relation.
issue_unarchive
Unarchives an issue.
issue_update
Updates an issue.
project_create
Creates a new project.
project_delete
Deletes (trashes) a project. The project can be restored later with projectUnarchive.
project_milestone_create
Creates a new project milestone.
project_milestone_delete
Deletes a project milestone.
project_milestone_update
Updates a project milestone.
project_update
Updates a project.
team_create
Creates a new team. The user who creates the team will automatically be added as a member and owner of the newly created team. Default workflow states, labels, and other team resources are created alongside the team.
team_delete
Archives a team and schedules its data for deletion. Requires team owner or workspace admin permissions.
team_membership_create
Creates a new team membership, adding a user to a team. Validates that the user is not already a member, the team is not archived or retired, and the requesting user has permission to add members.
team_membership_delete
Deletes a team membership, removing the user from the team. Users can remove their own membership, or team owners and workspace admins can remove other members.
team_update
Updates a team’s settings, properties, or configuration. Requires team owner or workspace admin permissions for most changes.