GraphQLRequest interface
GraphQL request payload.
Properties
| operation |
Optional operation name when the document defines multiple operations. |
| query | The GraphQL query or mutation document. |
| variables | Optional variables referenced by the query document. |
Property Details
operationName
Optional operation name when the document defines multiple operations.
operationName?: string
Property Value
string
query
The GraphQL query or mutation document.
query: string
Property Value
string
variables
Optional variables referenced by the query document.
variables?: Record<string, any>
Property Value
Record<string, any>