interface LibraryAPIOptions {
    GraphQL?: {
        withCredentials?: boolean;
        headers?(options?): Promise<Record<string, unknown> | Headers>;
    };
    REST?: {
        headers?(options): Promise<Headers>;
    };
}

Properties

Properties

GraphQL?: {
    withCredentials?: boolean;
    headers?(options?): Promise<Record<string, unknown> | Headers>;
}

Type declaration

  • Optional withCredentials?: boolean
  • headers?:function
REST?: {
    headers?(options): Promise<Headers>;
}

Type declaration

  • headers?:function
    • Parameters

      • options: {
            apiName: string;
        }
        • apiName: string

      Returns Promise<Headers>