appium-mac2-driver 1.16.0 → 1.17.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/CHANGELOG.md +7 -0
- package/build/lib/commands/app-management.d.ts +39 -129
- package/build/lib/commands/app-management.d.ts.map +1 -1
- package/build/lib/commands/app-management.js +32 -51
- package/build/lib/commands/app-management.js.map +1 -1
- package/build/lib/commands/applescript.d.ts +19 -56
- package/build/lib/commands/applescript.d.ts.map +1 -1
- package/build/lib/commands/applescript.js +16 -25
- package/build/lib/commands/applescript.js.map +1 -1
- package/build/lib/commands/execute.d.ts +17 -5
- package/build/lib/commands/execute.d.ts.map +1 -1
- package/build/lib/commands/execute.js +27 -8
- package/build/lib/commands/execute.js.map +1 -1
- package/build/lib/commands/find.d.ts +12 -4
- package/build/lib/commands/find.d.ts.map +1 -1
- package/build/lib/commands/find.js +20 -9
- package/build/lib/commands/find.js.map +1 -1
- package/build/lib/commands/gestures.d.ts +106 -808
- package/build/lib/commands/gestures.d.ts.map +1 -1
- package/build/lib/commands/gestures.js +112 -291
- package/build/lib/commands/gestures.js.map +1 -1
- package/build/lib/commands/navigation.d.ts +10 -28
- package/build/lib/commands/navigation.d.ts.map +1 -1
- package/build/lib/commands/navigation.js +11 -14
- package/build/lib/commands/navigation.js.map +1 -1
- package/build/lib/commands/record-screen.d.ts +50 -163
- package/build/lib/commands/record-screen.d.ts.map +1 -1
- package/build/lib/commands/record-screen.js +17 -63
- package/build/lib/commands/record-screen.js.map +1 -1
- package/build/lib/commands/screenshots.d.ts +7 -39
- package/build/lib/commands/screenshots.d.ts.map +1 -1
- package/build/lib/commands/screenshots.js +12 -24
- package/build/lib/commands/screenshots.js.map +1 -1
- package/build/lib/commands/source.d.ts +9 -30
- package/build/lib/commands/source.d.ts.map +1 -1
- package/build/lib/commands/source.js +12 -16
- package/build/lib/commands/source.js.map +1 -1
- package/build/lib/driver.d.ts +39 -82
- package/build/lib/driver.d.ts.map +1 -1
- package/build/lib/driver.js +67 -10
- package/build/lib/driver.js.map +1 -1
- package/build/lib/types.d.ts +661 -0
- package/build/lib/types.d.ts.map +1 -0
- package/build/lib/types.js +3 -0
- package/build/lib/types.js.map +1 -0
- package/build/lib/wda-mac.d.ts +11 -10
- package/build/lib/wda-mac.d.ts.map +1 -1
- package/build/lib/wda-mac.js +4 -0
- package/build/lib/wda-mac.js.map +1 -1
- package/lib/commands/app-management.js +23 -52
- package/lib/commands/applescript.js +12 -25
- package/lib/commands/execute.js +20 -7
- package/lib/commands/find.js +16 -10
- package/lib/commands/gestures.js +66 -294
- package/lib/commands/navigation.js +7 -14
- package/lib/commands/record-screen.js +10 -65
- package/lib/commands/screenshots.js +11 -26
- package/lib/commands/source.js +10 -17
- package/lib/driver.js +55 -13
- package/lib/types.ts +688 -0
- package/lib/wda-mac.js +6 -2
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/build/lib/commands/index.d.ts +0 -3
- package/build/lib/commands/index.d.ts.map +0 -1
- package/build/lib/commands/index.js +0 -20
- package/build/lib/commands/index.js.map +0 -1
- package/lib/commands/index.js +0 -27
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.17.0](https://github.com/appium/appium-mac2-driver/compare/v1.16.0...v1.17.0) (2024-04-21)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* Improve the typing system ([#298](https://github.com/appium/appium-mac2-driver/issues/298)) ([20bdd85](https://github.com/appium/appium-mac2-driver/commit/20bdd85de5b801098a23b1f95dd46f72d97a9506))
|
|
7
|
+
|
|
1
8
|
## [1.16.0](https://github.com/appium/appium-mac2-driver/compare/v1.15.0...v1.16.0) (2024-04-20)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -1,130 +1,40 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
* Either this property or `path` must be provided
|
|
41
|
-
*/
|
|
42
|
-
bundleId?: string | undefined;
|
|
43
|
-
/**
|
|
44
|
-
* Full path to the app bundle. Either this property
|
|
45
|
-
* or `bundleId` must be provided
|
|
46
|
-
*/
|
|
47
|
-
path?: string | undefined;
|
|
48
|
-
};
|
|
49
|
-
export type QueryAppStateOptions = {
|
|
50
|
-
/**
|
|
51
|
-
* Bundle identifier of the app whose state should be queried.
|
|
52
|
-
* Either this property or `path` must be provided
|
|
53
|
-
*/
|
|
54
|
-
bundleId?: string | undefined;
|
|
55
|
-
/**
|
|
56
|
-
* Full path to the app bundle. Either this property
|
|
57
|
-
* or `bundleId` must be provided
|
|
58
|
-
*/
|
|
59
|
-
path?: string | undefined;
|
|
60
|
-
};
|
|
61
|
-
declare namespace commands {
|
|
62
|
-
/**
|
|
63
|
-
* @typedef {Object} LaunchAppOptions
|
|
64
|
-
* @property {string} [bundleId] Bundle identifier of the app to be launched
|
|
65
|
-
* or activated. Either this property or `path` must be provided
|
|
66
|
-
* @property {string} [path] Full path to the app bundle. Either this property
|
|
67
|
-
* or `bundleId` must be provided
|
|
68
|
-
* @property {string[]} arguments the list of command line arguments
|
|
69
|
-
* for the app to be be launched with. This parameter is ignored if the app
|
|
70
|
-
* is already running.
|
|
71
|
-
* @property {Object} environment environment variables mapping. Custom
|
|
72
|
-
* variables are added to the default process environment.
|
|
73
|
-
*/
|
|
74
|
-
/**
|
|
75
|
-
* Start an app with given bundle identifier or activates it
|
|
76
|
-
* if the app is already running. An exception is thrown if the
|
|
77
|
-
* app with the given identifier cannot be found.
|
|
78
|
-
*
|
|
79
|
-
* @param {LaunchAppOptions} opts
|
|
80
|
-
*/
|
|
81
|
-
function macosLaunchApp(opts: LaunchAppOptions): Promise<any>;
|
|
82
|
-
/**
|
|
83
|
-
* @typedef {Object} ActivateAppOptions
|
|
84
|
-
* @property {string} [bundleId] Bundle identifier of the app to be activated.
|
|
85
|
-
* Either this property or `path` must be provided
|
|
86
|
-
* @property {string} [path] Full path to the app bundle. Either this property
|
|
87
|
-
* or `bundleId` must be provided
|
|
88
|
-
*/
|
|
89
|
-
/**
|
|
90
|
-
* Activate an app with given bundle identifier. An exception is thrown if the
|
|
91
|
-
* app cannot be found or is not running.
|
|
92
|
-
*
|
|
93
|
-
* @param {ActivateAppOptions} opts
|
|
94
|
-
*/
|
|
95
|
-
function macosActivateApp(opts: ActivateAppOptions): Promise<any>;
|
|
96
|
-
/**
|
|
97
|
-
* @typedef {Object} TerminateAppOptions
|
|
98
|
-
* @property {string} [bundleId] Bundle identifier of the app to be terminated.
|
|
99
|
-
* Either this property or `path` must be provided
|
|
100
|
-
* @property {string} [path] Full path to the app bundle. Either this property
|
|
101
|
-
* or `bundleId` must be provided
|
|
102
|
-
*/
|
|
103
|
-
/**
|
|
104
|
-
* Terminate an app with given bundle identifier. An exception is thrown if the
|
|
105
|
-
* app cannot be found.
|
|
106
|
-
*
|
|
107
|
-
* @param {TerminateAppOptions} opts
|
|
108
|
-
* @returns {Promise<boolean>} `true` if the app was running and has been successfully terminated.
|
|
109
|
-
* `false` if the app was not running before.
|
|
110
|
-
*/
|
|
111
|
-
function macosTerminateApp(opts: TerminateAppOptions): Promise<boolean>;
|
|
112
|
-
/**
|
|
113
|
-
* @typedef {Object} QueryAppStateOptions
|
|
114
|
-
* @property {string} [bundleId] Bundle identifier of the app whose state should be queried.
|
|
115
|
-
* Either this property or `path` must be provided
|
|
116
|
-
* @property {string} [path] Full path to the app bundle. Either this property
|
|
117
|
-
* or `bundleId` must be provided
|
|
118
|
-
*/
|
|
119
|
-
/**
|
|
120
|
-
* Query an app state with given bundle identifier. An exception is thrown if the
|
|
121
|
-
* app cannot be found.
|
|
122
|
-
*
|
|
123
|
-
* @param {QueryAppStateOptions} opts
|
|
124
|
-
* @returns {Promise<number>} The application state code. See
|
|
125
|
-
* https://developer.apple.com/documentation/xctest/xcuiapplicationstate?language=objc
|
|
126
|
-
* for more details
|
|
127
|
-
*/
|
|
128
|
-
function macosQueryAppState(opts: QueryAppStateOptions): Promise<number>;
|
|
129
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Start an app with given bundle identifier or activates it
|
|
3
|
+
* if the app is already running. An exception is thrown if the
|
|
4
|
+
* app with the given identifier cannot be found.
|
|
5
|
+
*
|
|
6
|
+
* @this {Mac2Driver}
|
|
7
|
+
* @param {import('../types').LaunchAppOptions} [opts={}]
|
|
8
|
+
*/
|
|
9
|
+
export function macosLaunchApp(this: import("../driver").Mac2Driver, opts?: import("../types").LaunchAppOptions | undefined): Promise<unknown>;
|
|
10
|
+
/**
|
|
11
|
+
* Activate an app with given bundle identifier. An exception is thrown if the
|
|
12
|
+
* app cannot be found or is not running.
|
|
13
|
+
*
|
|
14
|
+
* @this {Mac2Driver}
|
|
15
|
+
* @param {import('../types').ActivateAppOptions} [opts={}]
|
|
16
|
+
*/
|
|
17
|
+
export function macosActivateApp(this: import("../driver").Mac2Driver, opts?: import("../types").ActivateAppOptions | undefined): Promise<unknown>;
|
|
18
|
+
/**
|
|
19
|
+
* Terminate an app with given bundle identifier. An exception is thrown if the
|
|
20
|
+
* app cannot be found.
|
|
21
|
+
*
|
|
22
|
+
* @this {Mac2Driver}
|
|
23
|
+
* @param {import('../types').TerminateAppOptions} opts
|
|
24
|
+
* @returns {Promise<boolean>} `true` if the app was running and has been successfully terminated.
|
|
25
|
+
* `false` if the app was not running before.
|
|
26
|
+
*/
|
|
27
|
+
export function macosTerminateApp(this: import("../driver").Mac2Driver, opts: import('../types').TerminateAppOptions): Promise<boolean>;
|
|
28
|
+
/**
|
|
29
|
+
* Query an app state with given bundle identifier. An exception is thrown if the
|
|
30
|
+
* app cannot be found.
|
|
31
|
+
*
|
|
32
|
+
* @this {Mac2Driver}
|
|
33
|
+
* @param {import('../types').QueryAppStateOptions} opts
|
|
34
|
+
* @returns {Promise<number>} The application state code. See
|
|
35
|
+
* https://developer.apple.com/documentation/xctest/xcuiapplicationstate?language=objc
|
|
36
|
+
* for more details
|
|
37
|
+
*/
|
|
38
|
+
export function macosQueryAppState(this: import("../driver").Mac2Driver, opts: import('../types').QueryAppStateOptions): Promise<number>;
|
|
39
|
+
export type Mac2Driver = import('../driver').Mac2Driver;
|
|
130
40
|
//# sourceMappingURL=app-management.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-management.d.ts","sourceRoot":"","sources":["../../../lib/commands/app-management.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"app-management.d.ts","sourceRoot":"","sources":["../../../lib/commands/app-management.js"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,+IAQC;AAED;;;;;;GAMG;AACH,mJAGC;AAED;;;;;;;;GAQG;AACH,8EAJW,OAAO,UAAU,EAAE,mBAAmB,GACpC,QAAQ,OAAO,CAAC,CAQ5B;AAED;;;;;;;;;GASG;AACH,+EALW,OAAO,UAAU,EAAE,oBAAoB,GACrC,QAAQ,MAAM,CAAC,CAS3B;yBAGY,OAAO,WAAW,EAAE,UAAU"}
|
|
@@ -1,89 +1,70 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* @typedef {Object} LaunchAppOptions
|
|
6
|
-
* @property {string} [bundleId] Bundle identifier of the app to be launched
|
|
7
|
-
* or activated. Either this property or `path` must be provided
|
|
8
|
-
* @property {string} [path] Full path to the app bundle. Either this property
|
|
9
|
-
* or `bundleId` must be provided
|
|
10
|
-
* @property {string[]} arguments the list of command line arguments
|
|
11
|
-
* for the app to be be launched with. This parameter is ignored if the app
|
|
12
|
-
* is already running.
|
|
13
|
-
* @property {Object} environment environment variables mapping. Custom
|
|
14
|
-
* variables are added to the default process environment.
|
|
15
|
-
*/
|
|
3
|
+
exports.macosQueryAppState = exports.macosTerminateApp = exports.macosActivateApp = exports.macosLaunchApp = void 0;
|
|
16
4
|
/**
|
|
17
5
|
* Start an app with given bundle identifier or activates it
|
|
18
6
|
* if the app is already running. An exception is thrown if the
|
|
19
7
|
* app with the given identifier cannot be found.
|
|
20
8
|
*
|
|
21
|
-
* @
|
|
9
|
+
* @this {Mac2Driver}
|
|
10
|
+
* @param {import('../types').LaunchAppOptions} [opts={}]
|
|
22
11
|
*/
|
|
23
|
-
|
|
24
|
-
const { bundleId, environment, path } = opts
|
|
12
|
+
async function macosLaunchApp(opts = {}) {
|
|
13
|
+
const { bundleId, environment, path } = opts;
|
|
25
14
|
return await this.wda.proxy.command('/wda/apps/launch', 'POST', {
|
|
26
15
|
arguments: opts.arguments,
|
|
27
16
|
environment,
|
|
28
17
|
bundleId,
|
|
29
18
|
path,
|
|
30
19
|
});
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
* @property {string} [bundleId] Bundle identifier of the app to be activated.
|
|
35
|
-
* Either this property or `path` must be provided
|
|
36
|
-
* @property {string} [path] Full path to the app bundle. Either this property
|
|
37
|
-
* or `bundleId` must be provided
|
|
38
|
-
*/
|
|
20
|
+
}
|
|
21
|
+
exports.macosLaunchApp = macosLaunchApp;
|
|
22
|
+
;
|
|
39
23
|
/**
|
|
40
24
|
* Activate an app with given bundle identifier. An exception is thrown if the
|
|
41
25
|
* app cannot be found or is not running.
|
|
42
26
|
*
|
|
43
|
-
* @
|
|
27
|
+
* @this {Mac2Driver}
|
|
28
|
+
* @param {import('../types').ActivateAppOptions} [opts={}]
|
|
44
29
|
*/
|
|
45
|
-
|
|
46
|
-
const { bundleId, path } = opts
|
|
30
|
+
async function macosActivateApp(opts = {}) {
|
|
31
|
+
const { bundleId, path } = opts;
|
|
47
32
|
return await this.wda.proxy.command('/wda/apps/activate', 'POST', { bundleId, path });
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
* @property {string} [bundleId] Bundle identifier of the app to be terminated.
|
|
52
|
-
* Either this property or `path` must be provided
|
|
53
|
-
* @property {string} [path] Full path to the app bundle. Either this property
|
|
54
|
-
* or `bundleId` must be provided
|
|
55
|
-
*/
|
|
33
|
+
}
|
|
34
|
+
exports.macosActivateApp = macosActivateApp;
|
|
35
|
+
;
|
|
56
36
|
/**
|
|
57
37
|
* Terminate an app with given bundle identifier. An exception is thrown if the
|
|
58
38
|
* app cannot be found.
|
|
59
39
|
*
|
|
60
|
-
* @
|
|
40
|
+
* @this {Mac2Driver}
|
|
41
|
+
* @param {import('../types').TerminateAppOptions} opts
|
|
61
42
|
* @returns {Promise<boolean>} `true` if the app was running and has been successfully terminated.
|
|
62
43
|
* `false` if the app was not running before.
|
|
63
44
|
*/
|
|
64
|
-
|
|
45
|
+
async function macosTerminateApp(opts) {
|
|
65
46
|
const { bundleId, path } = opts ?? {};
|
|
66
|
-
return await this.wda.proxy.command('/wda/apps/terminate', 'POST', { bundleId, path });
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
* @property {string} [bundleId] Bundle identifier of the app whose state should be queried.
|
|
71
|
-
* Either this property or `path` must be provided
|
|
72
|
-
* @property {string} [path] Full path to the app bundle. Either this property
|
|
73
|
-
* or `bundleId` must be provided
|
|
74
|
-
*/
|
|
47
|
+
return /** @type {boolean} */ (await this.wda.proxy.command('/wda/apps/terminate', 'POST', { bundleId, path }));
|
|
48
|
+
}
|
|
49
|
+
exports.macosTerminateApp = macosTerminateApp;
|
|
50
|
+
;
|
|
75
51
|
/**
|
|
76
52
|
* Query an app state with given bundle identifier. An exception is thrown if the
|
|
77
53
|
* app cannot be found.
|
|
78
54
|
*
|
|
79
|
-
* @
|
|
55
|
+
* @this {Mac2Driver}
|
|
56
|
+
* @param {import('../types').QueryAppStateOptions} opts
|
|
80
57
|
* @returns {Promise<number>} The application state code. See
|
|
81
58
|
* https://developer.apple.com/documentation/xctest/xcuiapplicationstate?language=objc
|
|
82
59
|
* for more details
|
|
83
60
|
*/
|
|
84
|
-
|
|
61
|
+
async function macosQueryAppState(opts) {
|
|
85
62
|
const { bundleId, path } = opts ?? {};
|
|
86
|
-
return await this.wda.proxy.command('/wda/apps/state', 'POST', { bundleId, path });
|
|
87
|
-
}
|
|
88
|
-
exports.
|
|
63
|
+
return /** @type {number} */ (await this.wda.proxy.command('/wda/apps/state', 'POST', { bundleId, path }));
|
|
64
|
+
}
|
|
65
|
+
exports.macosQueryAppState = macosQueryAppState;
|
|
66
|
+
;
|
|
67
|
+
/**
|
|
68
|
+
* @typedef {import('../driver').Mac2Driver} Mac2Driver
|
|
69
|
+
*/
|
|
89
70
|
//# sourceMappingURL=app-management.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-management.js","sourceRoot":"","sources":["../../../lib/commands/app-management.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"app-management.js","sourceRoot":"","sources":["../../../lib/commands/app-management.js"],"names":[],"mappings":";;;AAAA;;;;;;;GAOG;AACI,KAAK,UAAU,cAAc,CAAE,IAAI,GAAG,EAAE;IAC7C,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;IAC7C,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,kBAAkB,EAAE,MAAM,EAAE;QAC9D,SAAS,EAAE,IAAI,CAAC,SAAS;QACzB,WAAW;QACX,QAAQ;QACR,IAAI;KACL,CAAC,CAAC;AACL,CAAC;AARD,wCAQC;AAAA,CAAC;AAEF;;;;;;GAMG;AACI,KAAK,UAAU,gBAAgB,CAAE,IAAI,GAAG,EAAE;IAC/C,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;IAChC,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,oBAAoB,EAAE,MAAM,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC;AACxF,CAAC;AAHD,4CAGC;AAAA,CAAC;AAEF;;;;;;;;GAQG;AACI,KAAK,UAAU,iBAAiB,CAAE,IAAI;IAC3C,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,IAAI,IAAI,EAAE,CAAC;IACtC,OAAO,sBAAsB,CAAC,CAC5B,MAAM,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,qBAAqB,EAAE,MAAM,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAChF,CAAC;AACJ,CAAC;AALD,8CAKC;AAAA,CAAC;AAEF;;;;;;;;;GASG;AACI,KAAK,UAAU,kBAAkB,CAAE,IAAI;IAC5C,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,IAAI,IAAI,EAAE,CAAC;IACtC,OAAO,qBAAqB,CAAC,CAC3B,MAAM,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,iBAAiB,EAAE,MAAM,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAC5E,CAAC;AACJ,CAAC;AALD,gDAKC;AAAA,CAAC;AAEF;;GAEG"}
|
|
@@ -1,57 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
timeout: number;
|
|
21
|
-
/**
|
|
22
|
-
* The path to an existing folder, which is going to be set as the
|
|
23
|
-
* working directory for the command/script being executed.
|
|
24
|
-
*/
|
|
25
|
-
cwd: string;
|
|
26
|
-
};
|
|
27
|
-
export namespace commands {
|
|
28
|
-
/**
|
|
29
|
-
* @typedef {Object} ExecAppleScriptOptions
|
|
30
|
-
* @property {string} script A valid AppleScript to execute
|
|
31
|
-
* @property {string} language Overrides the scripting language. Basically, sets the value of `-l` command
|
|
32
|
-
* line argument of `osascript` tool. If unset the AppleScript language is assumed.
|
|
33
|
-
* @property {string} command A valid AppleScript as a single command (no line breaks) to execute
|
|
34
|
-
* @property {number} timeout [20000] The number of seconds to wait until a long-running command is
|
|
35
|
-
* finished. An error is thrown if the command is still running after this timeout expires.
|
|
36
|
-
* @property {string} cwd The path to an existing folder, which is going to be set as the
|
|
37
|
-
* working directory for the command/script being executed.
|
|
38
|
-
*/
|
|
39
|
-
/**
|
|
40
|
-
* Executes the given AppleScript command or a whole script based on the
|
|
41
|
-
* given options. Either of these options must be provided. If both are provided
|
|
42
|
-
* then the `command` one gets the priority.
|
|
43
|
-
* Note that AppleScript command cannot contain line breaks. Consider making it
|
|
44
|
-
* to a script in such case.
|
|
45
|
-
* Note that by default AppleScript engine blocks commands/scripts execution if your script
|
|
46
|
-
* is trying to access some private entities, like cameras or the desktop screen
|
|
47
|
-
* and no permissions to do it are given to the parent (for example, Appium or Terminal)
|
|
48
|
-
* process in System Preferences -> Privacy list.
|
|
49
|
-
*
|
|
50
|
-
* @param {ExecAppleScriptOptions} opts
|
|
51
|
-
* @returns {Promise<string>} The actual stdout of the given command/script
|
|
52
|
-
* @throws {Error} If the exit code of the given command/script is not zero.
|
|
53
|
-
* The actual stderr output is set to the error message value.
|
|
54
|
-
*/
|
|
55
|
-
function macosExecAppleScript(opts: ExecAppleScriptOptions): Promise<string>;
|
|
56
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Executes the given AppleScript command or a whole script based on the
|
|
3
|
+
* given options. Either of these options must be provided. If both are provided
|
|
4
|
+
* then the `command` one gets the priority.
|
|
5
|
+
* Note that AppleScript command cannot contain line breaks. Consider making it
|
|
6
|
+
* to a script in such case.
|
|
7
|
+
* Note that by default AppleScript engine blocks commands/scripts execution if your script
|
|
8
|
+
* is trying to access some private entities, like cameras or the desktop screen
|
|
9
|
+
* and no permissions to do it are given to the parent (for example, Appium or Terminal)
|
|
10
|
+
* process in System Preferences -> Privacy list.
|
|
11
|
+
*
|
|
12
|
+
* @this {Mac2Driver}
|
|
13
|
+
* @param {import('../types').ExecAppleScriptOptions} opts
|
|
14
|
+
* @returns {Promise<string>} The actual stdout of the given command/script
|
|
15
|
+
* @throws {Error} If the exit code of the given command/script is not zero.
|
|
16
|
+
* The actual stderr output is set to the error message value.
|
|
17
|
+
*/
|
|
18
|
+
export function macosExecAppleScript(this: import("../driver").Mac2Driver, opts?: import('../types').ExecAppleScriptOptions): Promise<string>;
|
|
19
|
+
export type Mac2Driver = import('../driver').Mac2Driver;
|
|
57
20
|
//# sourceMappingURL=applescript.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applescript.d.ts","sourceRoot":"","sources":["../../../lib/commands/applescript.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"applescript.d.ts","sourceRoot":"","sources":["../../../lib/commands/applescript.js"],"names":[],"mappings":"AAOA;;;;;;;;;;;;;;;;GAgBG;AACH,kFALW,OAAO,UAAU,EAAE,sBAAsB,GACvC,QAAQ,MAAM,CAAC,CAiD3B;yBAGY,OAAO,WAAW,EAAE,UAAU"}
|
|
@@ -3,26 +3,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
6
|
+
exports.macosExecAppleScript = void 0;
|
|
7
7
|
const support_1 = require("appium/support");
|
|
8
8
|
const teen_process_1 = require("teen_process");
|
|
9
|
-
const logger_1 = __importDefault(require("../logger"));
|
|
10
9
|
const path_1 = __importDefault(require("path"));
|
|
11
10
|
const OSASCRIPT = 'osascript';
|
|
12
11
|
const APPLE_SCRIPT_FEATURE = 'apple_script';
|
|
13
|
-
const commands = {};
|
|
14
|
-
exports.commands = commands;
|
|
15
|
-
/**
|
|
16
|
-
* @typedef {Object} ExecAppleScriptOptions
|
|
17
|
-
* @property {string} script A valid AppleScript to execute
|
|
18
|
-
* @property {string} language Overrides the scripting language. Basically, sets the value of `-l` command
|
|
19
|
-
* line argument of `osascript` tool. If unset the AppleScript language is assumed.
|
|
20
|
-
* @property {string} command A valid AppleScript as a single command (no line breaks) to execute
|
|
21
|
-
* @property {number} timeout [20000] The number of seconds to wait until a long-running command is
|
|
22
|
-
* finished. An error is thrown if the command is still running after this timeout expires.
|
|
23
|
-
* @property {string} cwd The path to an existing folder, which is going to be set as the
|
|
24
|
-
* working directory for the command/script being executed.
|
|
25
|
-
*/
|
|
26
12
|
/**
|
|
27
13
|
* Executes the given AppleScript command or a whole script based on the
|
|
28
14
|
* given options. Either of these options must be provided. If both are provided
|
|
@@ -34,19 +20,20 @@ exports.commands = commands;
|
|
|
34
20
|
* and no permissions to do it are given to the parent (for example, Appium or Terminal)
|
|
35
21
|
* process in System Preferences -> Privacy list.
|
|
36
22
|
*
|
|
37
|
-
* @
|
|
23
|
+
* @this {Mac2Driver}
|
|
24
|
+
* @param {import('../types').ExecAppleScriptOptions} opts
|
|
38
25
|
* @returns {Promise<string>} The actual stdout of the given command/script
|
|
39
26
|
* @throws {Error} If the exit code of the given command/script is not zero.
|
|
40
27
|
* The actual stderr output is set to the error message value.
|
|
41
28
|
*/
|
|
42
|
-
|
|
29
|
+
async function macosExecAppleScript(opts = {}) {
|
|
43
30
|
this.ensureFeatureEnabled(APPLE_SCRIPT_FEATURE);
|
|
44
|
-
const { script, language, command, cwd, timeout, } = opts
|
|
31
|
+
const { script, language, command, cwd, timeout, } = opts;
|
|
45
32
|
if (!script && !command) {
|
|
46
|
-
|
|
33
|
+
this.log.errorAndThrow('AppleScript script/command must not be empty');
|
|
47
34
|
}
|
|
48
|
-
if (/\n/.test(command)) {
|
|
49
|
-
|
|
35
|
+
if (/\n/.test(/** @type {string} */ (command))) {
|
|
36
|
+
this.log.errorAndThrow('AppleScript commands cannot contain line breaks');
|
|
50
37
|
}
|
|
51
38
|
// 'command' has priority over 'script'
|
|
52
39
|
const shouldRunScript = !command;
|
|
@@ -59,13 +46,13 @@ commands.macosExecAppleScript = async function macosExecAppleScript(opts) {
|
|
|
59
46
|
if (shouldRunScript) {
|
|
60
47
|
tmpRoot = await support_1.tempDir.openDir();
|
|
61
48
|
const tmpScriptPath = path_1.default.resolve(tmpRoot, 'appium_script.scpt');
|
|
62
|
-
await support_1.fs.writeFile(tmpScriptPath, script, 'utf8');
|
|
49
|
+
await support_1.fs.writeFile(tmpScriptPath, /** @type {string} */ (script), 'utf8');
|
|
63
50
|
args.push(tmpScriptPath);
|
|
64
51
|
}
|
|
65
52
|
else {
|
|
66
53
|
args.push('-e', command);
|
|
67
54
|
}
|
|
68
|
-
|
|
55
|
+
this.log.info(`Running ${OSASCRIPT} with arguments: ${support_1.util.quote(args)}`);
|
|
69
56
|
try {
|
|
70
57
|
const { stdout } = await (0, teen_process_1.exec)(OSASCRIPT, args, { cwd, timeout });
|
|
71
58
|
return stdout;
|
|
@@ -79,6 +66,10 @@ commands.macosExecAppleScript = async function macosExecAppleScript(opts) {
|
|
|
79
66
|
await support_1.fs.rimraf(tmpRoot);
|
|
80
67
|
}
|
|
81
68
|
}
|
|
82
|
-
}
|
|
83
|
-
exports.
|
|
69
|
+
}
|
|
70
|
+
exports.macosExecAppleScript = macosExecAppleScript;
|
|
71
|
+
;
|
|
72
|
+
/**
|
|
73
|
+
* @typedef {import('../driver').Mac2Driver} Mac2Driver
|
|
74
|
+
*/
|
|
84
75
|
//# sourceMappingURL=applescript.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applescript.js","sourceRoot":"","sources":["../../../lib/commands/applescript.js"],"names":[],"mappings":";;;;;;AAAA,4CAAmD;AACnD,+CAAoC;AACpC,
|
|
1
|
+
{"version":3,"file":"applescript.js","sourceRoot":"","sources":["../../../lib/commands/applescript.js"],"names":[],"mappings":";;;;;;AAAA,4CAAmD;AACnD,+CAAoC;AACpC,gDAAwB;AAExB,MAAM,SAAS,GAAG,WAAW,CAAC;AAC9B,MAAM,oBAAoB,GAAG,cAAc,CAAC;AAE5C;;;;;;;;;;;;;;;;GAgBG;AACI,KAAK,UAAU,oBAAoB,CAAE,IAAI,GAAG,EAAE;IACnD,IAAI,CAAC,oBAAoB,CAAC,oBAAoB,CAAC,CAAC;IAEhD,MAAM,EACJ,MAAM,EACN,QAAQ,EACR,OAAO,EACP,GAAG,EACH,OAAO,GACR,GAAG,IAAI,CAAC;IACT,IAAI,CAAC,MAAM,IAAI,CAAC,OAAO,EAAE,CAAC;QACxB,IAAI,CAAC,GAAG,CAAC,aAAa,CAAC,8CAA8C,CAAC,CAAC;IACzE,CAAC;IACD,IAAI,IAAI,CAAC,IAAI,CAAC,qBAAqB,CAAA,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC;QAC9C,IAAI,CAAC,GAAG,CAAC,aAAa,CAAC,iDAAiD,CAAC,CAAC;IAC5E,CAAC;IACD,uCAAuC;IACvC,MAAM,eAAe,GAAG,CAAC,OAAO,CAAC;IAEjC,MAAM,IAAI,GAAG,EAAE,CAAC;IAChB,IAAI,QAAQ,EAAE,CAAC;QACb,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;IAC5B,CAAC;IACD,IAAI,OAAO,CAAC;IACZ,IAAI,CAAC;QACH,IAAI,eAAe,EAAE,CAAC;YACpB,OAAO,GAAG,MAAM,iBAAO,CAAC,OAAO,EAAE,CAAC;YAClC,MAAM,aAAa,GAAG,cAAI,CAAC,OAAO,CAAC,OAAO,EAAE,oBAAoB,CAAC,CAAC;YAClE,MAAM,YAAE,CAAC,SAAS,CAAC,aAAa,EAAE,qBAAqB,CAAA,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC;YACzE,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAC3B,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QAC3B,CAAC;QACD,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,WAAW,SAAS,oBAAoB,cAAI,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QAC1E,IAAI,CAAC;YACH,MAAM,EAAC,MAAM,EAAC,GAAG,MAAM,IAAA,mBAAI,EAAC,SAAS,EAAE,IAAI,EAAE,EAAC,GAAG,EAAE,OAAO,EAAC,CAAC,CAAC;YAC7D,OAAO,MAAM,CAAC;QAChB,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,MAAM,IAAI,KAAK,CAAC,CAAC,CAAC,MAAM,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC;QACzC,CAAC;IACH,CAAC;YAAS,CAAC;QACT,IAAI,OAAO,EAAE,CAAC;YACZ,MAAM,YAAE,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QAC3B,CAAC;IACH,CAAC;AACH,CAAC;AA7CD,oDA6CC;AAAA,CAAC;AAEF;;GAEG"}
|
|
@@ -1,6 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* @this {Mac2Driver}
|
|
4
|
+
* @param {string} script
|
|
5
|
+
* @param {any[]|import('@appium/types').StringRecord} [args]
|
|
6
|
+
* @returns {Promise<any>}
|
|
7
|
+
*/
|
|
8
|
+
export function execute(this: import("../driver").Mac2Driver, script: string, args?: any[] | import("@appium/types").StringRecord<any> | undefined): Promise<any>;
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
* @this {Mac2Driver}
|
|
12
|
+
* @param {string} command
|
|
13
|
+
* @param {import('@appium/types').StringRecord} [opts={}]
|
|
14
|
+
* @returns {Promise<any>}
|
|
15
|
+
*/
|
|
16
|
+
export function executeMacosCommand(this: import("../driver").Mac2Driver, command: string, opts?: import("@appium/types").StringRecord<any> | undefined): Promise<any>;
|
|
17
|
+
export type Mac2Driver = import('../driver').Mac2Driver;
|
|
6
18
|
//# sourceMappingURL=execute.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"execute.d.ts","sourceRoot":"","sources":["../../../lib/commands/execute.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"execute.d.ts","sourceRoot":"","sources":["../../../lib/commands/execute.js"],"names":[],"mappings":"AAsCA;;;;;;GAMG;AACH,sEAJW,MAAM,yEAEJ,QAAQ,GAAG,CAAC,CASxB;AAED;;;;;;GAMG;AACH,mFAJW,MAAM,iEAEJ,QAAQ,GAAG,CAAC,CAQxB;yBAGY,OAAO,WAAW,EAAE,UAAU"}
|
|
@@ -3,10 +3,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.executeMacosCommand = exports.execute = void 0;
|
|
6
7
|
const lodash_1 = __importDefault(require("lodash"));
|
|
7
8
|
const driver_1 = require("appium/driver");
|
|
8
|
-
const logger_1 = __importDefault(require("../logger"));
|
|
9
|
-
const commands = {};
|
|
10
9
|
const EXTENSION_COMMANDS_MAPPING = {
|
|
11
10
|
setValue: 'macosSetValue',
|
|
12
11
|
click: 'macosClick',
|
|
@@ -34,20 +33,40 @@ const EXTENSION_COMMANDS_MAPPING = {
|
|
|
34
33
|
screenshots: 'macosScreenshots',
|
|
35
34
|
deepLink: 'macosDeepLink',
|
|
36
35
|
};
|
|
37
|
-
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @this {Mac2Driver}
|
|
39
|
+
* @param {string} script
|
|
40
|
+
* @param {any[]|import('@appium/types').StringRecord} [args]
|
|
41
|
+
* @returns {Promise<any>}
|
|
42
|
+
*/
|
|
43
|
+
async function execute(script, args) {
|
|
38
44
|
if (script.match(/^macos:/)) {
|
|
39
|
-
|
|
45
|
+
this.log.info(`Executing extension command '${script}'`);
|
|
40
46
|
script = script.replace(/^macos:/, '').trim();
|
|
41
47
|
return await this.executeMacosCommand(script, lodash_1.default.isArray(args) ? args[0] : args);
|
|
42
48
|
}
|
|
43
49
|
throw new driver_1.errors.NotImplementedError();
|
|
44
|
-
}
|
|
45
|
-
|
|
50
|
+
}
|
|
51
|
+
exports.execute = execute;
|
|
52
|
+
;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @this {Mac2Driver}
|
|
56
|
+
* @param {string} command
|
|
57
|
+
* @param {import('@appium/types').StringRecord} [opts={}]
|
|
58
|
+
* @returns {Promise<any>}
|
|
59
|
+
*/
|
|
60
|
+
async function executeMacosCommand(command, opts = {}) {
|
|
46
61
|
if (!lodash_1.default.has(EXTENSION_COMMANDS_MAPPING, command)) {
|
|
47
62
|
throw new driver_1.errors.UnknownCommandError(`Unknown extension command "${command}". ` +
|
|
48
63
|
`Only ${lodash_1.default.keys(EXTENSION_COMMANDS_MAPPING)} commands are supported.`);
|
|
49
64
|
}
|
|
50
65
|
return await this[EXTENSION_COMMANDS_MAPPING[command]](opts);
|
|
51
|
-
}
|
|
52
|
-
exports.
|
|
66
|
+
}
|
|
67
|
+
exports.executeMacosCommand = executeMacosCommand;
|
|
68
|
+
;
|
|
69
|
+
/**
|
|
70
|
+
* @typedef {import('../driver').Mac2Driver} Mac2Driver
|
|
71
|
+
*/
|
|
53
72
|
//# sourceMappingURL=execute.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"execute.js","sourceRoot":"","sources":["../../../lib/commands/execute.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"execute.js","sourceRoot":"","sources":["../../../lib/commands/execute.js"],"names":[],"mappings":";;;;;;AAAA,oDAAuB;AACvB,0CAAuC;AAEvC,MAAM,0BAA0B,GAAG;IACjC,QAAQ,EAAE,eAAe;IACzB,KAAK,EAAE,YAAY;IACnB,MAAM,EAAE,aAAa;IACrB,KAAK,EAAE,YAAY;IACnB,UAAU,EAAE,iBAAiB;IAC7B,KAAK,EAAE,YAAY;IACnB,WAAW,EAAE,kBAAkB;IAC/B,YAAY,EAAE,mBAAmB;IACjC,mBAAmB,EAAE,0BAA0B;IAC/C,IAAI,EAAE,WAAW;IAEjB,GAAG,EAAE,UAAU;IACf,SAAS,EAAE,gBAAgB;IAC3B,KAAK,EAAE,YAAY;IACnB,YAAY,EAAE,mBAAmB;IACjC,mBAAmB,EAAE,0BAA0B;IAE/C,MAAM,EAAE,aAAa;IAErB,SAAS,EAAE,gBAAgB;IAC3B,WAAW,EAAE,kBAAkB;IAC/B,YAAY,EAAE,mBAAmB;IACjC,aAAa,EAAE,oBAAoB;IAEnC,WAAW,EAAE,sBAAsB;IAEnC,oBAAoB,EAAE,sBAAsB;IAC5C,mBAAmB,EAAE,qBAAqB;IAE1C,WAAW,EAAE,kBAAkB;IAE/B,QAAQ,EAAE,eAAe;CAC1B,CAAC;AAEF;;;;;;GAMG;AACI,KAAK,UAAU,OAAO,CAAE,MAAM,EAAE,IAAI;IACzC,IAAI,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC,EAAE,CAAC;QAC5B,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,gCAAgC,MAAM,GAAG,CAAC,CAAC;QACzD,MAAM,GAAG,MAAM,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;QAC9C,OAAO,MAAM,IAAI,CAAC,mBAAmB,CAAC,MAAM,EAAE,gBAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;IAClF,CAAC;IACD,MAAM,IAAI,eAAM,CAAC,mBAAmB,EAAE,CAAC;AACzC,CAAC;AAPD,0BAOC;AAAA,CAAC;AAEF;;;;;;GAMG;AACI,KAAK,UAAU,mBAAmB,CAAE,OAAO,EAAE,IAAI,GAAG,EAAE;IAC3D,IAAI,CAAC,gBAAC,CAAC,GAAG,CAAC,0BAA0B,EAAE,OAAO,CAAC,EAAE,CAAC;QAChD,MAAM,IAAI,eAAM,CAAC,mBAAmB,CAAC,8BAA8B,OAAO,KAAK;YAC7E,QAAQ,gBAAC,CAAC,IAAI,CAAC,0BAA0B,CAAC,0BAA0B,CAAC,CAAC;IAC1E,CAAC;IACD,OAAO,MAAM,IAAI,CAAC,0BAA0B,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;AAC/D,CAAC;AAND,kDAMC;AAAA,CAAC;AAEF;;GAEG"}
|
|
@@ -1,5 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* This is needed to make lookup by image working
|
|
3
|
+
*
|
|
4
|
+
* @this {Mac2Driver}
|
|
5
|
+
* @param {string} strategy
|
|
6
|
+
* @param {string} selector
|
|
7
|
+
* @param {boolean} mult
|
|
8
|
+
* @param {string} [context]
|
|
9
|
+
* @returns {Promise<any>}
|
|
10
|
+
*/
|
|
11
|
+
export function findElOrEls(this: import("../driver").Mac2Driver, strategy: string, selector: string, mult: boolean, context?: string | undefined): Promise<any>;
|
|
12
|
+
export type Mac2Driver = import('../driver').Mac2Driver;
|
|
5
13
|
//# sourceMappingURL=find.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find.d.ts","sourceRoot":"","sources":["../../../lib/commands/find.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"find.d.ts","sourceRoot":"","sources":["../../../lib/commands/find.js"],"names":[],"mappings":"AAEA;;;;;;;;;GASG;AACH,4EANW,MAAM,YACN,MAAM,QACN,OAAO,iCAEL,QAAQ,GAAG,CAAC,CAgBxB;yBAGY,OAAO,WAAW,EAAE,UAAU"}
|