@gradientedge/commercetools-utils
    Preparing search index...

    Interface GraphQLRequest

    The query, operation name, and variables that are sent to the GraphQL API.

    interface GraphQLRequest {
        operationName?: string;
        query: string;
        variables?: GraphQLVariablesMap;
    }
    Index

    Properties

    operationName?: string

    Name of the operation, if you defined several operations in query.

    query: string

    String representation of the Source Text of the Document that is specified in the Language section of the GraphQL specification.

    JSON object that contains key-value pairs in which the keys are variable names and the values are variable values.