@mvxiv/http-service
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -1,1 +0,27 @@ | ||
// TODO :) | ||
import { AxiosInstance } from 'axios' | ||
declare module "BaseService" { | ||
export class BaseService { | ||
constructor(httpService: any); | ||
setHeader(key: any, value: any): void; | ||
get(url: any, config: any): void; | ||
delete(url: any, config: any): void; | ||
head(url: any, config: any): void; | ||
options(url: any, config: any): void; | ||
post(url: any, payload: any, config: any): void; | ||
put(url: any, payload: any, config: any): void; | ||
patch(url: any, payload: any, cofig: any): void; | ||
request(config: any): void; | ||
#private; | ||
} | ||
} | ||
declare module "http-service" { | ||
export function useHttpService(config: object, interceptors?: object | undefined): { | ||
httpService: AxiosInstance; | ||
defineService: Function; | ||
setHeader: Function; | ||
}; | ||
} | ||
declare module "ioc" { | ||
export function autobindDecorator(service: any): any; | ||
export function createApiServiceContainer(serviceList: Object, httpConfig: Object, httpInterceptors?: Object | undefined): any; | ||
} |
{ | ||
"name": "@mvxiv/http-service", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Http service for frontend build upon axios", | ||
@@ -5,0 +5,0 @@ "repository": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11508
169