@appium/schema 0.4.2 → 0.6.1
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.
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
export namespace AppiumConfigJsonSchema {
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
2
|
+
export let $schema: "http://json-schema.org/draft-07/schema";
|
|
3
|
+
export let additionalProperties: false;
|
|
4
|
+
export let description: "A schema for Appium configuration files";
|
|
5
5
|
export namespace properties {
|
|
6
6
|
export namespace $schema_1 {
|
|
7
|
-
|
|
7
|
+
let description_1: "The JSON schema for this file";
|
|
8
8
|
export { description_1 as description };
|
|
9
|
-
|
|
9
|
+
let _default: "https://raw.githubusercontent.com/appium/appium/master/packages/schema/lib/appium-config.schema.json";
|
|
10
10
|
export { _default as default };
|
|
11
|
-
export
|
|
12
|
-
export
|
|
11
|
+
export let type: "string";
|
|
12
|
+
export let format: "uri";
|
|
13
13
|
}
|
|
14
14
|
export { $schema_1 as $schema };
|
|
15
15
|
export namespace server {
|
|
16
|
-
|
|
16
|
+
let additionalProperties_1: false;
|
|
17
17
|
export { additionalProperties_1 as additionalProperties };
|
|
18
|
-
|
|
18
|
+
let description_2: "Configuration when running Appium as a server";
|
|
19
19
|
export { description_2 as description };
|
|
20
|
-
|
|
20
|
+
let properties_1: {
|
|
21
21
|
readonly address: {
|
|
22
22
|
readonly appiumCliAliases: readonly ["a"];
|
|
23
23
|
readonly default: "0.0.0.0";
|
|
@@ -140,6 +140,14 @@ export namespace AppiumConfigJsonSchema {
|
|
|
140
140
|
readonly title: "log-level config";
|
|
141
141
|
readonly type: "string";
|
|
142
142
|
};
|
|
143
|
+
readonly 'log-format': {
|
|
144
|
+
readonly appiumCliDest: "logFormat";
|
|
145
|
+
readonly default: "text";
|
|
146
|
+
readonly description: "Log format (text|json|pretty_json)";
|
|
147
|
+
readonly enum: readonly ["text", "json", "pretty_json"];
|
|
148
|
+
readonly title: "log-format config";
|
|
149
|
+
readonly type: "string";
|
|
150
|
+
};
|
|
143
151
|
readonly 'log-no-colors': {
|
|
144
152
|
readonly default: false;
|
|
145
153
|
readonly description: "Do not use color in console output";
|
|
@@ -152,6 +160,18 @@ export namespace AppiumConfigJsonSchema {
|
|
|
152
160
|
readonly title: "log-timestamp config";
|
|
153
161
|
readonly type: "boolean";
|
|
154
162
|
};
|
|
163
|
+
readonly 'plugins-import-chunk-size': {
|
|
164
|
+
readonly default: 7;
|
|
165
|
+
readonly description: "The maximum amount of plugins that could be imported in parallel on server startup";
|
|
166
|
+
readonly title: "plugins-import-chunk-size config";
|
|
167
|
+
readonly type: "number";
|
|
168
|
+
};
|
|
169
|
+
readonly 'drivers-import-chunk-size': {
|
|
170
|
+
readonly default: 3;
|
|
171
|
+
readonly description: "The maximum amount of drivers that could be imported in parallel on server startup";
|
|
172
|
+
readonly title: "drivers-import-chunk-size config";
|
|
173
|
+
readonly type: "number";
|
|
174
|
+
};
|
|
155
175
|
readonly 'long-stacktrace': {
|
|
156
176
|
readonly default: false;
|
|
157
177
|
readonly description: "Add long stack traces to log entries. Recommended for debugging only.";
|
|
@@ -160,7 +180,7 @@ export namespace AppiumConfigJsonSchema {
|
|
|
160
180
|
};
|
|
161
181
|
readonly 'no-perms-check': {
|
|
162
182
|
readonly default: false;
|
|
163
|
-
readonly description: "
|
|
183
|
+
readonly description: "Skip various permission checks on the server startup if set to true";
|
|
164
184
|
readonly title: "no-perms-check config";
|
|
165
185
|
readonly type: "boolean";
|
|
166
186
|
};
|
|
@@ -259,66 +279,66 @@ export namespace AppiumConfigJsonSchema {
|
|
|
259
279
|
};
|
|
260
280
|
};
|
|
261
281
|
export { properties_1 as properties };
|
|
262
|
-
export
|
|
263
|
-
|
|
282
|
+
export let title: "server config";
|
|
283
|
+
let type_1: "object";
|
|
264
284
|
export { type_1 as type };
|
|
265
285
|
}
|
|
266
286
|
}
|
|
267
|
-
|
|
287
|
+
let title_1: "Appium Configuration";
|
|
268
288
|
export { title_1 as title };
|
|
269
|
-
|
|
289
|
+
let type_2: "object";
|
|
270
290
|
export { type_2 as type };
|
|
271
291
|
export namespace $defs {
|
|
272
292
|
namespace logFilterText {
|
|
273
|
-
|
|
293
|
+
let type_3: "object";
|
|
274
294
|
export { type_3 as type };
|
|
275
|
-
|
|
295
|
+
let description_3: "Log filter with plain text";
|
|
276
296
|
export { description_3 as description };
|
|
277
297
|
export namespace properties_2 {
|
|
278
298
|
namespace text {
|
|
279
|
-
|
|
299
|
+
let description_4: "Text to match";
|
|
280
300
|
export { description_4 as description };
|
|
281
|
-
|
|
301
|
+
let type_4: "string";
|
|
282
302
|
export { type_4 as type };
|
|
283
303
|
}
|
|
284
304
|
}
|
|
285
305
|
export { properties_2 as properties };
|
|
286
|
-
export
|
|
306
|
+
export let required: readonly ["text"];
|
|
287
307
|
export namespace not {
|
|
288
|
-
|
|
308
|
+
let required_1: readonly ["pattern"];
|
|
289
309
|
export { required_1 as required };
|
|
290
310
|
}
|
|
291
311
|
}
|
|
292
312
|
namespace logFilterRegex {
|
|
293
|
-
|
|
313
|
+
let type_5: "object";
|
|
294
314
|
export { type_5 as type };
|
|
295
|
-
|
|
315
|
+
let description_5: "Log filter with regular expression";
|
|
296
316
|
export { description_5 as description };
|
|
297
317
|
export namespace properties_3 {
|
|
298
318
|
namespace pattern {
|
|
299
|
-
|
|
319
|
+
let description_6: "Regex pattern to match";
|
|
300
320
|
export { description_6 as description };
|
|
301
|
-
|
|
321
|
+
let type_6: "string";
|
|
302
322
|
export { type_6 as type };
|
|
303
|
-
|
|
323
|
+
let format_1: "regex";
|
|
304
324
|
export { format_1 as format };
|
|
305
325
|
}
|
|
306
326
|
}
|
|
307
327
|
export { properties_3 as properties };
|
|
308
|
-
|
|
328
|
+
let required_2: readonly ["pattern"];
|
|
309
329
|
export { required_2 as required };
|
|
310
330
|
export namespace not_1 {
|
|
311
|
-
|
|
331
|
+
let required_3: readonly ["text"];
|
|
312
332
|
export { required_3 as required };
|
|
313
333
|
}
|
|
314
334
|
export { not_1 as not };
|
|
315
335
|
}
|
|
316
336
|
namespace logFilter {
|
|
317
|
-
|
|
337
|
+
let type_7: "object";
|
|
318
338
|
export { type_7 as type };
|
|
319
|
-
|
|
339
|
+
let description_7: "Log filtering rule";
|
|
320
340
|
export { description_7 as description };
|
|
321
|
-
export
|
|
341
|
+
export let allOf: readonly [{
|
|
322
342
|
readonly type: "object";
|
|
323
343
|
readonly properties: {
|
|
324
344
|
readonly replacer: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* The single-source-of-truth of the Appium server configuration
|
|
3
|
+
* The single-source-of-truth of the Appium server configuration.
|
|
4
4
|
*
|
|
5
5
|
* This defines _both_ what the CLI supports and what the config files support.
|
|
6
6
|
*/
|
|
@@ -165,6 +165,14 @@ exports.AppiumConfigJsonSchema = ({
|
|
|
165
165
|
title: 'log-level config',
|
|
166
166
|
type: 'string',
|
|
167
167
|
},
|
|
168
|
+
'log-format': {
|
|
169
|
+
appiumCliDest: 'logFormat',
|
|
170
|
+
default: 'text',
|
|
171
|
+
description: 'Log format (text|json|pretty_json)',
|
|
172
|
+
enum: ['text', 'json', 'pretty_json'],
|
|
173
|
+
title: 'log-format config',
|
|
174
|
+
type: 'string',
|
|
175
|
+
},
|
|
168
176
|
'log-no-colors': {
|
|
169
177
|
default: false,
|
|
170
178
|
description: 'Do not use color in console output',
|
|
@@ -177,6 +185,18 @@ exports.AppiumConfigJsonSchema = ({
|
|
|
177
185
|
title: 'log-timestamp config',
|
|
178
186
|
type: 'boolean',
|
|
179
187
|
},
|
|
188
|
+
'plugins-import-chunk-size': {
|
|
189
|
+
default: 7,
|
|
190
|
+
description: 'The maximum amount of plugins that could be imported in parallel on server startup',
|
|
191
|
+
title: 'plugins-import-chunk-size config',
|
|
192
|
+
type: 'number',
|
|
193
|
+
},
|
|
194
|
+
'drivers-import-chunk-size': {
|
|
195
|
+
default: 3,
|
|
196
|
+
description: 'The maximum amount of drivers that could be imported in parallel on server startup',
|
|
197
|
+
title: 'drivers-import-chunk-size config',
|
|
198
|
+
type: 'number',
|
|
199
|
+
},
|
|
180
200
|
'long-stacktrace': {
|
|
181
201
|
default: false,
|
|
182
202
|
description: 'Add long stack traces to log entries. Recommended for debugging only.',
|
|
@@ -185,7 +205,7 @@ exports.AppiumConfigJsonSchema = ({
|
|
|
185
205
|
},
|
|
186
206
|
'no-perms-check': {
|
|
187
207
|
default: false,
|
|
188
|
-
description: '
|
|
208
|
+
description: 'Skip various permission checks on the server startup if set to true',
|
|
189
209
|
title: 'no-perms-check config',
|
|
190
210
|
type: 'boolean',
|
|
191
211
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appium-config-schema.js","sourceRoot":"","sources":["../../lib/appium-config-schema.js"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEU,QAAA,sBAAsB,GAAwB,CAAC;IAC1D,OAAO,EAAE,wCAAwC;IACjD,oBAAoB,EAAE,KAAK;IAC3B,WAAW,EAAE,yCAAyC;IACtD,UAAU,EAAE;QACV,OAAO,EAAE;YACP,WAAW,EAAE,+BAA+B;YAC5C,OAAO,EACL,sGAAsG;YACxG,IAAI,EAAE,QAAQ;YACd,MAAM,EAAE,KAAK;SACd;QACD,MAAM,EAAE;YACN,oBAAoB,EAAE,KAAK;YAC3B,WAAW,EAAE,+CAA+C;YAC5D,UAAU,EAAE;gBACV,OAAO,EAAE;oBACP,gBAAgB,EAAE,CAAC,GAAG,CAAC;oBACvB,OAAO,EAAE,SAAS;oBAClB,WAAW,EAAE,8CAA8C;oBAC3D,KAAK,EAAE,gBAAgB;oBACvB,IAAI,EAAE,QAAQ;oBACd,KAAK,EAAE;wBACL;4BACE,IAAI,EAAE,QAAQ;4BACd,MAAM,EAAE,UAAU;yBACnB;wBACD;4BACE,IAAI,EAAE,QAAQ;4BACd,MAAM,EAAE,MAAM;yBACf;qBACF;iBACF;gBACD,YAAY,EAAE;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,MAAM;wBACN,YAAY;wBACZ,WAAW;wBACX,WAAW;wBACX,YAAY;wBACZ,OAAO;wBACP,aAAa;wBACb,YAAY;wBACZ,YAAY;wBACZ,aAAa;wBACb,OAAO;wBACP,aAAa;wBACb,YAAY;wBACZ,YAAY;wBACZ,aAAa;qBACd;oBACD,KAAK,EAAE,kBAAkB;oBACzB,IAAI,EAAE,QAAQ;iBACf;gBACD,eAAe,EAAE;oBACf,OAAO,EAAE,KAAK;oBACd,WAAW,EAAE,oCAAoC;oBACjD,KAAK,EAAE,sBAAsB;oBAC7B,IAAI,EAAE,SAAS;iBAChB;gBACD,eAAe,EAAE;oBACf,OAAO,EAAE,KAAK;oBACd,WAAW,EAAE,mCAAmC;oBAChD,KAAK,EAAE,sBAAsB;oBAC7B,IAAI,EAAE,SAAS;iBAChB;gBACD,iBAAiB,EAAE;oBACjB,OAAO,EAAE,KAAK;oBACd,WAAW,EAAE,uEAAuE;oBACpF,KAAK,EAAE,wBAAwB;oBAC/B,IAAI,EAAE,SAAS;iBAChB;gBACD,gBAAgB,EAAE;oBAChB,OAAO,EAAE,KAAK;oBACd,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"appium-config-schema.js","sourceRoot":"","sources":["../../lib/appium-config-schema.js"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEU,QAAA,sBAAsB,GAAwB,CAAC;IAC1D,OAAO,EAAE,wCAAwC;IACjD,oBAAoB,EAAE,KAAK;IAC3B,WAAW,EAAE,yCAAyC;IACtD,UAAU,EAAE;QACV,OAAO,EAAE;YACP,WAAW,EAAE,+BAA+B;YAC5C,OAAO,EACL,sGAAsG;YACxG,IAAI,EAAE,QAAQ;YACd,MAAM,EAAE,KAAK;SACd;QACD,MAAM,EAAE;YACN,oBAAoB,EAAE,KAAK;YAC3B,WAAW,EAAE,+CAA+C;YAC5D,UAAU,EAAE;gBACV,OAAO,EAAE;oBACP,gBAAgB,EAAE,CAAC,GAAG,CAAC;oBACvB,OAAO,EAAE,SA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AAE,QAAQ;IACd,KAAK,EAAE;QACL,aAAa,EAAE;YACb,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,4BAA4B;YACzC,UAAU,EAAE;gBACV,IAAI,EAAE;oBACJ,WAAW,EAAE,eAAe;oBAC5B,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,QAAQ,EAAE,CAAC,MAAM,CAAC;YAClB,GAAG,EAAE;gBACH,QAAQ,EAAE,CAAC,SAAS,CAAC;aACtB;SACF;QACD,cAAc,EAAE;YACd,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,oCAAoC;YACjD,UAAU,EAAE;gBACV,OAAO,EAAE;oBACP,WAAW,EAAE,wBAAwB;oBACrC,IAAI,EAAE,QAAQ;oBACd,MAAM,EAAE,OAAO;iBAChB;aACF;YACD,QAAQ,EAAE,CAAC,SAAS,CAAC;YACrB,GAAG,EAAE;gBACH,QAAQ,EAAE,CAAC,MAAM,CAAC;aACnB;SACF;QACD,SAAS,EAAE;YACT,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,oBAAoB;YACjC,KAAK,EAAE;gBACL;oBACE,IAAI,EAAE,QAAQ;oBACd,UAAU,EAAE;wBACV,QAAQ,EAAE;4BACR,WAAW,EAAE,qCAAqC;4BAClD,IAAI,EAAE,QAAQ;4BACd,OAAO,EAAE,YAAY;yBACtB;wBACD,KAAK,EAAE;4BACL,WAAW,EACT,qIAAqI;4BACvI,IAAI,EAAE,QAAQ;4BACd,OAAO,EAAE,0BAA0B;yBACpC;qBACF;iBACF;gBACD;oBACE,KAAK,EAAE,CAAC,EAAC,IAAI,EAAE,uBAAuB,EAAC,EAAE,EAAC,IAAI,EAAE,wBAAwB,EAAC,CAAC;iBAC3E;aACF;SACF;KACF;CACF,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The single-source-of-truth of the Appium server configuration
|
|
2
|
+
* The single-source-of-truth of the Appium server configuration.
|
|
3
3
|
*
|
|
4
4
|
* This defines _both_ what the CLI supports and what the config files support.
|
|
5
5
|
*/
|
|
@@ -171,6 +171,14 @@ export const AppiumConfigJsonSchema = /** @type {const} */ ({
|
|
|
171
171
|
title: 'log-level config',
|
|
172
172
|
type: 'string',
|
|
173
173
|
},
|
|
174
|
+
'log-format': {
|
|
175
|
+
appiumCliDest: 'logFormat',
|
|
176
|
+
default: 'text',
|
|
177
|
+
description: 'Log format (text|json|pretty_json)',
|
|
178
|
+
enum: ['text', 'json', 'pretty_json'],
|
|
179
|
+
title: 'log-format config',
|
|
180
|
+
type: 'string',
|
|
181
|
+
},
|
|
174
182
|
'log-no-colors': {
|
|
175
183
|
default: false,
|
|
176
184
|
description: 'Do not use color in console output',
|
|
@@ -183,6 +191,20 @@ export const AppiumConfigJsonSchema = /** @type {const} */ ({
|
|
|
183
191
|
title: 'log-timestamp config',
|
|
184
192
|
type: 'boolean',
|
|
185
193
|
},
|
|
194
|
+
'plugins-import-chunk-size': {
|
|
195
|
+
default: 7,
|
|
196
|
+
description:
|
|
197
|
+
'The maximum amount of plugins that could be imported in parallel on server startup',
|
|
198
|
+
title: 'plugins-import-chunk-size config',
|
|
199
|
+
type: 'number',
|
|
200
|
+
},
|
|
201
|
+
'drivers-import-chunk-size': {
|
|
202
|
+
default: 3,
|
|
203
|
+
description:
|
|
204
|
+
'The maximum amount of drivers that could be imported in parallel on server startup',
|
|
205
|
+
title: 'drivers-import-chunk-size config',
|
|
206
|
+
type: 'number',
|
|
207
|
+
},
|
|
186
208
|
'long-stacktrace': {
|
|
187
209
|
default: false,
|
|
188
210
|
description: 'Add long stack traces to log entries. Recommended for debugging only.',
|
|
@@ -191,7 +213,7 @@ export const AppiumConfigJsonSchema = /** @type {const} */ ({
|
|
|
191
213
|
},
|
|
192
214
|
'no-perms-check': {
|
|
193
215
|
default: false,
|
|
194
|
-
description: '
|
|
216
|
+
description: 'Skip various permission checks on the server startup if set to true',
|
|
195
217
|
title: 'no-perms-check config',
|
|
196
218
|
type: 'boolean',
|
|
197
219
|
},
|
|
@@ -289,13 +311,15 @@ export const AppiumConfigJsonSchema = /** @type {const} */ ({
|
|
|
289
311
|
type: 'string',
|
|
290
312
|
},
|
|
291
313
|
'ssl-cert-path': {
|
|
292
|
-
description:
|
|
314
|
+
description:
|
|
315
|
+
'Full path to the .cert file if TLS is used. Must be provided together with "ssl-key-path"',
|
|
293
316
|
title: '.cert file path',
|
|
294
317
|
appiumCliDest: 'sslCertificatePath',
|
|
295
318
|
type: 'string',
|
|
296
319
|
},
|
|
297
320
|
'ssl-key-path': {
|
|
298
|
-
description:
|
|
321
|
+
description:
|
|
322
|
+
'Full path to the .key file if TLS is used. Must be provided together with "ssl-cert-path"',
|
|
299
323
|
title: '.key file path',
|
|
300
324
|
appiumCliDest: 'sslKeyPath',
|
|
301
325
|
type: 'string',
|
|
@@ -173,6 +173,18 @@
|
|
|
173
173
|
"title": "log-level config",
|
|
174
174
|
"type": "string"
|
|
175
175
|
},
|
|
176
|
+
"log-format": {
|
|
177
|
+
"appiumCliDest": "logFormat",
|
|
178
|
+
"default": "text",
|
|
179
|
+
"description": "Log format (text|json|pretty_json)",
|
|
180
|
+
"enum": [
|
|
181
|
+
"text",
|
|
182
|
+
"json",
|
|
183
|
+
"pretty_json"
|
|
184
|
+
],
|
|
185
|
+
"title": "log-format config",
|
|
186
|
+
"type": "string"
|
|
187
|
+
},
|
|
176
188
|
"log-no-colors": {
|
|
177
189
|
"default": false,
|
|
178
190
|
"description": "Do not use color in console output",
|
|
@@ -185,6 +197,18 @@
|
|
|
185
197
|
"title": "log-timestamp config",
|
|
186
198
|
"type": "boolean"
|
|
187
199
|
},
|
|
200
|
+
"plugins-import-chunk-size": {
|
|
201
|
+
"default": 7,
|
|
202
|
+
"description": "The maximum amount of plugins that could be imported in parallel on server startup",
|
|
203
|
+
"title": "plugins-import-chunk-size config",
|
|
204
|
+
"type": "number"
|
|
205
|
+
},
|
|
206
|
+
"drivers-import-chunk-size": {
|
|
207
|
+
"default": 3,
|
|
208
|
+
"description": "The maximum amount of drivers that could be imported in parallel on server startup",
|
|
209
|
+
"title": "drivers-import-chunk-size config",
|
|
210
|
+
"type": "number"
|
|
211
|
+
},
|
|
188
212
|
"long-stacktrace": {
|
|
189
213
|
"default": false,
|
|
190
214
|
"description": "Add long stack traces to log entries. Recommended for debugging only.",
|
|
@@ -193,7 +217,7 @@
|
|
|
193
217
|
},
|
|
194
218
|
"no-perms-check": {
|
|
195
219
|
"default": false,
|
|
196
|
-
"description": "
|
|
220
|
+
"description": "Skip various permission checks on the server startup if set to true",
|
|
197
221
|
"title": "no-perms-check config",
|
|
198
222
|
"type": "boolean"
|
|
199
223
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appium/schema",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "Appium Configuration Schema",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"automation",
|
|
@@ -49,8 +49,5 @@
|
|
|
49
49
|
"publishConfig": {
|
|
50
50
|
"access": "public"
|
|
51
51
|
},
|
|
52
|
-
"
|
|
53
|
-
"entryPoint": "./lib/index.js"
|
|
54
|
-
},
|
|
55
|
-
"gitHead": "717ec38d8cb63330ac1901eda8ef4489d256678b"
|
|
52
|
+
"gitHead": "2b12d5974a23090ec4a167d91628d56c0b482c46"
|
|
56
53
|
}
|