Interface ApiConfig<SecurityDataType>

Type Parameters

  • SecurityDataType = unknown

Hierarchy

  • ApiConfig

Properties

baseApiParams?: Omit<RequestParams, "signal" | "baseUrl" | "cancelToken">
baseUrl?: string
customFetch?: ((input: RequestInfo | URL, init?: RequestInit) => Promise<Response>)

Type declaration

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

      • input: RequestInfo | URL
      • Optional init: RequestInit

      Returns Promise<Response>

securityWorker?: ((securityData: null | SecurityDataType) => void | RequestParams | Promise<void | RequestParams>)

Type declaration

Generated using TypeDoc