Alokai

Options

Options for the middlewareModule.

type Options<Endpoints extends EndpointsConstraint = EndpointsConstraint> = {
  apiUrl: string;
  cdnCacheBustingId?: string;
  defaultRequestConfig?: RequestConfig;
  errorHandler?: ErrorHandler;
  httpClient?: HTTPClient;
  logger?: boolean | Logger;
  methodsRequestConfig?: Partial<Record<keyof Endpoints, RequestConfig>>;
  ssrApiUrl: string;
  subscribe?: boolean;
};

Referenced Types

On this page