appium 2.0.0-beta.6 → 2.0.0-beta.61
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/LICENSE +1 -1
- package/README.md +156 -65
- package/build/lib/appium.d.ts +229 -0
- package/build/lib/appium.d.ts.map +1 -0
- package/build/lib/appium.js +678 -439
- package/build/lib/appium.js.map +1 -0
- package/build/lib/cli/args.d.ts +17 -0
- package/build/lib/cli/args.d.ts.map +1 -0
- package/build/lib/cli/args.js +263 -319
- package/build/lib/cli/args.js.map +1 -0
- package/build/lib/cli/driver-command.d.ts +102 -0
- package/build/lib/cli/driver-command.d.ts.map +1 -0
- package/build/lib/cli/driver-command.js +131 -81
- package/build/lib/cli/driver-command.js.map +1 -0
- package/build/lib/cli/extension-command.d.ts +402 -0
- package/build/lib/cli/extension-command.d.ts.map +1 -0
- package/build/lib/cli/extension-command.js +799 -383
- package/build/lib/cli/extension-command.js.map +1 -0
- package/build/lib/cli/extension.d.ts +23 -0
- package/build/lib/cli/extension.d.ts.map +1 -0
- package/build/lib/cli/extension.js +71 -54
- package/build/lib/cli/extension.js.map +1 -0
- package/build/lib/cli/parser.d.ts +84 -0
- package/build/lib/cli/parser.d.ts.map +1 -0
- package/build/lib/cli/parser.js +240 -128
- package/build/lib/cli/parser.js.map +1 -0
- package/build/lib/cli/plugin-command.d.ts +99 -0
- package/build/lib/cli/plugin-command.d.ts.map +1 -0
- package/build/lib/cli/plugin-command.js +125 -81
- package/build/lib/cli/plugin-command.js.map +1 -0
- package/build/lib/cli/utils.d.ts +29 -0
- package/build/lib/cli/utils.d.ts.map +1 -0
- package/build/lib/cli/utils.js +72 -51
- package/build/lib/cli/utils.js.map +1 -0
- package/build/lib/config-file.d.ts +100 -0
- package/build/lib/config-file.d.ts.map +1 -0
- package/build/lib/config-file.js +207 -0
- package/build/lib/config-file.js.map +1 -0
- package/build/lib/config.d.ts +49 -0
- package/build/lib/config.d.ts.map +1 -0
- package/build/lib/config.js +267 -202
- package/build/lib/config.js.map +1 -0
- package/build/lib/constants.d.ts +56 -0
- package/build/lib/constants.d.ts.map +1 -0
- package/build/lib/constants.js +73 -0
- package/build/lib/constants.js.map +1 -0
- package/build/lib/extension/driver-config.d.ts +82 -0
- package/build/lib/extension/driver-config.d.ts.map +1 -0
- package/build/lib/extension/driver-config.js +210 -0
- package/build/lib/extension/driver-config.js.map +1 -0
- package/build/lib/extension/extension-config.d.ts +270 -0
- package/build/lib/extension/extension-config.d.ts.map +1 -0
- package/build/lib/extension/extension-config.js +601 -0
- package/build/lib/extension/extension-config.js.map +1 -0
- package/build/lib/extension/index.d.ts +48 -0
- package/build/lib/extension/index.d.ts.map +1 -0
- package/build/lib/extension/index.js +105 -0
- package/build/lib/extension/index.js.map +1 -0
- package/build/lib/extension/manifest-migrations.d.ts +27 -0
- package/build/lib/extension/manifest-migrations.d.ts.map +1 -0
- package/build/lib/extension/manifest-migrations.js +134 -0
- package/build/lib/extension/manifest-migrations.js.map +1 -0
- package/build/lib/extension/manifest.d.ts +145 -0
- package/build/lib/extension/manifest.d.ts.map +1 -0
- package/build/lib/extension/manifest.js +528 -0
- package/build/lib/extension/manifest.js.map +1 -0
- package/build/lib/extension/package-changed.d.ts +11 -0
- package/build/lib/extension/package-changed.d.ts.map +1 -0
- package/build/lib/extension/package-changed.js +62 -0
- package/build/lib/extension/package-changed.js.map +1 -0
- package/build/lib/extension/plugin-config.d.ts +56 -0
- package/build/lib/extension/plugin-config.d.ts.map +1 -0
- package/build/lib/extension/plugin-config.js +102 -0
- package/build/lib/extension/plugin-config.js.map +1 -0
- package/build/lib/grid-register.d.ts +10 -0
- package/build/lib/grid-register.d.ts.map +1 -0
- package/build/lib/grid-register.js +122 -144
- package/build/lib/grid-register.js.map +1 -0
- package/build/lib/logger.d.ts +3 -0
- package/build/lib/logger.d.ts.map +1 -0
- package/build/lib/logger.js +5 -17
- package/build/lib/logger.js.map +1 -0
- package/build/lib/logsink.d.ts +4 -0
- package/build/lib/logsink.d.ts.map +1 -0
- package/build/lib/logsink.js +190 -187
- package/build/lib/logsink.js.map +1 -0
- package/build/lib/main.d.ts +62 -0
- package/build/lib/main.d.ts.map +1 -0
- package/build/lib/main.js +339 -229
- package/build/lib/main.js.map +1 -0
- package/build/lib/schema/arg-spec.d.ts +143 -0
- package/build/lib/schema/arg-spec.d.ts.map +1 -0
- package/build/lib/schema/arg-spec.js +164 -0
- package/build/lib/schema/arg-spec.js.map +1 -0
- package/build/lib/schema/cli-args.d.ts +19 -0
- package/build/lib/schema/cli-args.d.ts.map +1 -0
- package/build/lib/schema/cli-args.js +217 -0
- package/build/lib/schema/cli-args.js.map +1 -0
- package/build/lib/schema/cli-transformers.d.ts +5 -0
- package/build/lib/schema/cli-transformers.d.ts.map +1 -0
- package/build/lib/schema/cli-transformers.js +124 -0
- package/build/lib/schema/cli-transformers.js.map +1 -0
- package/build/lib/schema/index.d.ts +3 -0
- package/build/lib/schema/index.d.ts.map +1 -0
- package/build/lib/schema/index.js +19 -0
- package/build/lib/schema/index.js.map +1 -0
- package/build/lib/schema/keywords.d.ts +24 -0
- package/build/lib/schema/keywords.d.ts.map +1 -0
- package/build/lib/schema/keywords.js +128 -0
- package/build/lib/schema/keywords.js.map +1 -0
- package/build/lib/schema/schema.d.ts +260 -0
- package/build/lib/schema/schema.d.ts.map +1 -0
- package/build/lib/schema/schema.js +640 -0
- package/build/lib/schema/schema.js.map +1 -0
- package/build/lib/utils.d.ts +266 -0
- package/build/lib/utils.d.ts.map +1 -0
- package/build/lib/utils.js +349 -273
- package/build/lib/utils.js.map +1 -0
- package/build/types/cli.d.ts +134 -0
- package/build/types/cli.d.ts.map +1 -0
- package/build/types/cli.js +3 -0
- package/build/types/cli.js.map +1 -0
- package/build/types/index.d.ts +15 -0
- package/build/types/index.d.ts.map +1 -0
- package/build/types/index.js +19 -0
- package/build/types/index.js.map +1 -0
- package/build/types/manifest/base.d.ts +135 -0
- package/build/types/manifest/base.d.ts.map +1 -0
- package/build/types/manifest/base.js +3 -0
- package/build/types/manifest/base.js.map +1 -0
- package/build/types/manifest/index.d.ts +21 -0
- package/build/types/manifest/index.d.ts.map +1 -0
- package/build/types/manifest/index.js +42 -0
- package/build/types/manifest/index.js.map +1 -0
- package/build/types/manifest/v3.d.ts +139 -0
- package/build/types/manifest/v3.d.ts.map +1 -0
- package/build/types/manifest/v3.js +3 -0
- package/build/types/manifest/v3.js.map +1 -0
- package/build/types/manifest/v4.d.ts +139 -0
- package/build/types/manifest/v4.d.ts.map +1 -0
- package/build/types/manifest/v4.js +3 -0
- package/build/types/manifest/v4.js.map +1 -0
- package/driver.d.ts +1 -0
- package/driver.js +14 -0
- package/index.js +11 -0
- package/lib/appium.js +558 -186
- package/lib/cli/args.js +277 -422
- package/lib/cli/driver-command.js +132 -24
- package/lib/cli/extension-command.js +751 -272
- package/lib/cli/extension.js +49 -18
- package/lib/cli/parser.js +263 -83
- package/lib/cli/plugin-command.js +122 -22
- package/lib/cli/utils.js +24 -10
- package/lib/config-file.js +220 -0
- package/lib/config.js +246 -111
- package/lib/constants.js +79 -0
- package/lib/extension/driver-config.js +247 -0
- package/lib/extension/extension-config.js +709 -0
- package/lib/extension/index.js +116 -0
- package/lib/extension/manifest-migrations.js +136 -0
- package/lib/extension/manifest.js +580 -0
- package/lib/extension/package-changed.js +64 -0
- package/lib/extension/plugin-config.js +112 -0
- package/lib/grid-register.js +49 -35
- package/lib/logger.js +1 -2
- package/lib/logsink.js +64 -38
- package/lib/main.js +318 -103
- package/lib/schema/arg-spec.js +229 -0
- package/lib/schema/cli-args.js +238 -0
- package/lib/schema/cli-transformers.js +119 -0
- package/lib/schema/index.js +2 -0
- package/lib/schema/keywords.js +136 -0
- package/lib/schema/schema.js +725 -0
- package/lib/utils.js +289 -167
- package/package.json +84 -84
- package/plugin.d.ts +1 -0
- package/plugin.js +13 -0
- package/scripts/autoinstall-extensions.js +243 -0
- package/support.d.ts +1 -0
- package/support.js +13 -0
- package/tsconfig.json +25 -0
- package/types/cli.ts +193 -0
- package/types/index.ts +20 -0
- package/types/manifest/README.md +30 -0
- package/types/manifest/base.ts +158 -0
- package/types/manifest/index.ts +28 -0
- package/types/manifest/v3.ts +161 -0
- package/types/manifest/v4.ts +161 -0
- package/CHANGELOG.md +0 -3515
- package/bin/ios-webkit-debug-proxy-launcher.js +0 -71
- package/build/lib/cli/npm.js +0 -208
- package/build/lib/cli/parser-helpers.js +0 -82
- package/build/lib/driver-config.js +0 -77
- package/build/lib/drivers.js +0 -96
- package/build/lib/extension-config.js +0 -253
- package/build/lib/plugin-config.js +0 -59
- package/build/lib/plugins.js +0 -14
- package/lib/cli/npm.js +0 -184
- package/lib/cli/parser-helpers.js +0 -79
- package/lib/driver-config.js +0 -46
- package/lib/drivers.js +0 -81
- package/lib/extension-config.js +0 -209
- package/lib/plugin-config.js +0 -34
- package/lib/plugins.js +0 -10
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../lib/utils.js"],"names":[],"mappings":";;;;;;AAAA,oDAAuB;AACvB,sDAA8B;AAC9B,qDAAkF;AAClF,+BAAqC;AACrC,6CAAqC;AACrC,gDAAwB;AACxB,2CAAwE;AAExE,MAAM,iBAAiB,GAAG,QAAQ,CAAC;AACnC,MAAM,uBAAuB,GAAG,IAAI,GAAG,CAAC,CAAC,GAAG,2BAAa,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC;AAE5F;;;;;;GAMG;AACH,MAAM,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC;AAEzC;;;;GAIG;AACH,MAAM,OAAO,GAAG,gBAAC,CAAC,IAAI,CACpB,gBAAC,CAAC,YAAY;AACZ,8EAA8E,CAAC,CAAC,cAAI,CAAC,EACrF,EAAC,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,WAAW,EAAC,C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BAAsB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAC/C,IAAI,CAAC,KAAK,EAAE;YACV,SAAS;SACV;QAED,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC;QACzB,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC;KAClB;IACD,OAAO,MAAM,CAAC;AAChB,CAAC;AA+CC,oCAAY;AA7Cd;;;;;GAKG;AACH,SAAgB,mBAAmB,CAAC,IAAI;IACtC,OAAO,IAAI,CAAC,UAAU,KAAK,6BAAiB,CAAC;AAC/C,CAAC;AAFD,kDAEC;AAED;;;;;GAKG;AACH,SAAgB,sBAAsB,CAAC,IAAI;IACzC,OAAO,IAAI,CAAC,UAAU,KAAK,uBAAW,IAAI,IAAI,CAAC,UAAU,KAAK,uBAAW,CAAC;AAC5E,CAAC;AAFD,wDAEC;AAED;;;;;GAKG;AACH,SAAgB,mBAAmB,CAAC,IAAI;IACtC,OAAO,IAAI,CAAC,UAAU,KAAK,uBAAW,CAAC;AACzC,CAAC;AAFD,kDAEC;AAED;;;;;GAKG;AACH,SAAgB,mBAAmB,CAAC,IAAI;IACtC,OAAO,IAAI,CAAC,UAAU,KAAK,uBAAW,CAAC;AACzC,CAAC;AAFD,kDAEC;AAYD;;;GAGG;AAEH;;;;;;;;GAQG;AAEH;;;;;;;;;;GAUG;AAEH;;;GAGG;AAEH;;;GAGG;AAEH;;;GAGG;AAEH;;;GAGG;AAEH;;;GAGG;AAEH;;GAEG;AAEH;;;;;;;GAOG;AAEH;;;;GAIG;AAEH;;;;GAIG"}
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { DriverType, PluginType, ServerArgs } from '@appium/types';
|
|
2
|
+
import { SetOptional } from 'type-fest';
|
|
3
|
+
import { InstallType } from './manifest';
|
|
4
|
+
export type CliCommandServer = 'server';
|
|
5
|
+
export type CliCommandDriver = DriverType;
|
|
6
|
+
export type CliCommandPlugin = PluginType;
|
|
7
|
+
/**
|
|
8
|
+
* Extension-specific commands
|
|
9
|
+
*/
|
|
10
|
+
export type CliExtensionCommand = CliCommandDriver | CliCommandPlugin;
|
|
11
|
+
/**
|
|
12
|
+
* Possible commands for the `appium` CLI.
|
|
13
|
+
*/
|
|
14
|
+
export type CliCommand = CliCommandServer | CliExtensionCommand;
|
|
15
|
+
/**
|
|
16
|
+
* Possible subcommands of {@linkcode CliCommandDriver} or
|
|
17
|
+
* {@linkcode CliCommandPlugin}.
|
|
18
|
+
*/
|
|
19
|
+
export type CliExtensionSubcommand = 'install' | 'list' | 'run' | 'uninstall' | 'update';
|
|
20
|
+
export interface CliExtensionSubcommandListArgs {
|
|
21
|
+
showInstalled?: boolean;
|
|
22
|
+
showUpdates?: boolean;
|
|
23
|
+
}
|
|
24
|
+
export interface CliExtensionSubcommandInstallArgs {
|
|
25
|
+
installType: InstallType;
|
|
26
|
+
packageName?: string;
|
|
27
|
+
}
|
|
28
|
+
export interface CliExtensionSubcommandUpdateArgs {
|
|
29
|
+
unsafe?: boolean;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Random stuff that may appear in the parsed args which has no equivalent in a
|
|
33
|
+
* config file.
|
|
34
|
+
*/
|
|
35
|
+
export interface MoreArgs {
|
|
36
|
+
/**
|
|
37
|
+
* Possible subcommands. If empty, defaults to {@linkcode CliCommandServer}.
|
|
38
|
+
*/
|
|
39
|
+
subcommand?: CliCommand;
|
|
40
|
+
/**
|
|
41
|
+
* Path to config file, if any. Does not make sense for this to be allowed in a config file!
|
|
42
|
+
*/
|
|
43
|
+
configFile?: string;
|
|
44
|
+
/**
|
|
45
|
+
* If true, show the config and exit
|
|
46
|
+
*/
|
|
47
|
+
showConfig?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* If true, open a REPL
|
|
50
|
+
*/
|
|
51
|
+
shell?: boolean;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* These arguments are _not_ supported by the CLI, but only via programmatic usage / tests.
|
|
55
|
+
*/
|
|
56
|
+
export interface ProgrammaticArgs {
|
|
57
|
+
/**
|
|
58
|
+
* If `true`, throw on error instead of exit.
|
|
59
|
+
*/
|
|
60
|
+
throwInsteadOfExit?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* Seems to only be used in tests or standalone driver calls
|
|
63
|
+
*/
|
|
64
|
+
logHandler?: (...args: any[]) => void;
|
|
65
|
+
/**
|
|
66
|
+
* Alternate way to set `APPIUM_HOME` for tests. Since we don't want to muck about
|
|
67
|
+
* with the environment, we just set it here.
|
|
68
|
+
*
|
|
69
|
+
* Setting this means that any discovery of the proper `APPIUM_HOME` path is bypassed
|
|
70
|
+
* and is equivalent to setting `APPIUM_HOME` in the environment.
|
|
71
|
+
*/
|
|
72
|
+
appiumHome?: string;
|
|
73
|
+
/**
|
|
74
|
+
* If true, show the {@link BuildInfo build info} and exit
|
|
75
|
+
*/
|
|
76
|
+
showBuildInfo?: boolean;
|
|
77
|
+
/**
|
|
78
|
+
* If true, show config and exit
|
|
79
|
+
*/
|
|
80
|
+
showConfig?: boolean;
|
|
81
|
+
}
|
|
82
|
+
export interface DriverExtArgs {
|
|
83
|
+
driverCommand: CliExtensionSubcommand;
|
|
84
|
+
driver?: string;
|
|
85
|
+
}
|
|
86
|
+
export interface PluginExtArgs {
|
|
87
|
+
pluginCommand: CliExtensionSubcommand;
|
|
88
|
+
plugin?: string;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* These are args which the user will specify if using an extension command
|
|
92
|
+
*/
|
|
93
|
+
export interface BaseExtArgs<Cmd extends CliExtensionCommand> {
|
|
94
|
+
subcommand: Cmd;
|
|
95
|
+
/**
|
|
96
|
+
* Output JSON instead of human-readable text
|
|
97
|
+
*/
|
|
98
|
+
json?: boolean;
|
|
99
|
+
/**
|
|
100
|
+
* Output nothing
|
|
101
|
+
*/
|
|
102
|
+
suppressOutput?: boolean;
|
|
103
|
+
/**
|
|
104
|
+
* Extra args to pass to extension scripts
|
|
105
|
+
*/
|
|
106
|
+
extraArgs?: string[];
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Args for extension commands; includes a subcommand
|
|
110
|
+
*/
|
|
111
|
+
export type ExtArgs<Cmd extends CliExtensionCommand, SubCmd extends CliExtensionSubcommand> = BaseExtArgs<Cmd> & (Cmd extends CliCommandDriver ? DriverExtArgs : Cmd extends CliCommandPlugin ? PluginExtArgs : never) & (SubCmd extends 'install' ? CliExtensionSubcommandInstallArgs : SubCmd extends 'list' ? CliExtensionSubcommandListArgs : SubCmd extends 'update' ? CliExtensionSubcommandUpdateArgs : never);
|
|
112
|
+
/**
|
|
113
|
+
* Some generic bits of arguments; should not be used outside this declaration
|
|
114
|
+
*/
|
|
115
|
+
export type CommonArgs<Cmd extends CliCommand = CliCommandServer, SubCmd extends CliExtensionSubcommand | void = void> = MoreArgs & ProgrammaticArgs & (Cmd extends CliCommandServer ? ServerArgs : Cmd extends CliExtensionCommand ? SubCmd extends CliExtensionSubcommand ? ExtArgs<Cmd, SubCmd> : never : never);
|
|
116
|
+
/**
|
|
117
|
+
* Fully-parsed arguments, containing defaults, computed args, and config file values.
|
|
118
|
+
*/
|
|
119
|
+
export type ParsedArgs<Cmd extends CliCommand = CliCommandServer, SubCmd extends CliExtensionSubcommand | void = void> = CommonArgs<Cmd, SubCmd>;
|
|
120
|
+
/**
|
|
121
|
+
* Like {@linkcode ParsedArgs} except server arguments are all optional.
|
|
122
|
+
*
|
|
123
|
+
* _May_ have defaults applied; _may_ contain config values; _may_ contain computed args.
|
|
124
|
+
*/
|
|
125
|
+
export type Args<Cmd extends CliCommand = CliCommandServer, SubCmd extends CliExtensionSubcommand | void = void> = Cmd extends CliCommandServer ? SetOptional<CommonArgs<Cmd>, keyof ServerArgs> : ParsedArgs<Cmd, SubCmd>;
|
|
126
|
+
/**
|
|
127
|
+
* Shown by `appium --build-info`
|
|
128
|
+
*/
|
|
129
|
+
export type BuildInfo = {
|
|
130
|
+
version: string;
|
|
131
|
+
'git-sha'?: string;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AgB,EACzC,MAAM,SAAS,sBAAsB,GAAG,IAAI,GAAG,IAAI,IACjD,QAAQ,GACV,gBAAgB,GAChB,CAAC,GAAG,SAAS,gBAAgB,GACzB,UAAU,GACV,GAAG,SAAS,mBAAmB,GAC/B,MAAM,SAAS,sBAAsB,GACnC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,GACpB,KAAK,GACP,KAAK,CAAC,CAAC;AAEb;;GAEG;AACH,MAAM,MAAM,UAAU,CACpB,GAAG,SAAS,UAAU,GAAG,gBAAgB,EACzC,MAAM,SAAS,sBAAsB,GAAG,IAAI,GAAG,IAAI,IACjD,UAAU,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;AAE5B;;;;GAIG;AACH,MAAM,MAAM,IAAI,CACd,GAAG,SAAS,UAAU,GAAG,gBAAgB,EACzC,MAAM,SAAS,sBAAsB,GAAG,IAAI,GAAG,IAAI,IACjD,GAAG,SAAS,gBAAgB,GAC5B,WAAW,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,MAAM,UAAU,CAAC,GAC9C,UAAU,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;AAE5B;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../../types/cli.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import { ExtensionType, DriverType, DriverClass, PluginType, PluginClass } from '@appium/types';
|
|
3
|
+
export * from './manifest';
|
|
4
|
+
export * from './cli';
|
|
5
|
+
/**
|
|
6
|
+
* Known environment variables concerning Appium
|
|
7
|
+
*/
|
|
8
|
+
export interface AppiumEnv extends NodeJS.ProcessEnv {
|
|
9
|
+
APPIUM_HOME?: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Generic to get at the class of an extension.
|
|
13
|
+
*/
|
|
14
|
+
export type ExtClass<ExtType extends ExtensionType> = ExtType extends DriverType ? DriverClass : ExtType extends PluginType ? PluginClass : never;
|
|
15
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":";AAAA,OAAO,EAAC,aAAa,EAAE,UAAU,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAC,MAAM,eAAe,CAAC;AAE9F,cAAc,YAAY,CAAC;AAC3B,cAAc,OAAO,CAAC;AAEtB;;GAEG;AACH,MAAM,WAAW,SAAU,SAAQ,MAAM,CAAC,UAAU;IAClD,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,MAAM,QAAQ,CAAC,OAAO,SAAS,aAAa,IAAI,OAAO,SAAS,UAAU,GAC5E,WAAW,GACX,OAAO,SAAS,UAAU,GAC1B,WAAW,GACX,KAAK,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./manifest"), exports);
|
|
18
|
+
__exportStar(require("./cli"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAEA,6CAA2B;AAC3B,wCAAsB"}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import { DriverType, ExtensionType, PluginType } from '@appium/types';
|
|
2
|
+
import { SchemaObject } from 'ajv';
|
|
3
|
+
import { PackageJson, SetRequired } from 'type-fest';
|
|
4
|
+
/**
|
|
5
|
+
* One of the possible extension installation stratgies
|
|
6
|
+
*/
|
|
7
|
+
export type InstallType = 'npm' | 'git' | 'local' | 'github';
|
|
8
|
+
export interface InternalMetadata {
|
|
9
|
+
/**
|
|
10
|
+
* Package name of extension
|
|
11
|
+
*
|
|
12
|
+
* `name` from its `package.json`
|
|
13
|
+
*/
|
|
14
|
+
pkgName: string;
|
|
15
|
+
/**
|
|
16
|
+
* Version of extension
|
|
17
|
+
*
|
|
18
|
+
* `version` from its `package.json`
|
|
19
|
+
*/
|
|
20
|
+
version: string;
|
|
21
|
+
/**
|
|
22
|
+
* The method in which the user installed the extension (the `source` CLI arg)
|
|
23
|
+
*/
|
|
24
|
+
installType: InstallType;
|
|
25
|
+
/**
|
|
26
|
+
* Whatever the user typed as the extension to install. May be derived from `package.json`
|
|
27
|
+
*/
|
|
28
|
+
installSpec: string;
|
|
29
|
+
/**
|
|
30
|
+
* Maximum version of Appium that this extension is compatible with.
|
|
31
|
+
*
|
|
32
|
+
* If `undefined`, we'll try anyway.
|
|
33
|
+
*/
|
|
34
|
+
appiumVersion?: string;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Shape of the `appium.schema` property in an extension's `package.json` (if it exists)
|
|
38
|
+
*/
|
|
39
|
+
export type ExtSchemaMetadata = string | (SchemaObject & {
|
|
40
|
+
[key: number]: never;
|
|
41
|
+
});
|
|
42
|
+
/**
|
|
43
|
+
* Manifest data shared by all extensions, as contained in `package.json`
|
|
44
|
+
*/
|
|
45
|
+
export interface CommonExtMetadata {
|
|
46
|
+
/**
|
|
47
|
+
* The main class of the extension.
|
|
48
|
+
*
|
|
49
|
+
* The extension must export this class by name.
|
|
50
|
+
*/
|
|
51
|
+
mainClass: string;
|
|
52
|
+
/**
|
|
53
|
+
* Lookup table of scripts to run via `appium <driver|plugin> run <script>` keyed by name.
|
|
54
|
+
*/
|
|
55
|
+
scripts?: Record<string, string>;
|
|
56
|
+
/**
|
|
57
|
+
* Schema describing configuration options (and CLI args) for the extension.
|
|
58
|
+
*
|
|
59
|
+
* Can also just be a path (relative to the extension root) to an external JSON schema file.
|
|
60
|
+
*/
|
|
61
|
+
schema?: ExtSchemaMetadata;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Driver-specific manifest data as stored in a driver's `package.json`
|
|
65
|
+
*/
|
|
66
|
+
export interface DriverMetadata {
|
|
67
|
+
/**
|
|
68
|
+
* Automation name of the driver
|
|
69
|
+
*/
|
|
70
|
+
automationName: string;
|
|
71
|
+
/**
|
|
72
|
+
* Platforms the driver supports
|
|
73
|
+
*/
|
|
74
|
+
platformNames: string[];
|
|
75
|
+
/**
|
|
76
|
+
* Short name of the driver (displayed in `appium list`, etc.)
|
|
77
|
+
*/
|
|
78
|
+
driverName: string;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Plugin-specific manifest data as stored in a plugin's `package.json`
|
|
82
|
+
*/
|
|
83
|
+
export interface PluginMetadata {
|
|
84
|
+
/**
|
|
85
|
+
* Short name of the plugin (displayed in `appium list`, etc.)
|
|
86
|
+
*/
|
|
87
|
+
pluginName: string;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Generic extension metadata as stored in the `appium` prop of an extension's `package.json`.
|
|
91
|
+
*/
|
|
92
|
+
export type ExtMetadata<ExtType extends ExtensionType> = (ExtType extends DriverType ? DriverMetadata : ExtType extends PluginType ? PluginMetadata : never) & CommonExtMetadata;
|
|
93
|
+
/**
|
|
94
|
+
* Combination of external + internal extension data with `driverName`/`pluginName` removed (it becomes a key in an {@linkcode ExtRecord} object).
|
|
95
|
+
* Part of `extensions.yaml`.
|
|
96
|
+
*/
|
|
97
|
+
export type ExtManifest<ExtType extends ExtensionType> = Omit<ExtMetadata<ExtType>, 'driverName' | 'pluginName'> & InternalMetadata;
|
|
98
|
+
/**
|
|
99
|
+
* Lookup of extension name to {@linkcode ExtManifest}.
|
|
100
|
+
* @see {ManifestData}
|
|
101
|
+
*/
|
|
102
|
+
export type ExtRecord<ExtType extends ExtensionType> = Record<string, ExtManifest<ExtType>>;
|
|
103
|
+
/**
|
|
104
|
+
* The shape of the `extensions.yaml` file
|
|
105
|
+
*/
|
|
106
|
+
export interface ManifestData {
|
|
107
|
+
drivers: ExtRecord<DriverType>;
|
|
108
|
+
plugins: ExtRecord<PluginType>;
|
|
109
|
+
schemaRev?: number;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* The name of an installed extension, as it appears in `extensions.yaml`
|
|
113
|
+
* (as a property name under `drivers` or `plugins`)
|
|
114
|
+
*/
|
|
115
|
+
export type ExtName<ExtType extends ExtensionType> = keyof ExtRecord<ExtType>;
|
|
116
|
+
/**
|
|
117
|
+
* A `package.json` containing extension metadata.
|
|
118
|
+
* Must have the following properties:
|
|
119
|
+
* - `name`: the name of the extension
|
|
120
|
+
* - `version`: the version of the extension
|
|
121
|
+
* - `appium`: the metadata for the extension
|
|
122
|
+
* - `peerDependencies.appium`: the maximum compatible version of Appium
|
|
123
|
+
*/
|
|
124
|
+
export type ExtPackageJson<ExtType extends ExtensionType> = SetRequired<PackageJson, 'name' | 'version'> & {
|
|
125
|
+
appium: ExtMetadata<ExtType>;
|
|
126
|
+
peerDependencies: {
|
|
127
|
+
appium: string;
|
|
128
|
+
[key: string]: string;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
/**
|
|
132
|
+
* A transient format between installation and insertion of extension metadata into the manifest.
|
|
133
|
+
*/
|
|
134
|
+
export type ExtInstallReceipt<ExtType extends ExtensionType> = ExtMetadata<ExtType> & InternalMetadata;
|
|
135
|
+
//# sourceMappingURL=base.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../types/manifest/base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAE,aAAa,EAAE,UAAU,EAAC,MAAM,eAAe,CAAC;AACpE,OAAO,EAAC,YAAY,EAAC,MAAM,KAAK,CAAC;AACjC,OAAO,EAAC,WAAW,EAAE,WAAW,EAAC,MAAM,WAAW,CAAC;AAEnD;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,KAAK,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,CAAC;AAE7D,MAAM,WAAW,gBAAgB;IAC/B;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,WAAW,EAAE,WAAW,CAAC;IACzB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,CAAC,YAAY,GAAG;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,KAAK,CAAA;CAAC,CAAC,CAAC;AAEjF;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAEjC;;;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gBAAgB,EAAE;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAC,CAAC;CAC3D,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,iBAAiB,CAAC,OAAO,SAAS,aAAa,IAAI,WAAW,CAAC,OAAO,CAAC,GACjF,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base.js","sourceRoot":"","sources":["../../../types/manifest/base.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* See `README.md` for information on how to add a new version of the schema.
|
|
3
|
+
* @module
|
|
4
|
+
*/
|
|
5
|
+
import * as ManifestV2 from './base';
|
|
6
|
+
import * as ManifestV3 from './v3';
|
|
7
|
+
import * as ManifestV4 from './v4';
|
|
8
|
+
export * from './v4';
|
|
9
|
+
export { ManifestV2, ManifestV3, ManifestV4 };
|
|
10
|
+
export interface ManifestDataVersions {
|
|
11
|
+
2: ManifestV2.ManifestData;
|
|
12
|
+
3: ManifestV3.ManifestData;
|
|
13
|
+
4: ManifestV4.ManifestData;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* One of the known versions of the `extensions.yaml` schema.
|
|
17
|
+
*
|
|
18
|
+
* @privateRemarks You probably don't need to edit this.
|
|
19
|
+
*/
|
|
20
|
+
export type AnyManifestDataVersion = ManifestDataVersions[keyof ManifestDataVersions];
|
|
21
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../types/manifest/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,UAAU,MAAM,QAAQ,CAAC;AACrC,OAAO,KAAK,UAAU,MAAM,MAAM,CAAC;AACnC,OAAO,KAAK,UAAU,MAAM,MAAM,CAAC;AAGnC,cAAc,MAAM,CAAC;AAGrB,OAAO,EAAC,UAAU,EAAE,UAAU,EAAE,UAAU,EAAC,CAAC;AAE5C,MAAM,WAAW,oBAAoB;IACnC,CAAC,EAAE,UAAU,CAAC,YAAY,CAAC;IAC3B,CAAC,EAAE,UAAU,CAAC,YAAY,CAAC;IAC3B,CAAC,EAAE,UAAU,CAAC,YAAY,CAAC;CAC5B;AAGD;;;;GAIG;AACH,MAAM,MAAM,sBAAsB,GAAG,oBAAoB,CAAC,MAAM,oBAAoB,CAAC,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* See `README.md` for information on how to add a new version of the schema.
|
|
4
|
+
* @module
|
|
5
|
+
*/
|
|
6
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
|
+
if (k2 === undefined) k2 = k;
|
|
8
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
9
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
10
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
11
|
+
}
|
|
12
|
+
Object.defineProperty(o, k2, desc);
|
|
13
|
+
}) : (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
o[k2] = m[k];
|
|
16
|
+
}));
|
|
17
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
18
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
19
|
+
}) : function(o, v) {
|
|
20
|
+
o["default"] = v;
|
|
21
|
+
});
|
|
22
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
23
|
+
if (mod && mod.__esModule) return mod;
|
|
24
|
+
var result = {};
|
|
25
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
26
|
+
__setModuleDefault(result, mod);
|
|
27
|
+
return result;
|
|
28
|
+
};
|
|
29
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
30
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
31
|
+
};
|
|
32
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
33
|
+
exports.ManifestV4 = exports.ManifestV3 = exports.ManifestV2 = void 0;
|
|
34
|
+
const ManifestV2 = __importStar(require("./base"));
|
|
35
|
+
exports.ManifestV2 = ManifestV2;
|
|
36
|
+
const ManifestV3 = __importStar(require("./v3"));
|
|
37
|
+
exports.ManifestV3 = ManifestV3;
|
|
38
|
+
const ManifestV4 = __importStar(require("./v4"));
|
|
39
|
+
exports.ManifestV4 = ManifestV4;
|
|
40
|
+
// add `import * as ManifestV<new-version> from './v<new-version>';` above
|
|
41
|
+
__exportStar(require("./v4"), exports);
|
|
42
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../types/manifest/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,mDAAqC;AAQ7B,gCAAU;AAPlB,iDAAmC;AAOf,gCAAU;AAN9B,iDAAmC;AAMH,gCAAU;AAL1C,0EAA0E;AAE1E,uCAAqB"}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import { DriverType, ExtensionType, PluginType } from '@appium/types';
|
|
2
|
+
import { SchemaObject } from 'ajv';
|
|
3
|
+
import { PackageJson, SetRequired } from 'type-fest';
|
|
4
|
+
/**
|
|
5
|
+
* One of the possible extension installation stratgies
|
|
6
|
+
*/
|
|
7
|
+
export type InstallType = 'npm' | 'git' | 'local' | 'github';
|
|
8
|
+
export interface InternalMetadata {
|
|
9
|
+
/**
|
|
10
|
+
* Package name of extension
|
|
11
|
+
*
|
|
12
|
+
* `name` from its `package.json`
|
|
13
|
+
*/
|
|
14
|
+
pkgName: string;
|
|
15
|
+
/**
|
|
16
|
+
* Version of extension
|
|
17
|
+
*
|
|
18
|
+
* `version` from its `package.json`
|
|
19
|
+
*/
|
|
20
|
+
version: string;
|
|
21
|
+
/**
|
|
22
|
+
* The method in which the user installed the extension (the `source` CLI arg)
|
|
23
|
+
*/
|
|
24
|
+
installType: InstallType;
|
|
25
|
+
/**
|
|
26
|
+
* Whatever the user typed as the extension to install. May be derived from `package.json`
|
|
27
|
+
*/
|
|
28
|
+
installSpec: string;
|
|
29
|
+
/**
|
|
30
|
+
* Maximum version of Appium that this extension is compatible with.
|
|
31
|
+
*
|
|
32
|
+
* If `undefined`, we'll try anyway.
|
|
33
|
+
*/
|
|
34
|
+
appiumVersion?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Path to the extension's root directory
|
|
37
|
+
*/
|
|
38
|
+
installPath: string;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Shape of the `appium.schema` property in an extension's `package.json` (if it exists)
|
|
42
|
+
*/
|
|
43
|
+
export type ExtSchemaMetadata = string | (SchemaObject & {
|
|
44
|
+
[key: number]: never;
|
|
45
|
+
});
|
|
46
|
+
/**
|
|
47
|
+
* Manifest data shared by all extensions, as contained in `package.json`
|
|
48
|
+
*/
|
|
49
|
+
export interface CommonExtMetadata {
|
|
50
|
+
/**
|
|
51
|
+
* The main class of the extension.
|
|
52
|
+
*
|
|
53
|
+
* The extension must export this class by name.
|
|
54
|
+
*/
|
|
55
|
+
mainClass: string;
|
|
56
|
+
/**
|
|
57
|
+
* Lookup table of scripts to run via `appium <driver|plugin> run <script>` keyed by name.
|
|
58
|
+
*/
|
|
59
|
+
scripts?: Record<string, string>;
|
|
60
|
+
/**
|
|
61
|
+
* Schema describing configuration options (and CLI args) for the extension.
|
|
62
|
+
*
|
|
63
|
+
* Can also just be a path (relative to the extension root) to an external JSON schema file.
|
|
64
|
+
*/
|
|
65
|
+
schema?: ExtSchemaMetadata;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Driver-specific manifest data as stored in a driver's `package.json`
|
|
69
|
+
*/
|
|
70
|
+
export interface DriverMetadata {
|
|
71
|
+
/**
|
|
72
|
+
* Automation name of the driver
|
|
73
|
+
*/
|
|
74
|
+
automationName: string;
|
|
75
|
+
/**
|
|
76
|
+
* Platforms the driver supports
|
|
77
|
+
*/
|
|
78
|
+
platformNames: string[];
|
|
79
|
+
/**
|
|
80
|
+
* Short name of the driver (displayed in `appium list`, etc.)
|
|
81
|
+
*/
|
|
82
|
+
driverName: string;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Plugin-specific manifest data as stored in a plugin's `package.json`
|
|
86
|
+
*/
|
|
87
|
+
export interface PluginMetadata {
|
|
88
|
+
/**
|
|
89
|
+
* Short name of the plugin (displayed in `appium list`, etc.)
|
|
90
|
+
*/
|
|
91
|
+
pluginName: string;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Generic extension metadata as stored in the `appium` prop of an extension's `package.json`.
|
|
95
|
+
*/
|
|
96
|
+
export type ExtMetadata<ExtType extends ExtensionType> = (ExtType extends DriverType ? DriverMetadata : ExtType extends PluginType ? PluginMetadata : never) & CommonExtMetadata;
|
|
97
|
+
/**
|
|
98
|
+
* Combination of external + internal extension data with `driverName`/`pluginName` removed (it becomes a key in an {@linkcode ExtRecord} object).
|
|
99
|
+
* Part of `extensions.yaml`.
|
|
100
|
+
*/
|
|
101
|
+
export type ExtManifest<ExtType extends ExtensionType> = Omit<ExtMetadata<ExtType>, 'driverName' | 'pluginName'> & InternalMetadata;
|
|
102
|
+
/**
|
|
103
|
+
* Lookup of extension name to {@linkcode ExtManifest}.
|
|
104
|
+
* @see {ManifestData}
|
|
105
|
+
*/
|
|
106
|
+
export type ExtRecord<ExtType extends ExtensionType> = Record<string, ExtManifest<ExtType>>;
|
|
107
|
+
/**
|
|
108
|
+
* The shape of the `extensions.yaml` file
|
|
109
|
+
*/
|
|
110
|
+
export interface ManifestData {
|
|
111
|
+
drivers: ExtRecord<DriverType>;
|
|
112
|
+
plugins: ExtRecord<PluginType>;
|
|
113
|
+
schemaRev: number;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* The name of an installed extension, as it appears in `extensions.yaml`
|
|
117
|
+
* (as a property name under `drivers` or `plugins`)
|
|
118
|
+
*/
|
|
119
|
+
export type ExtName<ExtType extends ExtensionType> = keyof ExtRecord<ExtType>;
|
|
120
|
+
/**
|
|
121
|
+
* A `package.json` containing extension metadata.
|
|
122
|
+
* Must have the following properties:
|
|
123
|
+
* - `name`: the name of the extension
|
|
124
|
+
* - `version`: the version of the extension
|
|
125
|
+
* - `appium`: the metadata for the extension
|
|
126
|
+
* - `peerDependencies.appium`: the maximum compatible version of Appium
|
|
127
|
+
*/
|
|
128
|
+
export type ExtPackageJson<ExtType extends ExtensionType> = SetRequired<PackageJson, 'name' | 'version'> & {
|
|
129
|
+
appium: ExtMetadata<ExtType>;
|
|
130
|
+
peerDependencies: {
|
|
131
|
+
appium: string;
|
|
132
|
+
[key: string]: string;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
/**
|
|
136
|
+
* A transient format between installation and insertion of extension metadata into the manifest.
|
|
137
|
+
*/
|
|
138
|
+
export type ExtInstallReceipt<ExtType extends ExtensionType> = ExtMetadata<ExtType> & InternalMetadata;
|
|
139
|
+
//# sourceMappingURL=v3.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v3.d.ts","sourceRoot":"","sources":["../../../types/manifest/v3.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAE,aAAa,EAAE,UAAU,EAAC,MAAM,eAAe,CAAC;AACpE,OAAO,EAAC,YAAY,EAAC,MAAM,KAAK,CAAC;AACjC,OAAO,EAAC,WAAW,EAAE,WAAW,EAAC,MAAM,WAAW,CAAC;AAEnD;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,KAAK,GAAG,KAAK,GAAG,OAAO,GAA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