deeke-script-app 1.6.8 → 1.7.0
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/@deekeScript/@type/Class/Global.d.ts +1 -1
- package/@deekeScript/@type/Class/Rect.d.ts +16 -16
- package/@deekeScript/@type/Class/UiSelector.d.ts +201 -201
- package/@deekeScript/@type/Class/WebSocket.d.ts +49 -49
- package/@deekeScript/@type/interface/Access.d.ts +104 -71
- package/@deekeScript/@type/interface/App.d.ts +101 -101
- package/@deekeScript/@type/interface/DeekeScriptJson.d.ts +13 -13
- package/@deekeScript/@type/interface/Device.d.ts +88 -88
- package/@deekeScript/@type/interface/Encrypt.d.ts +58 -58
- package/@deekeScript/@type/interface/Engines.d.ts +39 -39
- package/@deekeScript/@type/interface/Files.d.ts +283 -283
- package/@deekeScript/@type/interface/FloatDialogs.d.ts +41 -41
- package/@deekeScript/@type/interface/ForegroundServiceBridge.d.ts +31 -31
- package/@deekeScript/@type/interface/Hid.d.ts +342 -342
- package/@deekeScript/@type/interface/Http.d.ts +43 -41
- package/@deekeScript/@type/interface/Images.d.ts +71 -71
- package/@deekeScript/@type/interface/Java.d.ts +7 -7
- package/@deekeScript/@type/interface/KeyBoards.d.ts +27 -27
- package/@deekeScript/@type/interface/Log.d.ts +16 -16
- package/@deekeScript/@type/interface/MediaStore.d.ts +146 -0
- package/@deekeScript/@type/interface/NotificationBridge.d.ts +28 -28
- package/@deekeScript/@type/interface/{SocketIoClient.d.ts → SocketIOClient.d.ts} +76 -76
- package/@deekeScript/@type/interface/Storage.d.ts +119 -119
- package/@deekeScript/@type/interface/System.d.ts +114 -114
- package/@deekeScript/@type/interface/UiObject.d.ts +197 -197
- package/README.md +67 -67
- package/deekeScript.json +669 -669
- package/deekeScriptZipBuild +48 -48
- package/gulpfile +17 -17
- package/init +32 -32
- package/jsconfig.json +11 -11
- package/package.json +43 -43
- package/script/statistics/statistics.js +120 -120
- package/script/task.html +4 -4
- package/src/statistics/statistics.js +120 -120
- package/src/task/douyin_zan.js +89 -89
- package/src/task/dy.js +14 -14
- package/src/task/dyApp.js +7 -7
- package/src/task/tool.js +19 -19
- package/src/task.html +4 -4
- package/uglify-config.json +15 -15
- package/images/test/statistics.png +0 -0
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
declare global {
|
|
2
|
-
var Encrypt: Encrypt;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
interface Encrypt {
|
|
6
|
-
/**
|
|
7
|
-
* md5加密
|
|
8
|
-
* @param input
|
|
9
|
-
*/
|
|
10
|
-
public md5(input: string): string;
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* sha1加密
|
|
14
|
-
* @param input
|
|
15
|
-
*/
|
|
16
|
-
public sha1(input: string): string;
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* sha256加密
|
|
20
|
-
* @param input
|
|
21
|
-
*/
|
|
22
|
-
public sha256(input: string): string;
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* base64 encode
|
|
26
|
-
* @param input
|
|
27
|
-
*/
|
|
28
|
-
public base64Encode(input: string|byte[]): string;
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* base64 decode
|
|
32
|
-
* @param input
|
|
33
|
-
*/
|
|
34
|
-
public base64Decode(input: string): string;
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* 生成iv
|
|
38
|
-
*/
|
|
39
|
-
public generateIv(): string;
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* aescbc加密
|
|
43
|
-
* @param key
|
|
44
|
-
* @param iv
|
|
45
|
-
* @param input
|
|
46
|
-
*/
|
|
47
|
-
public aesCbcEncrypt(key: string, iv: string, input: string): string;
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* aescbc解密
|
|
51
|
-
* @param key
|
|
52
|
-
* @param iv
|
|
53
|
-
* @param input
|
|
54
|
-
*/
|
|
55
|
-
public aesCbcDecrypt(key: string, iv: string, input: string): string;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
export { };
|
|
1
|
+
declare global {
|
|
2
|
+
var Encrypt: Encrypt;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
interface Encrypt {
|
|
6
|
+
/**
|
|
7
|
+
* md5加密
|
|
8
|
+
* @param input
|
|
9
|
+
*/
|
|
10
|
+
public md5(input: string): string;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* sha1加密
|
|
14
|
+
* @param input
|
|
15
|
+
*/
|
|
16
|
+
public sha1(input: string): string;
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* sha256加密
|
|
20
|
+
* @param input
|
|
21
|
+
*/
|
|
22
|
+
public sha256(input: string): string;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* base64 encode
|
|
26
|
+
* @param input
|
|
27
|
+
*/
|
|
28
|
+
public base64Encode(input: string|byte[]): string;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* base64 decode
|
|
32
|
+
* @param input
|
|
33
|
+
*/
|
|
34
|
+
public base64Decode(input: string): string;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* 生成iv
|
|
38
|
+
*/
|
|
39
|
+
public generateIv(): string;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* aescbc加密
|
|
43
|
+
* @param key
|
|
44
|
+
* @param iv
|
|
45
|
+
* @param input
|
|
46
|
+
*/
|
|
47
|
+
public aesCbcEncrypt(key: string, iv: string, input: string): string;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* aescbc解密
|
|
51
|
+
* @param key
|
|
52
|
+
* @param iv
|
|
53
|
+
* @param input
|
|
54
|
+
*/
|
|
55
|
+
public aesCbcDecrypt(key: string, iv: string, input: string): string;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export { };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
declare global {
|
|
2
|
-
var Engines: Engines;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
interface Engines {
|
|
6
|
-
/**
|
|
7
|
-
* 执行脚本
|
|
8
|
-
* @param file 文件路径,相对根目录的路径
|
|
9
|
-
*/
|
|
10
|
-
public executeScript(file: string): void;
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* 执行脚本
|
|
14
|
-
* @param content 脚本内容
|
|
15
|
-
*/
|
|
16
|
-
public executeScriptStr(name: string, content: string): void;
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* 关闭当前线程和子线程所有脚本(包含定时器、socket、Hid等;不会关闭hooks脚本)
|
|
20
|
-
*/
|
|
21
|
-
public closeAll(): void;
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* 关闭当前线程之外的其他线程和子线程(包含定时器、socket、Hid等;不会关闭hooks脚本)
|
|
25
|
-
*/
|
|
26
|
-
public closeOther(): void;
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* 关闭hooks脚本
|
|
30
|
-
*/
|
|
31
|
-
public closeHook(): void;
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* 返回所有子脚本的数量
|
|
35
|
-
*/
|
|
36
|
-
public childScriptCount(): number;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export { };
|
|
1
|
+
declare global {
|
|
2
|
+
var Engines: Engines;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
interface Engines {
|
|
6
|
+
/**
|
|
7
|
+
* 执行脚本
|
|
8
|
+
* @param file 文件路径,相对根目录的路径
|
|
9
|
+
*/
|
|
10
|
+
public executeScript(file: string): void;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* 执行脚本
|
|
14
|
+
* @param content 脚本内容
|
|
15
|
+
*/
|
|
16
|
+
public executeScriptStr(name: string, content: string): void;
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* 关闭当前线程和子线程所有脚本(包含定时器、socket、Hid等;不会关闭hooks脚本)
|
|
20
|
+
*/
|
|
21
|
+
public closeAll(): void;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* 关闭当前线程之外的其他线程和子线程(包含定时器、socket、Hid等;不会关闭hooks脚本)
|
|
25
|
+
*/
|
|
26
|
+
public closeOther(): void;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* 关闭hooks脚本
|
|
30
|
+
*/
|
|
31
|
+
public closeHook(): void;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* 返回所有子脚本的数量
|
|
35
|
+
*/
|
|
36
|
+
public childScriptCount(): number;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export { };
|