GraphiQL API Documentation
    Preparing search index...

    Module @graphiql/toolkit

    Changelog | API Docs | NPM | Discord

    @graphiql/toolkit

    This is a general purpose library for building GraphQL IDEs. It's being used by other packages like graphiql and @graphiql/react and also provides utilities that are useful when working with these packages.

    • createFetcher : a utility for creating a fetcher prop implementation for HTTP GET, POST including multipart, websockets fetcher
    • more to come!

    Classes

    HistoryStore
    QueryStore
    StorageAPI

    Interfaces

    CreateFetcherOptions

    Type Aliases

    CreateLocalStorageOptions
    ExecutionResultPayload
    Fetcher
    FetcherOpts
    FetcherParams
    FetcherResult
    FetcherResultPayload
    FetcherReturnType
    GetDefaultFieldNamesFn
    MaybePromise
    Observable
    QueryStoreItem
    Storage
    SyncExecutionResult
    SyncFetcherResult
    Unsubscribable

    Functions

    createGraphiQLFetcher
    createLocalStorage
    fetcherReturnToPromise
    fillLeafs
    formatError
    formatResult
    getSelectedOperationName
    isAsyncIterable
    isObservable
    isPromise
    mergeAst