Module graphql/mutation_addAssignee/addAssigneeGenerated

Source

Type Aliases§

Source§

type AddAssigneeResult = Data

Type alias for the successful result data from the add assignee mutation.

remarks

This represents the data payload when the mutation executes successfully.

Variables§

Source§

const addAssigneeMutation: string...

GraphQL mutation for adding assignees to a pull request.

remarks

This mutation adds specified assignees to a pull request using GitHub's GraphQL API. It requires the pull request ID and assignee ID as parameters.

example
mutation addAssignee($pullRequestId: ID!, $assignee: ID!) {
addAssigneesToAssignable(input: {
assignableId: $pullRequestId,
assigneeIds: [$assignee]
}) {
assignable {
... on PullRequest {
id
}
}
}
}

Classes§

Convert

Utility class for converting between JSON strings and typed objects.

Interfaces§

AddAssigneeRawResult

Raw result interface for the add assignee mutation response.

AddAssigneesToAssignablePayload

Payload interface for the addAssigneesToAssignable mutation result.

Assignable

Assignable entity interface representing a pull request.

Data

Data payload interface for the add assignee mutation.

Error

Error interface for GraphQL mutation errors.