Module graphql/mutation_updateItemText/updateItemTextGenerated

Source

Type Aliases§

Source§

type UpdateItemTextResult = Data

Type alias for the successful result data from the update item text mutation.

remarks

This represents the data payload when the mutation executes successfully.

Variables§

Source§

const updateItemTextMutation: string...

GraphQL mutation for updating a text field value of a project item.

remarks

This mutation updates a text field on an item in a GitHub Project V2. It requires the project ID, item ID, field ID, and the new text value.

example
mutation updateItemField($projectId: ID!, $itemId: ID!, $fieldId: ID!, $text: String) {
updateProjectV2ItemFieldValue(
input: {
projectId: $projectId
itemId: $itemId
fieldId: $fieldId
value: { text: $text }
}
) {
projectV2Item { id }
}
}

Classes§

Convert

Utility class for converting between JSON strings and typed objects.

Interfaces§

Data

Data payload interface for the update item text mutation.

Error

Error interface for GraphQL mutation errors.

ProjectV2Item

Project item interface representing an item in a GitHub Project V2.

UpdateItemTextRawResult

Raw result interface for the update item text mutation response.

UpdateProjectV2ItemFieldValuePayload

Payload interface for the updateProjectV2ItemFieldValue mutation result.