Interface SuiGraphQLClientOptions<Queries>

interface SuiGraphQLClientOptions<Queries> {
    fetch?: ((input, init?) => Promise<Response>);
    headers?: Record<string, string>;
    queries?: Queries;
    url: string;
}

Type Parameters

Properties

fetch?: ((input, init?) => Promise<Response>)

Type declaration

    • (input, init?): Promise<Response>
    • Parameters

      • input: RequestInfo | URL
      • Optional init: RequestInit

      Returns Promise<Response>

headers?: Record<string, string>
queries?: Queries
url: string