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.