node-karin
Version:
Lightweight, efficient, concise, and stable robot framework.
135 lines (133 loc) • 5.57 kB
TypeScript
import EventEmitter from 'events';
/** 以node-karin为根目录的绝对路径 */
declare const karinPathRoot: string;
/** node-karin主入口文件路径 */
declare const karinPathMain: string;
/** 插件根目录 */
declare const karinPathPlugins: string;
/** 是否处于node_modules中 */
declare const isPackaged: Readonly<boolean>;
/** 默认config目录 `npm/default/config` */
declare const karinPathDefaultConfig: string;
/** 默认view目录 `npm/default/view` */
declare const karinPathDefaultView: string;
/** 注释目录 `npm/default/comment` */
declare const karinPathComment: string;
/** 配置根目录 `@karinjs` */
declare const karinPathBase: string;
/** config目录 `@karinjs/config` */
declare const karinPathConfig: string;
/** data目录 `@karinjs/data` */
declare const karinPathData: string;
/** 临时文件存储 `@karinjs/temp` */
declare const karinPathTemp: string;
/** resource目录 `@karinjs/resource` */
declare const karinPathResource: string;
/** db根目录 `@karinjs/data/db` */
declare const karinPathDb: string;
/** 任务数据库目录 `@karinjs/data/db/task` */
declare const karinPathTaskDb: string;
/** 伪redis sqlite3目录 `@karinjs/data/db/redis-sqlite3` */
declare const karinPathRedisSqlite3: string;
/** kv数据库目录 `@karinjs/data/db/kv` */
declare const karinPathKv: string;
/** logs目录 `@karinjs/logs` */
declare const karinPathLogs: string;
/** html目录 `@karinjs/temp/html` */
declare const karinPathHtml: string;
/** pm2配置路径 `@karinjs/config/pm2.yaml` */
declare const karinPathPm2Config: string;
/** console适配器目录 `@karinjs/temp/console` */
declare const karinPathConsole: string;
/** 沙盒数据目录 `@karinjs/data/sandbox` */
declare const karinPathSandboxData: string;
/** 沙盒临时数据目录 `@karinjs/temp/sandbox` */
declare const karinPathSandboxTemp: string;
/** @deprecated 请使用 karinPathRoot 代替 */
declare const karinDir: string;
/** @deprecated 请使用 karinPathMain 代替 */
declare const karinMain: string;
/** @deprecated 请使用 karinPathPlugins 代替 */
declare const pluginDir: string;
/** @deprecated 请使用 isPackaged 代替 */
declare const isPkg: Readonly<boolean>;
/** @deprecated 请使用 karinPathDefaultConfig 代替 */
declare const defaultConfigPath: string;
/** @deprecated 请使用 karinPathDefaultView 代替 */
declare const defaultViewPath: string;
/** @deprecated 请使用 karinPathComment 代替 */
declare const commentPath: string;
/** @deprecated 请使用 karinPathBase 代替 */
declare const basePath: string;
/** @deprecated 请使用 karinPathConfig 代替 */
declare const configPath: string;
/** @deprecated 请使用 karinPathData 代替 */
declare const dataPath: string;
/** @deprecated 请使用 karinPathTemp 代替 */
declare const tempPath: string;
/** @deprecated 请使用 karinPathResource 代替 */
declare const resourcePath: string;
/** @deprecated 请使用 karinPathDb 代替 */
declare const dbPath: string;
/** @deprecated 请使用 karinPathRedisSqlite3 代替 */
declare const redisSqlite3Path: string;
/** @deprecated 请使用 karinPathKv 代替 */
declare const kvPath: string;
/** @deprecated 请使用 karinPathLogs 代替 */
declare const logsPath: string;
/** @deprecated 请使用 karinPathHtml 代替 */
declare const htmlPath: string;
/** @deprecated 请使用 karinPathPm2Config 代替 */
declare const pm2Path: string;
/** @deprecated 请使用 karinPathConsole 代替 */
declare const consolePath: string;
/** @deprecated 请使用 karinPathSandboxData 代替 */
declare const sandboxDataPath: string;
/** @deprecated 请使用 karinPathSandboxTemp 代替 */
declare const sandboxTempPath: string;
declare const _default: {
karinPathRoot: string;
karinPathMain: string;
karinPathPlugins: string;
isPackaged: Readonly<boolean>;
karinPathDefaultConfig: string;
karinPathDefaultView: string;
karinPathComment: string;
karinPathBase: string;
karinPathConfig: string;
karinPathData: string;
karinPathTemp: string;
karinPathResource: string;
karinPathDb: string;
karinPathRedisSqlite3: string;
karinPathKv: string;
karinPathLogs: string;
karinPathHtml: string;
karinPathPm2Config: string;
karinPathConsole: string;
karinPathSandboxData: string;
karinPathSandboxTemp: string;
karinPathTaskDb: string;
karinDir: string;
karinMain: string;
pluginDir: string;
isPkg: Readonly<boolean>;
defaultConfigPath: string;
defaultViewPath: string;
commentPath: string;
basePath: string;
configPath: string;
dataPath: string;
tempPath: string;
resourcePath: string;
dbPath: string;
redisSqlite3Path: string;
kvPath: string;
logsPath: string;
htmlPath: string;
pm2Path: string;
consolePath: string;
sandboxDataPath: string;
sandboxTempPath: string;
};
export { basePath, commentPath, configPath, consolePath, dataPath, dbPath, _default as default, defaultConfigPath, defaultViewPath, htmlPath, isPackaged, isPkg, karinDir, karinMain, karinPathBase, karinPathComment, karinPathConfig, karinPathConsole, karinPathData, karinPathDb, karinPathDefaultConfig, karinPathDefaultView, karinPathHtml, karinPathKv, karinPathLogs, karinPathMain, karinPathPlugins, karinPathPm2Config, karinPathRedisSqlite3, karinPathResource, karinPathRoot, karinPathSandboxData, karinPathSandboxTemp, karinPathTaskDb, karinPathTemp, kvPath, logsPath, pluginDir, pm2Path, redisSqlite3Path, resourcePath, sandboxDataPath, sandboxTempPath, tempPath };