@digital-gov-mg/nui-federation-sdk
Version:
This Frontend TypeScript SDK connects to the NUI Federation API for getting or creating, revoke, generating batch for NUI from the API
10 lines (9 loc) • 379 B
TypeScript
import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
export interface HTTPRequestParameters {
url: string;
options?: AxiosRequestConfig;
}
export interface HTTPModule {
request<T>(params: HTTPRequestParameters): Promise<T>;
}
export { AxiosInstance as HTTPInstance, AxiosRequestConfig as HTTPRequestConfig, AxiosResponse as HTTPResponse, };