UNPKG

sdg

Version:

pomelo ts

39 lines (38 loc) 1.08 kB
import { IPath } from '..'; export declare const getRemotePaths: (baseDir: string, isFrontend: boolean, serverType: string) => IPath[]; /** * 获取系统rpc路径 * @param role */ export declare const getSysRemotePath: (role: 'frontend' | 'backend') => string | null; /** * rpc路径 * @param namespace * @param serverType * @param path */ export declare const remotePathRecord: (namespace: string, serverType: string, path: string) => IPath; /** * 业务rpc路径 * @param appBase * @param serverType */ export declare const getUserRemotePath: (appBase: string, serverType: string) => string | null; /** * 获取handler路径 * @param appBase * @param serverType */ export declare const getHandlerPath: (appBase: string, serverType: string) => string; /** * 加载定机器路径 * @param appBase * @param serverType */ export declare const getCronPath: (appBase: string, serverType: string) => string; /** * 获取handler路径 * @param appBase * @param serverType */ export declare const getFilterPath: (appBase: string, serverType: string) => string;