@minimaltech/ra-infra
Version:
Minimal Technology ReactJS Infrastructure
19 lines (18 loc) • 497 B
TypeScript
import { NetworkHelper } from '../../helpers';
export declare abstract class BaseNetworkRequestService {
protected baseUrl: string;
protected networkService: NetworkHelper;
constructor(opts: {
name: string;
scope: string;
baseUrl?: string;
});
getRequestPath(opts: {
paths: Array<string>;
}): string;
getRequestUrl(opts: {
baseUrl?: string;
paths: Array<string>;
}): string;
getNetworkService(): NetworkHelper;
}