@shopify/cli-kit
    Preparing search index...

    Interface SetupGraphiQLServerOptions

    interface SetupGraphiQLServerOptions {
        appContext?: GraphiQLAppContext;
        key?: string;
        port: number;
        protectMutations?: boolean;
        stdout: Writable;
        storeFqdn: string;
        tokenProvider: TokenProvider;
    }
    Index

    Properties

    appContext?: GraphiQLAppContext
    key?: string

    Authentication key required as a ?key= query string on every request. When omitted:

    • if appContext is provided, derived deterministically from apiSecret + storeFqdn so browser tabs survive dev server restarts.
    • otherwise, generated randomly per process.
    port: number
    protectMutations?: boolean

    When true, the proxy rejects mutation operations with HTTP 400 before forwarding them to the Admin API. Use this to mirror non-interactive safety guarantees in the interactive UI.

    stdout: Writable
    storeFqdn: string
    tokenProvider: TokenProvider