Interface LibraryAPIOptions
interface LibraryAPIOptions { GraphQL?: { withCredentials?: boolean; headers?(options?): Promise<Record<string, unknown> | Headers>; }; REST?: { headers?(options): Promise<Headers>; }; } Properties
Optional
GraphQL
GraphQL?: { withCredentials?: boolean; headers?(options?): Promise<Record<string, unknown> | Headers>; } Type declaration
Optional
withCredentials?: boolean
headers?:function
Optional
REST
REST?: { headers?(options): Promise<Headers>; } Type declaration
headers?:function
- headers(options): Promise<Headers>
Parameters
options: {
apiName: string;
}
Returns Promise<Headers>