Config to make a GraphQL request using makeGraphQLRequest

Hierarchy

  • MakeGraphQLRequestOptions

Properties

baseUrl: string

Base URL that should be requested. /graphql will be attached to it to make a request.

operation: DocumentNode

Operation to request. Use graphql-tag to wrap the operation string.

token: string

Bearer authorization token.

variables?: Record<string, unknown>

Optional GraphQL request variables.

Generated using TypeDoc