UNPKG

@commercetools-frontend/application-shell-connectors

Version:
17 lines (16 loc) 632 B
import type { TGraphQLTargets } from '@commercetools-frontend/constants'; import type { THeaders, TForwardToConfig } from "./http-client.js"; export type TApolloContext = { uri?: string; headers?: THeaders; forwardToConfig?: TForwardToConfig; skipGraphQlTargetCheck?: boolean; skipTokenRetry?: boolean; target?: TGraphQLTargets; projectKey?: string; teamId?: string; featureFlag?: string; enableSentryErrorReporting?: boolean; }; declare const createApolloContextForProxyForwardTo: (proxyForwardTocontext: TForwardToConfig) => TApolloContext; export { createApolloContextForProxyForwardTo };