diff --git a/src/RequestParameters.ts b/src/RequestParameters.ts index 55bddde5b..531c622ac 100644 --- a/src/RequestParameters.ts +++ b/src/RequestParameters.ts @@ -31,6 +31,16 @@ export type RequestParameters = { */ previews?: string[]; }; + /** + * The name of the operation to execute. + * Required only if multiple operations are present in the query document. + */ + operationName?: string; + /** + * The GraphQL query string to be sent in the request. + * This is required and must contain a valid GraphQL document. + */ + query?: string; /** * Pass custom meta information for the request. The `request` object will be returned as is. */