Skip to main content

Module graphql

Module graphql 

Source
Expand description

Exact GraphQL query documents issued by this plugin.

Keeping the production documents here lets the pinned-schema test validate the same bytes that are sent to GitHub, rather than a test-only copy which could drift independently. No document in this module writes the board itself, and none of them names updateProjectV2Field.

Constants§

ADD_BLOCKED_BY
Adds GitHub’s native issue blocked-by relationship.
ADD_SUB_ISSUE
Files one issue under another as a sub-issue, which is what project membership is.
ADD_TO_BOARD
Puts an existing issue on the configured board.
BOARD
Reads the board’s fields and one page of its items.
CREATE_ISSUE
Creates one issue in the configured repository.
DELETE_ISSUE
Deletes one issue, which takes its board item with it.
DOCUMENTS
Every document above, with what this source is doing when it sends one.
ISSUE
One issue by its own node id, which is what a qualified id names here.
ISSUE_BOARD_ITEMS
One issue’s board memberships alone, walked past the page a read of it carried.
ISSUE_DEPENDENCIES
Reads both dependency directions for one issue, with each far end’s own kind.
REMOVE_BLOCKED_BY
Removes one native issue blocked-by relationship.
REMOVE_SUB_ISSUE
Takes one issue back out of its parent.
REPOSITORY
Resolves the configured repository’s node id, which creating an issue requires.
SEARCH_ISSUES
Every issue of one board, found by a search scoped to that board.
SUB_ISSUES
One project’s tasks: the sub-issues of the issue that project is.
UPDATE_DRAFT
Updates an existing draft’s user-visible fields.
UPDATE_FIELD
Updates a text or single-select value on one project item.
UPDATE_ISSUE
Updates an issue’s visible fields and its open or closed state in one call.