-
-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b655871
commit 82ec0f9
Showing
18 changed files
with
985 additions
and
682 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,11 @@ | ||
/** | ||
* @privateRemarks This is a `.ts` file so we can re-export types from other | ||
* files; otherwise we would need to copy `@typedef`s around. | ||
* @module | ||
*/ | ||
|
||
import {install} from 'source-map-support'; | ||
install(); | ||
|
||
export * from './lib/adb'; | ||
// eslint-disable-next-line import/export | ||
export {getAndroidBinaryPath} from './lib/tools/system-calls'; | ||
export {getSdkRootFromEnv} from './lib/helpers'; | ||
// TODO: move public typedefs into a separate file | ||
export type * from './lib/logcat'; | ||
export type * from './lib/options'; | ||
export type * from './lib/tools/adb-commands'; | ||
// eslint-disable-next-line import/export | ||
export type * from './lib/tools/system-calls'; | ||
export type * from './lib/tools/adb-emu-commands'; | ||
export type * from './lib/tools/apk-signing'; | ||
export type * from './lib/tools/apk-utils'; | ||
export type * from './lib/tools/apks-utils'; | ||
export type * from './lib/tools/aab-utils'; | ||
export type * from './lib/tools/android-manifest'; | ||
export type * from './lib/tools/keyboard-commands'; | ||
export type * from './lib/tools/lockmgmt'; | ||
export type * from './lib/tools/types'; | ||
export type * from './lib/types'; | ||
|
||
import {ADB} from './lib/adb'; | ||
export default ADB; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +0,0 @@ | ||
import type {Logcat} from './logcat'; | ||
import type {StringRecord} from '@appium/types'; | ||
|
||
export interface ADBOptions { | ||
sdkRoot?: string; | ||
udid?: string; | ||
appDeviceReadyTimeout?: number; | ||
useKeystore?: boolean; | ||
keystorePath?: string; | ||
keystorePassword?: string; | ||
keyAlias?: string; | ||
keyPassword?: string; | ||
executable?: ADBExecutable; | ||
tmpDir?: string; | ||
curDeviceId?: string; | ||
emulatorPort?: number; | ||
logcat?: Logcat; | ||
binaries?: StringRecord; | ||
suppressKillServer?: boolean; | ||
adbPort?: number; | ||
adbHost?: string; | ||
adbExecTimeout?: number; | ||
remoteAppsCacheLimit?: number; | ||
buildToolsVersion?: string; | ||
allowOfflineDevices?: boolean; | ||
allowDelayAdb?: boolean; | ||
remoteAdbHost?: string; | ||
remoteAdbPort?: number; | ||
clearDeviceLogsOnStart?: boolean; | ||
} | ||
|
||
export interface ADBExecutable { | ||
path: string; | ||
defaultArgs: string[]; | ||
} | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.