Skip to main content
Version: v7.0.0

AdapterGenericType


Import
import { AdapterGenericType } from "@hyper-fetch/core"

Preview

type AdapterGenericType<AdapterOptions,MethodType,StatusType,Extra,QueryParams,DefaultQueryParams,EndpointType,EndpointMapperType,QueryParamsMapperType,HeaderMapperType,PayloadMapperType> = {
adapterOptions: AdapterOptions;
defaultQueryParams?: DefaultQueryParams;
endpointMapperType?: EndpointMapperType;
endpointType: EndpointType;
extra: Extra;
headerMapperType?: HeaderMapperType;
methodType: MethodType;
payloadMapperType?: PayloadMapperType;
queryParams?: QueryParams;
queryParamsMapperType?: QueryParamsMapperType;
statusType: StatusType;
}

Structure

AdapterGenericType
NameTypeDescription
adapterOptions
AdapterOptions
defaultQueryParams
DefaultQueryParams
endpointMapperType
EndpointMapperType
endpointType
EndpointType
extra
Extra
headerMapperType
HeaderMapperType
methodType
MethodType
payloadMapperType
PayloadMapperType
queryParams
QueryParams
queryParamsMapperType
QueryParamsMapperType
statusType
StatusType
On this page