Axinom Mosaic Libraries
    Preparing search index...

    Interface MakeGraphQLRequestOptions

    Config to make a GraphQL request using makeGraphQLRequest

    interface MakeGraphQLRequestOptions {
        baseUrl: string;
        operation: DocumentNode;
        token: string;
        variables?: Record<string, unknown>;
    }
    Index

    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.