We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a84a6e commit e7c9702Copy full SHA for e7c9702
src/interfaces.ts
@@ -14,7 +14,7 @@ export interface IAPIOptions {
14
};
15
16
export interface IAPIService {
17
- path: string;
+ path?: string;
18
expiration?: number;
19
method?: 'GET' | 'HEAD' | 'POST' | 'PUT' | 'DELETE' | 'CONNECT' | 'OPTIONS' | 'TRACE';
20
domain?: string;
@@ -32,8 +32,8 @@ export interface IAPIServices {
32
33
34
export interface IFetchOptions extends IAPIService {
35
- pathParameters?: { [key: string]: string };
36
- queryParameters?: { [key: string]: string };
+ pathParameters?: { [key: string]: any };
+ queryParameters?: { [key: string]: any };
37
headers?: { [key: string]: string };
38
fetchHeaders?: boolean;
39
middlewares?: APIMiddleware[];
0 commit comments