Skip to main content

Module graphql

Module graphql 

Source
Expand description

Exact GraphQL query documents issued by this plugin.

Fixture servers consume these constants so their recognized contract cannot drift from the production requests.

Constants§

ASSIGNEE_SELECTION
What a source with config.assignees: true selects beside ISSUE_SELECTION_TAIL on every issue it reads or writes: the assignee’s display name, null for an unassigned issue.
BATCHED
The documents this source sends batched by composed, each the single-root document it batches.
COMMENT
Place one comment: which issue it is on, if any.
COMMENTS_PAGE
The first page of an issue’s comments, each its id and when it last changed, a lin1 token’s comments part is spelled from: what ISSUES_CACHED, ISSUE_CACHED and ISSUE_RELATIONS_CACHED add for it. ISSUE_DETAIL_CACHED spells it from the comments page it already reads.
COMMENT_CREATE
Add a comment to an issue.
COMMENT_DELETE
Remove a comment.
COMMENT_UPDATE
Replace a comment’s body.
COUNTERPART_LOOKUPS
What a copy asks before it looks for the items copied from each of up to super::ORIGIN_BATCH origins: ISSUES’s connection narrowed to every origin’s slot phrase under one or, aliased originIssues, PROJECTS’s connection narrowed to the source’s scope, aliased originProjects, and ORGANIZATION’s organization{id} — in one request. See the module documentation’s ruling on the requests a copy sends.
COUNTERPART_LOOKUPS_CACHED
COUNTERPART_LOOKUPS, sent in its place while the store’s cache stands in front of this source: each connection’s rows carry what ISSUES_CACHED’s and PROJECTS_CACHED’s carry, so a row it answers is pinned to the token a listing of it spells.
CURSOR_NOT_FOUND_MESSAGE
Linear’s refusal of a page asked for after (or before) a cursor it cannot find, as the live capability journey met it on 2026-11-11 (run 43027479734) — cursor not found, whose userPresentableMessage reads Could not find cursor '<cursor>'. — partway through a walk in pages of one over issues that run had just created, the cursor being the last of them. A cursor is the id of the row it follows, so a replica that does not hold that row yet cannot place it. The loopback of tests/absent_and_refused.rs answers with these two.
CURSOR_NOT_FOUND_PRESENTABLE
Its user-facing alternative, up to the cursor it names.
DOCUMENT
Fetch one document.
DOCUMENTS
List documents.
DOCUMENT_CREATE
Create a document.
DOCUMENT_DELETE
Delete a document, so a copy that could not finish can take back what it created.
DOCUMENT_ID_CONFLICT_MESSAGE
PROJECT_ID_CONFLICT_MESSAGE for a documentCreate.
DOCUMENT_NOT_FOUND_MESSAGE
The same error for a document a read addresses, on the terms of PROJECT_NOT_FOUND_MESSAGE. Reconciled with the service by the live project-create journey of onetaskgraph-linear-e2e, which reads a document id Linear does not hold and requires it absent; the loopback fixture shares this contract.
DOCUMENT_NOT_FOUND_PRESENTABLE
Its user-facing alternative, on the terms of ISSUE_NOT_FOUND_PRESENTABLE.
DOCUMENT_UPDATE
Update a document, reading back in the same request everything a document is read as, on the terms of PROJECT_UPDATE.
FILE_UPLOAD
Request Linear’s signed upload URL, private asset URL, and required PUT headers.
INVERSE_RELATIONS_PAGE
The first page of an issue’s inverse relations — what depends on it — a lin1 token’s inverse part is spelled from, added beside RELATIONS_PAGE.
ISSUE
Fetch one issue.
ISSUES
List issues.
ISSUES_CACHED
ISSUES, sent in its place while the store’s cache stands in front of this source: with COMMENTS_PAGE, RELATIONS_PAGE and INVERSE_RELATIONS_PAGE, so a listing pins each task to the token a read of it fills.
ISSUE_CACHED
ISSUE, sent in its place while the store’s cache stands in front of this source.
ISSUE_COMMENTS
One page of an issue’s comments, walked backwards.
ISSUE_CREATE
Create an issue.
ISSUE_DELETE
Delete an issue, so a copy that could not finish can take back what it created.
ISSUE_DEPENDED_ON_BY
What depends on one issue: ISSUE_RELATIONS with its inverseRelations alone. The description is read for its links alone — never for a recorded edge, whose reverse is derived from the far end — so a related relation mirroring a link is told from a related dependency at no request of its own.
ISSUE_DEPENDS_ON
What one issue depends on: ISSUE_RELATIONS without its inverseRelations, so a dependency read asks Linear for the one direction it answers. The description rides along because its metadata slot is where an edge to another source is recorded, so those edges cost no second request.
ISSUE_DETAIL
One issue and one page of its comments, in one request: ISSUE’s selection and ISSUE_COMMENTS’s connection on one issue(id:) field.
ISSUE_DETAIL_CACHED
ISSUE_DETAIL, sent in its place while the store’s cache stands in front of this source: its comments part is spelled from the comments page it already reads.
ISSUE_ID_CONFLICT_MESSAGE
PROJECT_ID_CONFLICT_MESSAGE for an issueCreate.
ISSUE_LABEL
Resolve an issue-label display name.
ISSUE_LINK_RELATIONS
ISSUE_RELATIONS with the issue’s own id, as a mirrored link’s removal reads the relations of its from: every alias’s answer is held to the issue it asked for, so an answer about another issue never names a relation to delete.
ISSUE_NOT_FOUND_MESSAGE
Linear’s missing-issue error, reconciled with the service by the live status journey.
ISSUE_NOT_FOUND_PRESENTABLE
Its user-facing alternative; the loopback fixture shares this contract.
ISSUE_PARENT_READ
One issue as a relation read reads it: the task, its parent and a first page of its children — and nothing else, because the selection is what moves a read’s complexity.
ISSUE_PARENT_UPDATE
Set or remove one issue’s parent — parentId: null removes it — reading the issue back.
ISSUE_PRIORITY_UPDATE
Set an issue’s priority on its own, and read back the issue as Linear now holds it.
ISSUE_RELATIONS
Fetch issue dependency relations.
ISSUE_RELATIONS_CACHED
ISSUE_RELATIONS, sent in its place while the store’s cache stands in front of this source: with TOKEN_PARTS, so a dependency read in either direction spells the token its edges are kept at.
ISSUE_RELATION_CREATE
Create a native issue dependency.
ISSUE_RELATION_DELETE
Delete a native issue dependency before replacing its full edge set.
ISSUE_RESOLVED
ISSUE and RESOLUTION in one request: what an update naming a status reads its issue with while this instance holds no resolution yet, so a fresh source’s settlement costs its read and its mutation and no lookup between them.
ISSUE_REWRITE
Rewrite an issue whole, and read back in the same request the first page of the relations it holds — the ones a whole write reconciles.
ISSUE_SELECTION_TAIL
What every issue selection a task is read from ends with, and so what with_assignees widens.
ISSUE_UPDATE
Update an issue and read back, in the same request, everything a task is read as: the selection is ISSUE’s, so what a write of the description alone answers is what a read of the issue a moment later answers, and nothing is read after it.
ISSUE_UPDATE_READ
ISSUE_UPDATE, by the name a status write and a targeted update send it under.
LABELS
List issue labels.
ORGANIZATION
The workspace’s own id, which this source’s designator digests.
PROJECT
Fetch one project.
PROJECTS
List projects.
PROJECTS_CACHED
PROJECTS, sent in its place while the store’s cache stands in front of this source: with PROJECT_RELATIONS_PAGE and PROJECT_INVERSE_RELATIONS_PAGE, so a listing pins each project to the token its edges are kept at. Sent at most super::PROJECTS_CACHED_PAGE rows a page.
PROJECT_CACHED
PROJECT, sent in its place while the store’s cache stands in front of this source.
PROJECT_CREATE
Create a project.
PROJECT_DELETE
Delete a project, for the same reason and on the same terms.
PROJECT_DEPENDED_ON_BY
What depends on one project, on the terms of ISSUE_DEPENDED_ON_BY.
PROJECT_DEPENDS_ON
What one project depends on, on the terms of ISSUE_DEPENDS_ON.
PROJECT_ID_CONFLICT_MESSAGE
Linear’s refusal of a projectCreate under an id a record already holds — a deleted one’s included — answered under HTTP 200, as the live project-create journey of onetaskgraph-linear-e2e observed it on 2026-11-03 and checks, for each of the three kinds, on every credentialed run. The loopback fixtures share this contract; nothing in this source reads it, because a keyed create tries its next id on any refusal.
PROJECT_INVERSE_RELATIONS_PAGE
The first page of a project’s inverse relations — what depends on it — a project’s lin1 token’s inverse part is spelled from, added beside PROJECT_RELATIONS_PAGE.
PROJECT_LABEL
Resolve a project-label display name.
PROJECT_NOT_FOUND_MESSAGE
The same error for a project a mutation addresses: Linear spells every missing entity Entity not found: <type>. Reconciled with the service by the live capability journey, which sends a project status write to a nonexistent project and requires None; the loopback fixture shares this contract.
PROJECT_NOT_FOUND_PRESENTABLE
Its user-facing alternative, on the terms of ISSUE_NOT_FOUND_PRESENTABLE.
PROJECT_RELATIONS
Fetch project dependency relations.
PROJECT_RELATIONS_CACHED
PROJECT_RELATIONS, sent in its place while the store’s cache stands in front of this source: with PROJECT_TOKEN_PARTS, so a dependency read in either direction spells the token its edges are kept at.
PROJECT_RELATIONS_PAGE
The first page of a project’s relations a project’s lin1 token’s relations part is spelled from: one of what PROJECTS_CACHED and PROJECT_CACHED add.
PROJECT_RELATION_CREATE
Create a native project dependency.
PROJECT_RELATION_DELETE
Delete a native project dependency before replacing its full edge set.
PROJECT_REWRITE
Rewrite a project whole, and read back the first page of its relations, on the terms of ISSUE_REWRITE.
PROJECT_STATUS_CREATE
Create a workspace project status, for sources fields --apply.
PROJECT_STATUS_UPDATE
Set one project’s status alone — its input carries statusId and nothing else — and read back the status it then holds.
PROJECT_TOKEN_PARTS
What PROJECT_RELATIONS_CACHED adds to PROJECT_RELATIONS: every part of a project’s lin1 token beside the relations page that document already reads.
PROJECT_UPDATE
Update a project — its long form alone, by a metadata or rendering write — reading back in the same request everything a project is read as, so a metadata write answers the project its own answer selected and a follow-up write reads nothing after the write before it.
RELATIONS_PAGE
The first page of an issue’s relations a lin1 token’s relations part is spelled from: one of what ISSUES_CACHED, ISSUE_CACHED and ISSUE_DETAIL_CACHED add to the documents they stand in for.
RESOLUTION
Everything a status write resolves, in one request: the configured team’s id, that team’s workflow states, and the workspace’s project statuses, each with its type.
TOKEN_PARTS
What ISSUE_RELATIONS_CACHED adds to ISSUE_RELATIONS: every part of a task’s lin1 token beside the two relations pages that document already reads, and nothing else.
USERS
Resolve Linear users by their display names — User.displayName, which Linear’s published schema documents as “Must be unique within the workspace” — for an assignee write: every name one call needs and this process has not resolved, in one request. in is Linear’s case-sensitive list operator, so a name matches only as the user spells it. Sent by a source with config.assignees: true alone.
VIEWER
Check the authenticated viewer.
WORKFLOW_STATE_CREATE
Create a workflow state on the configured team, for sources fields --apply.

Functions§

alias_variables
The variables of the atth item of an aliased document, as its single document takes them.
aliased
single — a document of one root field, as this source sends it alone — count times in one document, as composed composes it.
aliased_variables
The variables of an aliased document: each item’s own, each name suffixed _<i>.
composed
The documents singles — each of one root field, as this source sends it alone, all queries or all mutations — in one document: the ith aliased a<i>, each of its variables $<name> renamed $<name>_<i>.
decomposed
The documents of BATCHED document composes, in order, when it is one composed spells — what a server answering it answers each alias as.
id_conflict_message
PROJECT_ID_CONFLICT_MESSAGE or its counterpart for record’s create.
id_conflict_presentable
The userPresentableMessage beside id_conflict_message, for record’s create sent under id.
unaliased
The single document aliased batched document repeats and how many times, when it is one.
with_assignees
document as a source with config.assignees: true sends it: every issue selection a task is read from — each ends in ISSUE_SELECTION_TAIL, which no project, document or comment selection does — selecting ASSIGNEE_SELECTION too. A document with no such selection comes back as it was, and a source that has not opted in sends every document unchanged.
without_assignees
The document with_assignees widened document from, when it widened one — what a server answering the plain document answers it as.