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§

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_UPDATE
Update a document.
ISSUE
Fetch one issue.
ISSUES
List issues.
ISSUE_CREATE
Create an issue.
ISSUE_DELETE
Delete an issue, so a copy that could not finish can take back what it created.
ISSUE_LABEL
Resolve an issue-label display name.
ISSUE_RELATIONS
Fetch issue dependency relations.
ISSUE_RELATION_CREATE
Create a native issue dependency.
ISSUE_RELATION_DELETE
Delete a native issue dependency before replacing its full edge set.
ISSUE_STATE
Resolve an issue workflow-state display name.
ISSUE_UPDATE
Update an issue.
LABELS
List issue labels.
PROJECT
Fetch one project.
PROJECTS
List projects.
PROJECT_CREATE
Create a project.
PROJECT_DELETE
Delete a project, for the same reason and on the same terms.
PROJECT_LABEL
Resolve a project-label display name.
PROJECT_RELATIONS
Fetch project dependency relations.
PROJECT_RELATION_CREATE
Create a native project dependency.
PROJECT_RELATION_DELETE
Delete a native project dependency before replacing its full edge set.
PROJECT_STATUS
Resolve a project status display name.
PROJECT_UPDATE
Update a project.
TEAM
Resolve the configured team key to Linear’s backend id.
VIEWER
Check the authenticated viewer.