GraphQLRequest
Type Alias: GraphQLRequest<TVariables>
Section titled “Type Alias: GraphQLRequest<TVariables>”GraphQLRequest<
TVariables> =object
Defined in: packages/fetch-kit/src/types.ts:230
A GraphQL request body, as transported over HTTP.
Type Parameters
Section titled “Type Parameters”TVariables
Section titled “TVariables”TVariables = Record<string, unknown>
Shape of the variables map; defaults to a loose record.
Properties
Section titled “Properties”operationName?
Section titled “operationName?”
optionaloperationName?:string
Defined in: packages/fetch-kit/src/types.ts:233
query:
string
Defined in: packages/fetch-kit/src/types.ts:231
variables?
Section titled “variables?”
optionalvariables?:TVariables
Defined in: packages/fetch-kit/src/types.ts:232