UNPKG

elmer-ui-core

Version:

web app framework

8 lines (7 loc) 946 B
import { IServiceConfig, IServiceEndPoint } from "../interface/IElmerService"; import { TypeServiceConfig } from "./TypeGlobalConfig"; export declare const getServiceConfig: <ServiceConfig, ServiceConfigOptions>() => TypeServiceConfig<ServiceConfig, ServiceConfigOptions>; export declare const setServiceConfig: <T, IServiceConfigEndPoints, IServiceConfigOptions>(config: { [P in keyof T]: IServiceConfig<IServiceConfigEndPoints, IServiceConfigOptions>; }) => void; export declare const defineServiceNamespace: <IServiceEndPoints, IServiceConfigOptions>(nameSpace: string, configData: IServiceConfig<IServiceEndPoints, IServiceConfigOptions>) => void; export declare const setServiceRequstConfig: <IServiceEndPointOptions>(namespaceKey: string, key: string, configData: IServiceEndPoint<IServiceEndPointOptions>) => void; export declare const setServiceNamespaceEndPoints: <T, IServiceConfigOptions>(namespaceKey: string, configData: T) => void;