Module graphql/mutation_updateItemNumber/updateItemNumberGenerated

Source

Type Aliases§

Source§

type UpdateItemNumberResult = Data

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

remarks

This represents the data payload when the mutation executes successfully.

Variables§

Source§

const updateItemNumberMutation: string...

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

remarks

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

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

Classes§

Convert

Utility class for converting between JSON strings and typed objects.

Interfaces§

Data

Data payload interface for the update item number mutation.

Error

Error interface for GraphQL mutation errors.

ProjectV2Item

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

UpdateItemNumberRawResult

Raw result interface for the update item number mutation response.

UpdateProjectV2ItemFieldValuePayload

Payload interface for the updateProjectV2ItemFieldValue mutation result.