AdapterGenericType
Import
import { AdapterGenericType } from "@hyper-fetch/core"
Source
Package
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
| Name | Type | Description |
|---|---|---|
| adapterOptions | | |
| defaultQueryParams | | |
| endpointMapperType | | |
| endpointType | | |
| extra | | |
| headerMapperType | | |
| methodType | | |
| payloadMapperType | | |
| queryParams | | |
| queryParamsMapperType | | |
| statusType | |