ms-types 0.0.61 → 0.0.62
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.
- package/package.json +1 -1
- package/types/global.d.ts +17 -0
package/package.json
CHANGED
package/types/global.d.ts
CHANGED
|
@@ -2,30 +2,37 @@
|
|
|
2
2
|
* 是否是调试模式
|
|
3
3
|
*/
|
|
4
4
|
declare const __debug__: boolean;
|
|
5
|
+
declare const $是否调试: boolean;
|
|
5
6
|
/**
|
|
6
7
|
* 是否应该退出应用
|
|
7
8
|
*/
|
|
8
9
|
declare const __shouldExit__: boolean;
|
|
10
|
+
declare const $是否退出: boolean;
|
|
9
11
|
/**
|
|
10
12
|
* 应用版本
|
|
11
13
|
*/
|
|
12
14
|
declare const __appVersion__: string;
|
|
15
|
+
declare const $APP应用版本: string;
|
|
13
16
|
/**
|
|
14
17
|
* 应用构建号
|
|
15
18
|
*/
|
|
16
19
|
declare const __appBuildNumber__: string;
|
|
20
|
+
declare const $APP应用构建号: string;
|
|
17
21
|
/**
|
|
18
22
|
* 应用名称
|
|
19
23
|
*/
|
|
20
24
|
declare const __appName__: string;
|
|
25
|
+
declare const $APP应用名称: string;
|
|
21
26
|
/**
|
|
22
27
|
* 应用 bundleId
|
|
23
28
|
*/
|
|
24
29
|
declare const __bundleId__: string;
|
|
30
|
+
declare const $APP应用包名: string;
|
|
25
31
|
/**
|
|
26
32
|
* 当前线程名称
|
|
27
33
|
*/
|
|
28
34
|
declare const __threadName__: string;
|
|
35
|
+
declare const $线程名称: string;
|
|
29
36
|
/**
|
|
30
37
|
* 应用包信息
|
|
31
38
|
*/
|
|
@@ -57,6 +64,16 @@ declare const __package__: {
|
|
|
57
64
|
};
|
|
58
65
|
[key: string]: any;
|
|
59
66
|
};
|
|
67
|
+
declare const $脚本配置: {
|
|
68
|
+
name: string;
|
|
69
|
+
appVersion: string;
|
|
70
|
+
appId: string;
|
|
71
|
+
update: {
|
|
72
|
+
url: string;
|
|
73
|
+
timeout: number;
|
|
74
|
+
};
|
|
75
|
+
[key: string]: any;
|
|
76
|
+
};
|
|
60
77
|
|
|
61
78
|
/**
|
|
62
79
|
* 设置停止回调(仅主线程调用)
|