@x-9lab/xlab 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**内置组件 */
|
|
2
|
+
interface InternalComponents {
|
|
3
|
+
/**资产 */
|
|
4
|
+
assets: typeof import("./assets");
|
|
5
|
+
/**缓存 */
|
|
6
|
+
cache: typeof import("./cache");
|
|
7
|
+
/**cluster */
|
|
8
|
+
cluster: typeof import("./cluster");
|
|
9
|
+
/**Http header 相关 */
|
|
10
|
+
header: typeof import("./header");
|
|
11
|
+
/**Html 内容处理器 */
|
|
12
|
+
"html-processor": typeof import("./html-processor");
|
|
13
|
+
/**JS 内容处理器 */
|
|
14
|
+
"js-processor": typeof import("./js-processor");
|
|
15
|
+
/**数据注入 */
|
|
16
|
+
injection: typeof import("./injection");
|
|
17
|
+
/**MD5 */
|
|
18
|
+
md5: typeof import("./md5");
|
|
19
|
+
/**MIME */
|
|
20
|
+
mime: typeof import("./mime");
|
|
21
|
+
/**客户端判断 */
|
|
22
|
+
platform: typeof import("./platform");
|
|
23
|
+
/**请求参数处理 */
|
|
24
|
+
querystring: typeof import("./querystring");
|
|
25
|
+
/**各种重定向方法 */
|
|
26
|
+
redirect: typeof import("./redirect");
|
|
27
|
+
/**简单的 uuid */
|
|
28
|
+
uuid: typeof import("./uuid");
|
|
29
|
+
/**版本比对 */
|
|
30
|
+
version: typeof import("./version");
|
|
31
|
+
/**定时任务 */
|
|
32
|
+
cron: typeof import("./cron");
|
|
33
|
+
/**日志 */
|
|
34
|
+
log: typeof import("./log");
|
|
35
|
+
/**业务返回码 */
|
|
36
|
+
"return-code": typeof import("./return-code");
|
|
37
|
+
/**通用工具函数集 */
|
|
38
|
+
common: typeof import("./common");
|
|
39
|
+
/**内部请求模块 */
|
|
40
|
+
request: typeof import("./request");
|
|
41
|
+
}
|
|
42
|
+
export type { InternalComponents };
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@x-9lab/xlab",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "9lab 服务端模块",
|
|
5
|
-
"versionDesc": "
|
|
5
|
+
"versionDesc": "修复 type 异常",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"dev": "swc src -D ./src/bin --config-file .swcrc -d dist -w",
|
|
8
8
|
"compile": "swc src -D ./src/bin --config-file .swcrc -d dist",
|