UNPKG

@midware/mauth

Version:

A simple auth middleware for Node.js

7 lines 584 B
import { AxiosRequestConfig } from 'axios'; declare const genPath: (name: string, value?: (number | string) | (number | string)[]) => string | undefined; declare const getPath: (oldPath?: string) => string; declare const addPath: (oldPath?: string, addPath?: string) => string | undefined; declare const request: (method: string, host: string, domain: string, service: string, query?: unknown, input?: unknown, endpoint?: string, config?: AxiosRequestConfig, out?: unknown) => Promise<unknown>; export { request, addPath, genPath, getPath }; //# sourceMappingURL=smartRequest.d.ts.map