Mock Config logoMock config
Mocking requestsReferences

GraphQL

GraphqlConfig

Prop

Type

GraphQLRequestConfig

GraphQLRouteConfig

Operation helpers accept several config forms and normalize them into GraphQLRouteConfig.data.

Prop

Type

GraphQLDataResponse

Prop

Type

GraphQLSettings

Prop

Type

GraphQLOperationType

Operation types supported by GraphQL configs

type GraphQLOperationType = 'mutation' | 'query';

GraphQLIdentifier

Operation identifier

type GraphQLIdentifier = string | RegExp;

GraphQLEntitiesByEntityName

{
  cookies?: GraphQLEntity<'cookies'>;
  headers?: GraphQLEntity<'headers'>;
  queries?: GraphQLEntity<'queries'>;
  variables?: GraphQLEntity<'variables'>;
}

On this page