Member Junction
    Preparing search index...
    interface FetchRecordingTransportConfig {
        BaseURL: string;
        Fetch?: {
            (input: URL | RequestInfo, init?: RequestInit): Promise<Response>;
            (input: string | URL | Request, init?: RequestInit): Promise<Response>;
        };
        Headers: () => Record<string, string>;
    }
    Index

    Properties

    BaseURL: string

    MJAPI base URL without a trailing slash (see RecordingBaseURLFromGraphQLURL).

    Fetch?: {
        (input: URL | RequestInfo, init?: RequestInit): Promise<Response>;
        (input: string | URL | Request, init?: RequestInit): Promise<Response>;
    }

    Defaults to globalThis.fetch, resolved at call time so tests can inject one.

    Type Declaration

      • (input: URL | RequestInfo, init?: RequestInit): Promise<Response>
      • Parameters

        • input: URL | RequestInfo
        • Optionalinit: RequestInit

        Returns Promise<Response>

      • (input: string | URL | Request, init?: RequestInit): Promise<Response>
      • Parameters

        • input: string | URL | Request
        • Optionalinit: RequestInit

        Returns Promise<Response>

    Headers: () => Record<string, string>

    Called per request so a refreshed token is picked up.