@appium/schema
Advanced tools
Comparing version 0.0.9 to 0.1.0
@@ -6,7 +6,16 @@ export namespace AppiumConfigJsonSchema { | ||
export namespace properties { | ||
namespace server { | ||
export namespace $schema_1 { | ||
const description_1: "The JSON schema for this file"; | ||
export { description_1 as description }; | ||
const _default: "https://raw.githubusercontent.com/appium/appium/master/packages/schema/lib/appium-config.schema.json"; | ||
export { _default as default }; | ||
export const type: "string"; | ||
export const format: "uri"; | ||
} | ||
export { $schema_1 as $schema }; | ||
export namespace server { | ||
const additionalProperties_1: false; | ||
export { additionalProperties_1 as additionalProperties }; | ||
const description_1: "Configuration when running Appium as a server"; | ||
export { description_1 as description }; | ||
const description_2: "Configuration when running Appium as a server"; | ||
export { description_2 as description }; | ||
const properties_1: { | ||
@@ -114,9 +123,9 @@ readonly address: { | ||
readonly 'log-filters': { | ||
readonly $comment: "TODO"; | ||
readonly description: "One or more log filtering rules"; | ||
readonly title: "log-filters config"; | ||
readonly type: "array"; | ||
readonly items: { | ||
readonly type: "string"; | ||
readonly $ref: "#/$defs/logFilter"; | ||
}; | ||
readonly title: "log-filters config"; | ||
readonly type: "array"; | ||
readonly appiumCliTransformer: "json"; | ||
}; | ||
@@ -207,3 +216,3 @@ readonly 'log-level': { | ||
readonly 'use-drivers': { | ||
readonly appiumCliDescription: "A list of drivers to activate. Can be a comma-delimited string or path to CSV file. By default, all installed drivers will be activated."; | ||
readonly appiumCliDescription: "A list of drivers to activate. Can be a comma-delimited string or path to CSV file. By default, all installed drivers will be activated. Windows environments may require wrapping the comma-delimited string with quotes to escape the comma."; | ||
readonly default: readonly []; | ||
@@ -219,3 +228,3 @@ readonly description: "A list of drivers to activate. By default, all installed drivers will be activated."; | ||
readonly 'use-plugins': { | ||
readonly appiumCliDescription: "A list of plugins to activate. Can be a comma-delimited string, path to CSV file, or the string \"all\" to use all installed plugins."; | ||
readonly appiumCliDescription: "A list of plugins to activate. Can be a comma-delimited string, path to CSV file, or the string \"all\" to use all installed plugins. Windows environments may require wrapping the comma-delimited string with quotes to escape the comma."; | ||
readonly default: readonly []; | ||
@@ -241,3 +250,4 @@ readonly description: "A list of plugins to activate. To activate all plugins, the value should be an array with a single item \"all\"."; | ||
export const title: "server config"; | ||
export const type: "object"; | ||
const type_1: "object"; | ||
export { type_1 as type }; | ||
} | ||
@@ -247,5 +257,78 @@ } | ||
export { title_1 as title }; | ||
const type_1: "object"; | ||
export { type_1 as type }; | ||
const type_2: "object"; | ||
export { type_2 as type }; | ||
export namespace $defs { | ||
namespace logFilterText { | ||
const type_3: "object"; | ||
export { type_3 as type }; | ||
const description_3: "Log filter with plain text"; | ||
export { description_3 as description }; | ||
export namespace properties_2 { | ||
namespace text { | ||
const description_4: "Text to match"; | ||
export { description_4 as description }; | ||
const type_4: "string"; | ||
export { type_4 as type }; | ||
} | ||
} | ||
export { properties_2 as properties }; | ||
export const required: readonly ["text"]; | ||
export namespace not { | ||
const required_1: readonly ["pattern"]; | ||
export { required_1 as required }; | ||
} | ||
} | ||
namespace logFilterRegex { | ||
const type_5: "object"; | ||
export { type_5 as type }; | ||
const description_5: "Log filter with regular expression"; | ||
export { description_5 as description }; | ||
export namespace properties_3 { | ||
namespace pattern { | ||
const description_6: "Regex pattern to match"; | ||
export { description_6 as description }; | ||
const type_6: "string"; | ||
export { type_6 as type }; | ||
const format_1: "regex"; | ||
export { format_1 as format }; | ||
} | ||
} | ||
export { properties_3 as properties }; | ||
const required_2: readonly ["pattern"]; | ||
export { required_2 as required }; | ||
export namespace not_1 { | ||
const required_3: readonly ["text"]; | ||
export { required_3 as required }; | ||
} | ||
export { not_1 as not }; | ||
} | ||
namespace logFilter { | ||
const type_7: "object"; | ||
export { type_7 as type }; | ||
const description_7: "Log filtering rule"; | ||
export { description_7 as description }; | ||
export const allOf: readonly [{ | ||
readonly type: "object"; | ||
readonly properties: { | ||
readonly replacer: { | ||
readonly description: "Replacement string for matched text"; | ||
readonly type: "string"; | ||
readonly default: "**SECURE**"; | ||
}; | ||
readonly flags: { | ||
readonly description: "Matching flags; see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions#advanced_searching_with_flags"; | ||
readonly type: "string"; | ||
readonly pattern: "^[igmsduy](,[igmsduy])*$"; | ||
}; | ||
}; | ||
}, { | ||
readonly oneOf: readonly [{ | ||
readonly $ref: "#/$defs/logFilterText"; | ||
}, { | ||
readonly $ref: "#/$defs/logFilterRegex"; | ||
}]; | ||
}]; | ||
} | ||
} | ||
} | ||
//# sourceMappingURL=appium-config-schema.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
/** | ||
* The single-source-of-truth of the Appium server configuration | ||
* | ||
* This defines _both_ what the CLI supports and what the config files support. | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.AppiumConfigJsonSchema = void 0; | ||
require("source-map-support/register"); | ||
const AppiumConfigJsonSchema = { | ||
$schema: 'http://json-schema.org/draft-07/schema', | ||
additionalProperties: false, | ||
description: 'A schema for Appium configuration files', | ||
properties: { | ||
server: { | ||
additionalProperties: false, | ||
description: 'Configuration when running Appium as a server', | ||
properties: { | ||
address: { | ||
$comment: 'I think hostname covers both DNS and IPv4...could be wrong', | ||
appiumCliAliases: ['a'], | ||
default: '0.0.0.0', | ||
description: 'IP address to listen on', | ||
format: 'hostname', | ||
title: 'address config', | ||
type: 'string' | ||
exports.AppiumConfigJsonSchema = ({ | ||
$schema: 'http://json-schema.org/draft-07/schema', | ||
additionalProperties: false, | ||
description: 'A schema for Appium configuration files', | ||
properties: { | ||
$schema: { | ||
description: 'The JSON schema for this file', | ||
default: 'https://raw.githubusercontent.com/appium/appium/master/packages/schema/lib/appium-config.schema.json', | ||
type: 'string', | ||
format: 'uri', | ||
}, | ||
'allow-cors': { | ||
description: 'Whether the Appium server should allow web browser connections from any host', | ||
title: 'allow-cors config', | ||
type: 'boolean', | ||
default: false | ||
server: { | ||
additionalProperties: false, | ||
description: 'Configuration when running Appium as a server', | ||
properties: { | ||
address: { | ||
$comment: 'I think hostname covers both DNS and IPv4...could be wrong', | ||
appiumCliAliases: ['a'], | ||
default: '0.0.0.0', | ||
description: 'IP address to listen on', | ||
format: 'hostname', | ||
title: 'address config', | ||
type: 'string', | ||
}, | ||
'allow-cors': { | ||
description: 'Whether the Appium server should allow web browser connections from any host', | ||
title: 'allow-cors config', | ||
type: 'boolean', | ||
default: false, | ||
}, | ||
'allow-insecure': { | ||
appiumCliTransformer: 'csv', | ||
default: [], | ||
description: 'Set which insecure features are allowed to run in this server\'s sessions. Features are defined on a driver level; see documentation for more details. Note that features defined via "deny-insecure" will be disabled, even if also listed here. If string, a path to a text file containing policy or a comma-delimited list.', | ||
items: { | ||
type: 'string', | ||
}, | ||
title: 'allow-insecure config', | ||
type: 'array', | ||
uniqueItems: true, | ||
}, | ||
'base-path': { | ||
appiumCliAliases: ['pa'], | ||
default: '', | ||
description: 'Base path to use as the prefix for all webdriver routes running on the server', | ||
title: 'base-path config', | ||
type: 'string', | ||
}, | ||
'callback-address': { | ||
appiumCliAliases: ['ca'], | ||
description: 'Callback IP address (default: same as "address")', | ||
title: 'callback-address config', | ||
type: 'string', | ||
}, | ||
'callback-port': { | ||
appiumCliAliases: ['cp'], | ||
default: 4723, | ||
description: 'Callback port (default: same as "port")', | ||
maximum: 65535, | ||
minimum: 1, | ||
title: 'callback-port config', | ||
type: 'integer', | ||
}, | ||
'debug-log-spacing': { | ||
default: false, | ||
description: 'Add exaggerated spacing in logs to help with visual inspection', | ||
title: 'debug-log-spacing config', | ||
type: 'boolean', | ||
}, | ||
'default-capabilities': { | ||
$comment: 'TODO', | ||
appiumCliAliases: ['dc'], | ||
description: 'Set the default desired capabilities, which will be set on each session unless overridden by received capabilities. If a string, a path to a JSON file containing the capabilities, or raw JSON.', | ||
title: 'default-capabilities config', | ||
type: 'object', | ||
}, | ||
'deny-insecure': { | ||
$comment: 'Allowed values are defined by drivers', | ||
appiumCliTransformer: 'csv', | ||
default: [], | ||
description: 'Set which insecure features are not allowed to run in this server\'s sessions. Features are defined on a driver level; see documentation for more details. Features listed here will not be enabled even if also listed in "allow-insecure", and even if "relaxed-security" is enabled. If string, a path to a text file containing policy or a comma-delimited list.', | ||
items: { | ||
type: 'string', | ||
}, | ||
title: 'deny-insecure config', | ||
type: 'array', | ||
uniqueItems: true, | ||
}, | ||
driver: { | ||
description: 'Driver-specific configuration. Keys should correspond to driver package names', | ||
properties: /** @type {Record<string,import('json-schema').JSONSchema7>} */ ({}), | ||
title: 'driver config', | ||
type: 'object', | ||
}, | ||
'keep-alive-timeout': { | ||
appiumCliAliases: ['ka'], | ||
default: 600, | ||
description: 'Number of seconds the Appium server should apply as both the keep-alive timeout and the connection timeout for all requests. A value of 0 disables the timeout.', | ||
minimum: 0, | ||
title: 'keep-alive-timeout config', | ||
type: 'integer', | ||
}, | ||
'local-timezone': { | ||
default: false, | ||
description: 'Use local timezone for timestamps', | ||
title: 'local-timezone config', | ||
type: 'boolean', | ||
}, | ||
log: { | ||
appiumCliAliases: ['g'], | ||
appiumCliDest: 'logFile', | ||
description: 'Also send log output to this file', | ||
title: 'log config', | ||
type: 'string', | ||
}, | ||
'log-filters': { | ||
description: 'One or more log filtering rules', | ||
title: 'log-filters config', | ||
type: 'array', | ||
items: { $ref: '#/$defs/logFilter' }, | ||
appiumCliTransformer: 'json', | ||
}, | ||
'log-level': { | ||
appiumCliDest: 'loglevel', | ||
default: 'debug', | ||
description: 'Log level (console[:file])', | ||
enum: [ | ||
'info', | ||
'info:debug', | ||
'info:info', | ||
'info:warn', | ||
'info:error', | ||
'warn', | ||
'warn:debug', | ||
'warn:info', | ||
'warn:warn', | ||
'warn:error', | ||
'error', | ||
'error:debug', | ||
'error:info', | ||
'error:warn', | ||
'error:error', | ||
'debug', | ||
'debug:debug', | ||
'debug:info', | ||
'debug:warn', | ||
'debug:error', | ||
], | ||
title: 'log-level config', | ||
type: 'string', | ||
}, | ||
'log-no-colors': { | ||
default: false, | ||
description: 'Do not use color in console output', | ||
title: 'log-no-colors config', | ||
type: 'boolean', | ||
}, | ||
'log-timestamp': { | ||
default: false, | ||
description: 'Show timestamps in console output', | ||
title: 'log-timestamp config', | ||
type: 'boolean', | ||
}, | ||
'long-stacktrace': { | ||
default: false, | ||
description: 'Add long stack traces to log entries. Recommended for debugging only.', | ||
title: 'long-stacktrace config', | ||
type: 'boolean', | ||
}, | ||
'no-perms-check': { | ||
default: false, | ||
description: 'Do not check that needed files are readable and/or writable', | ||
title: 'no-perms-check config', | ||
type: 'boolean', | ||
}, | ||
nodeconfig: { | ||
$comment: 'Selenium Grid 3 is unmaintained and Selenium Grid 4 no longer supports this file.', | ||
description: 'Path to configuration JSON file to register Appium as a node with Selenium Grid 3; otherwise the configuration itself', | ||
title: 'nodeconfig config', | ||
type: 'object', | ||
}, | ||
plugin: { | ||
description: 'Plugin-specific configuration. Keys should correspond to plugin package names', | ||
properties: /** @type {Record<string,import('json-schema').JSONSchema7>} */ ({}), | ||
title: 'plugin config', | ||
type: 'object', | ||
}, | ||
port: { | ||
appiumCliAliases: ['p'], | ||
default: 4723, | ||
description: 'Port to listen on', | ||
maximum: 65535, | ||
minimum: 1, | ||
title: 'port config', | ||
type: 'integer', | ||
}, | ||
'relaxed-security': { | ||
default: false, | ||
description: 'Disable additional security checks, so it is possible to use some advanced features, provided by drivers supporting this option. Only enable it if all the clients are in the trusted network and it\'s not the case if a client could potentially break out of the session sandbox. Specific features can be overridden by using "deny-insecure"', | ||
title: 'relaxed-security config', | ||
type: 'boolean', | ||
appiumCliDest: 'relaxedSecurityEnabled', | ||
}, | ||
'session-override': { | ||
default: false, | ||
description: 'Enables session override (clobbering)', | ||
title: 'session-override config', | ||
type: 'boolean', | ||
}, | ||
'strict-caps': { | ||
default: false, | ||
description: 'Cause sessions to fail if desired caps are sent in that Appium does not recognize as valid for the selected device', | ||
title: 'strict-caps config', | ||
type: 'boolean', | ||
}, | ||
tmp: { | ||
appiumCliDest: 'tmpDir', | ||
description: 'Absolute path to directory Appium can use to manage temp files. Defaults to C:\\Windows\\Temp on Windows and /tmp otherwise.', | ||
title: 'tmp config', | ||
type: 'string', | ||
}, | ||
'trace-dir': { | ||
description: 'Absolute path to directory Appium can use to save iOS instrument traces; defaults to <tmp>/appium-instruments', | ||
title: 'trace-dir config', | ||
type: 'string', | ||
}, | ||
'use-drivers': { | ||
appiumCliDescription: 'A list of drivers to activate. Can be a comma-delimited string or path to CSV file. By default, all installed drivers will be activated. Windows environments may require wrapping the comma-delimited string with quotes to escape the comma.', | ||
default: [], | ||
description: 'A list of drivers to activate. By default, all installed drivers will be activated.', | ||
items: { | ||
type: 'string', | ||
}, | ||
title: 'use-drivers config', | ||
type: 'array', | ||
uniqueItems: true, | ||
}, | ||
'use-plugins': { | ||
appiumCliDescription: 'A list of plugins to activate. Can be a comma-delimited string, path to CSV file, or the string "all" to use all installed plugins. Windows environments may require wrapping the comma-delimited string with quotes to escape the comma.', | ||
default: [], | ||
description: 'A list of plugins to activate. To activate all plugins, the value should be an array with a single item "all".', | ||
items: { | ||
type: 'string', | ||
}, | ||
title: 'use-plugins config', | ||
type: 'array', | ||
uniqueItems: true, | ||
}, | ||
webhook: { | ||
$comment: 'This should probably use a uri-template format to restrict the protocol to http/https', | ||
appiumCliAliases: ['G'], | ||
description: 'Also send log output to this http listener', | ||
format: 'uri', | ||
title: 'webhook config', | ||
type: 'string', | ||
}, | ||
}, | ||
title: 'server config', | ||
type: 'object', | ||
}, | ||
'allow-insecure': { | ||
appiumCliTransformer: 'csv', | ||
default: [], | ||
description: 'Set which insecure features are allowed to run in this server\'s sessions. Features are defined on a driver level; see documentation for more details. Note that features defined via "deny-insecure" will be disabled, even if also listed here. If string, a path to a text file containing policy or a comma-delimited list.', | ||
items: { | ||
type: 'string' | ||
}, | ||
title: 'allow-insecure config', | ||
type: 'array', | ||
uniqueItems: true | ||
}, | ||
title: 'Appium Configuration', | ||
type: 'object', | ||
$defs: { | ||
logFilterText: { | ||
type: 'object', | ||
description: 'Log filter with plain text', | ||
properties: { | ||
text: { | ||
description: 'Text to match', | ||
type: 'string', | ||
}, | ||
}, | ||
required: ['text'], | ||
not: { | ||
required: ['pattern'], | ||
}, | ||
}, | ||
'base-path': { | ||
appiumCliAliases: ['pa'], | ||
default: '', | ||
description: 'Base path to use as the prefix for all webdriver routes running on the server', | ||
title: 'base-path config', | ||
type: 'string' | ||
logFilterRegex: { | ||
type: 'object', | ||
description: 'Log filter with regular expression', | ||
properties: { | ||
pattern: { | ||
description: 'Regex pattern to match', | ||
type: 'string', | ||
format: 'regex', | ||
}, | ||
}, | ||
required: ['pattern'], | ||
not: { | ||
required: ['text'], | ||
}, | ||
}, | ||
'callback-address': { | ||
appiumCliAliases: ['ca'], | ||
description: 'Callback IP address (default: same as "address")', | ||
title: 'callback-address config', | ||
type: 'string' | ||
logFilter: { | ||
type: 'object', | ||
description: 'Log filtering rule', | ||
allOf: [ | ||
{ | ||
type: 'object', | ||
properties: { | ||
replacer: { | ||
description: 'Replacement string for matched text', | ||
type: 'string', | ||
default: '**SECURE**', | ||
}, | ||
flags: { | ||
description: 'Matching flags; see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions#advanced_searching_with_flags', | ||
type: 'string', | ||
pattern: '^[igmsduy](,[igmsduy])*$', | ||
}, | ||
}, | ||
}, | ||
{ | ||
oneOf: [{ $ref: '#/$defs/logFilterText' }, { $ref: '#/$defs/logFilterRegex' }], | ||
}, | ||
], | ||
}, | ||
'callback-port': { | ||
appiumCliAliases: ['cp'], | ||
default: 4723, | ||
description: 'Callback port (default: same as "port")', | ||
maximum: 65535, | ||
minimum: 1, | ||
title: 'callback-port config', | ||
type: 'integer' | ||
}, | ||
'debug-log-spacing': { | ||
default: false, | ||
description: 'Add exaggerated spacing in logs to help with visual inspection', | ||
title: 'debug-log-spacing config', | ||
type: 'boolean' | ||
}, | ||
'default-capabilities': { | ||
$comment: 'TODO', | ||
appiumCliAliases: ['dc'], | ||
description: 'Set the default desired capabilities, which will be set on each session unless overridden by received capabilities. If a string, a path to a JSON file containing the capabilities, or raw JSON.', | ||
title: 'default-capabilities config', | ||
type: 'object' | ||
}, | ||
'deny-insecure': { | ||
$comment: 'Allowed values are defined by drivers', | ||
appiumCliTransformer: 'csv', | ||
default: [], | ||
description: 'Set which insecure features are not allowed to run in this server\'s sessions. Features are defined on a driver level; see documentation for more details. Features listed here will not be enabled even if also listed in "allow-insecure", and even if "relaxed-security" is enabled. If string, a path to a text file containing policy or a comma-delimited list.', | ||
items: { | ||
type: 'string' | ||
}, | ||
title: 'deny-insecure config', | ||
type: 'array', | ||
uniqueItems: true | ||
}, | ||
driver: { | ||
description: 'Driver-specific configuration. Keys should correspond to driver package names', | ||
properties: {}, | ||
title: 'driver config', | ||
type: 'object' | ||
}, | ||
'keep-alive-timeout': { | ||
appiumCliAliases: ['ka'], | ||
default: 600, | ||
description: 'Number of seconds the Appium server should apply as both the keep-alive timeout and the connection timeout for all requests. A value of 0 disables the timeout.', | ||
minimum: 0, | ||
title: 'keep-alive-timeout config', | ||
type: 'integer' | ||
}, | ||
'local-timezone': { | ||
default: false, | ||
description: 'Use local timezone for timestamps', | ||
title: 'local-timezone config', | ||
type: 'boolean' | ||
}, | ||
log: { | ||
appiumCliAliases: ['g'], | ||
appiumCliDest: 'logFile', | ||
description: 'Also send log output to this file', | ||
title: 'log config', | ||
type: 'string' | ||
}, | ||
'log-filters': { | ||
$comment: 'TODO', | ||
description: 'One or more log filtering rules', | ||
items: { | ||
type: 'string' | ||
}, | ||
title: 'log-filters config', | ||
type: 'array' | ||
}, | ||
'log-level': { | ||
appiumCliDest: 'loglevel', | ||
default: 'debug', | ||
description: 'Log level (console[:file])', | ||
enum: ['info', 'info:debug', 'info:info', 'info:warn', 'info:error', 'warn', 'warn:debug', 'warn:info', 'warn:warn', 'warn:error', 'error', 'error:debug', 'error:info', 'error:warn', 'error:error', 'debug', 'debug:debug', 'debug:info', 'debug:warn', 'debug:error'], | ||
title: 'log-level config', | ||
type: 'string' | ||
}, | ||
'log-no-colors': { | ||
default: false, | ||
description: 'Do not use color in console output', | ||
title: 'log-no-colors config', | ||
type: 'boolean' | ||
}, | ||
'log-timestamp': { | ||
default: false, | ||
description: 'Show timestamps in console output', | ||
title: 'log-timestamp config', | ||
type: 'boolean' | ||
}, | ||
'long-stacktrace': { | ||
default: false, | ||
description: 'Add long stack traces to log entries. Recommended for debugging only.', | ||
title: 'long-stacktrace config', | ||
type: 'boolean' | ||
}, | ||
'no-perms-check': { | ||
default: false, | ||
description: 'Do not check that needed files are readable and/or writable', | ||
title: 'no-perms-check config', | ||
type: 'boolean' | ||
}, | ||
nodeconfig: { | ||
$comment: 'Selenium Grid 3 is unmaintained and Selenium Grid 4 no longer supports this file.', | ||
description: 'Path to configuration JSON file to register Appium as a node with Selenium Grid 3; otherwise the configuration itself', | ||
title: 'nodeconfig config', | ||
type: 'object' | ||
}, | ||
plugin: { | ||
description: 'Plugin-specific configuration. Keys should correspond to plugin package names', | ||
properties: {}, | ||
title: 'plugin config', | ||
type: 'object' | ||
}, | ||
port: { | ||
appiumCliAliases: ['p'], | ||
default: 4723, | ||
description: 'Port to listen on', | ||
maximum: 65535, | ||
minimum: 1, | ||
title: 'port config', | ||
type: 'integer' | ||
}, | ||
'relaxed-security': { | ||
default: false, | ||
description: 'Disable additional security checks, so it is possible to use some advanced features, provided by drivers supporting this option. Only enable it if all the clients are in the trusted network and it\'s not the case if a client could potentially break out of the session sandbox. Specific features can be overridden by using "deny-insecure"', | ||
title: 'relaxed-security config', | ||
type: 'boolean', | ||
appiumCliDest: 'relaxedSecurityEnabled' | ||
}, | ||
'session-override': { | ||
default: false, | ||
description: 'Enables session override (clobbering)', | ||
title: 'session-override config', | ||
type: 'boolean' | ||
}, | ||
'strict-caps': { | ||
default: false, | ||
description: 'Cause sessions to fail if desired caps are sent in that Appium does not recognize as valid for the selected device', | ||
title: 'strict-caps config', | ||
type: 'boolean' | ||
}, | ||
tmp: { | ||
appiumCliDest: 'tmpDir', | ||
description: 'Absolute path to directory Appium can use to manage temp files. Defaults to C:\\Windows\\Temp on Windows and /tmp otherwise.', | ||
title: 'tmp config', | ||
type: 'string' | ||
}, | ||
'trace-dir': { | ||
description: 'Absolute path to directory Appium can use to save iOS instrument traces; defaults to <tmp>/appium-instruments', | ||
title: 'trace-dir config', | ||
type: 'string' | ||
}, | ||
'use-drivers': { | ||
appiumCliDescription: 'A list of drivers to activate. Can be a comma-delimited string or path to CSV file. By default, all installed drivers will be activated.', | ||
default: [], | ||
description: 'A list of drivers to activate. By default, all installed drivers will be activated.', | ||
items: { | ||
type: 'string' | ||
}, | ||
title: 'use-drivers config', | ||
type: 'array', | ||
uniqueItems: true | ||
}, | ||
'use-plugins': { | ||
appiumCliDescription: 'A list of plugins to activate. Can be a comma-delimited string, path to CSV file, or the string "all" to use all installed plugins.', | ||
default: [], | ||
description: 'A list of plugins to activate. To activate all plugins, the value should be an array with a single item "all".', | ||
items: { | ||
type: 'string' | ||
}, | ||
title: 'use-plugins config', | ||
type: 'array', | ||
uniqueItems: true | ||
}, | ||
webhook: { | ||
$comment: 'This should probably use a uri-template format to restrict the protocol to http/https', | ||
appiumCliAliases: ['G'], | ||
description: 'Also send log output to this http listener', | ||
format: 'uri', | ||
title: 'webhook config', | ||
type: 'string' | ||
} | ||
}, | ||
title: 'server config', | ||
type: 'object' | ||
} | ||
}, | ||
title: 'Appium Configuration', | ||
type: 'object' | ||
}; | ||
exports.AppiumConfigJsonSchema = AppiumConfigJsonSchema; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyJBcHBpdW1Db25maWdKc29uU2NoZW1hIiwiJHNjaGVtYSIsImFkZGl0aW9uYWxQcm9wZXJ0aWVzIiwiZGVzY3JpcHRpb24iLCJwcm9wZXJ0aWVzIiwic2VydmVyIiwiYWRkcmVzcyIsIiRjb21tZW50IiwiYXBwaXVtQ2xpQWxpYXNlcyIsImRlZmF1bHQiLCJmb3JtYXQiLCJ0aXRsZSIsInR5cGUiL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pb246ICdVc2UgbG9jYWwgdGltZXpvbmUgZm9yIHRpbWVzdGFtcHMnLFxuICAgICAgICAgIHRpdGxlOiAnbG9jYWwtdGltZXpvbmUgY29uZmlnJyxcbiAgICAgICAgICB0eXBlOiAnYm9vbGVhbicsXG4gICAgICAgIH0sXG4gICAgICAgIGxvZzoge1xuICAgICAgICAgIGFwcGl1bUNsaUFsaWFzZXM6IFsnZyddLFxuICAgICAgICAgIGFwcGl1bUNsaURlc3Q6ICdsb2dGaWxlJyxcbiAgICAgICAgICBkZXNjcmlwdGlvbjogJ0Fsc28gc2VuZCBsb2cgb3V0cHV0IHRvIHRoaXMgZmlsZScsXG4gICAgICAgICAgdGl0bGU6ICdsb2cgY29uZmlnJyxcbiAgICAgICAgICB0eXBlOiAnc3RyaW5nJyxcbiAgICAgICAgfSxcbiAgICAgICAgJ2xvZy1maWx0ZXJzJzoge1xuICAgICAgICAgICRjb21tZW50OiAnVE9ETycsXG4gICAgICAgICAgZGVzY3JpcHRpb246ICdPbmUgb3IgbW9yZSBsb2cgZmlsdGVyaW5nIHJ1bGVzJyxcbiAgICAgICAgICBpdGVtczoge1xuICAgICAgICAgICAgdHlwZTogJ3N0cmluZycsXG4gICAgICAgICAgfSxcbiAgICAgICAgICB0aXRsZTogJ2xvZy1maWx0ZXJzIGNvbmZpZycsXG4gICAgICAgICAgdHlwZTogJ2FycmF5JyxcbiAgICAgICAgfSxcbiAgICAgICAgJ2xvZy1sZXZlbCc6IHtcbiAgICAgICAgICBhcHBpdW1DbGlEZXN0OiAnbG9nbGV2ZWwnLFxuICAgICAgICAgIGRlZmF1bHQ6ICdkZWJ1ZycsXG4gICAgICAgICAgZGVzY3JpcHRpb246ICdMb2cgbGV2ZWwgKGNvbnNvbGVbOmZpbGVdKScsXG4gICAgICAgICAgZW51bTogW1xuICAgICAgICAgICAgJ2luZm8nLFxuICAgICAgICAgICAgJ2luZm86ZGVidWcnLFxuICAgICAgICAgICAgJ2luZm86aW5mbycsXG4gICAgICAgICAgICAnaW5mbzp3YXJuJyxcbiAgICAgICAgICAgICdpbmZvOmVycm9yJyxcbiAgICAgICAgICAgICd3YXJuJyxcbiAgICAgICAgICAgICd3YXJuOmRlYnVnJyxcbiAgICAgICAgICAgICd3YXJuOmluZm8nLFxuICAgICAgICAgICAgJ3dhcm46d2FybicsXG4gICAgICAgICAgICAnd2FybjplcnJvcicsXG4gICAgICAgICAgICAnZXJyb3InLFxuICAgICAgICAgICAgJ2Vycm9yOmRlYnVnJyxcbiAgICAgICAgICAgICdlcnJvcjppbmZvJyxcbiAgICAgICAgICAgICdlcnJvcjp3YXJuJyxcbiAgICAgICAgICAgICdlcnJvcjplcnJvcicsXG4gICAgICAgICAgICAnZGVidWcnLFxuICAgICAgICAgICAgJ2RlYnVnOmRlYnVnJyxcbiAgICAgICAgICAgICdkZWJ1ZzppbmZvJyxcbiAgICAgICAgICAgICdkZWJ1Zzp3YXJuJyxcbiAgICAgICAgICAgICdkZWJ1ZzplcnJvcicsXG4gICAgICAgICAgXSxcbiAgICAgICAgICB0aXRsZTogJ2xvZy1sZXZlbCBjb25maWcnLFxuICAgICAgICAgIHR5cGU6ICdzdHJpbmcnLFxuICAgICAgICB9LFxuICAgICAgICAnbG9nLW5vLWNvbG9ycyc6IHtcbiAgICAgICAgICBkZWZhdWx0OiBmYWxzZSxcbiAgICAgICAgICBkZXNjcmlwdGlvbjogJ0RvIG5vdCB1c2UgY29sb3IgaW4gY29uc29sZSBvdXRwdXQnLFxuICAgICAgICAgIHRpdGxlOiAnbG9nLW5vLWNvbG9ycyBjb25maWcnLFxuICAgICAgICAgIHR5cGU6ICdib29sZWFuJyxcbiAgICAgICAgfSxcbiAgICAgICAgJ2xvZy10aW1lc3RhbXAnOiB7XG4gICAgICAgICAgZGVmYXVsdDogZmFsc2UsXG4gICAgICAgICAgZGVzY3JpcHRpb246ICdTaG93IHRpbWVzdGFtcHMgaW4gY29uc29sZSBvdXRwdXQnLFxuICAgICAgICAgIHRpdGxlOiAnbG9n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ICAgIHRpdGxlOiAnbm9kZWNvbmZpZyBjb25maWcnLFxuICAgICAgICAgIHR5cGU6ICdvYmplY3QnLFxuICAgICAgICB9LFxuICAgICAgICBwbHVnaW46IHtcbiAgICAgICAgICBkZXNjcmlwdGlvbjpcbiAgICAgICAgICAgICdQbHVnaW4tc3BlY2lmaWMgY29uZmlndXJhdGlvbi4gS2V5cyBzaG91bGQgY29ycmVzcG9uZCB0byBwbHVnaW4gcGFja2FnZSBuYW1lcycsXG4gICAgICAgICAgcHJvcGVydGllczogLyoqIEB0eXBlIHtSZWNvcmQ8c3RyaW5nLGltcG9ydCgnanNvbi1zY2hlbWEnKS5KU09OU2NoZW1hNz59ICovICh7fSksXG4gICAgICAgICAgdGl0bGU6ICdwbHVnaW4gY29uZmlnJyxcbiAgICAgICAgICB0eXBlOiAnb2JqZWN0JyxcbiAgICAgICAgfSxcbiAgICAgICAgcG9ydDoge1xuICAgICAgICAgIGFwcGl1bUNsaUFsaWFzZXM6IFsncCddLFxuICAgICAgICAgIGRlZmF1bHQ6IDQ3MjMsXG4gICAgICAgICAgZGVzY3JpcHRpb246ICdQb3J0IHRvIGxpc3RlbiBvbicsXG4gICAgICAgICAgbWF4aW11bTogNjU1MzUsXG4gICAgICAgICAgbWluaW11bTogMSxcbiAgICAgICAgICB0aXRsZTogJ3BvcnQgY29uZmlnJyxcbiAgICAgICAgICB0eXBlOiAnaW50ZWdlcicsXG4gICAgICAgIH0sXG4gICAgICAgICdyZWxheGVkLXNlY3VyaXR5Jzoge1xuICAgICAgICAgIGRlZmF1bHQ6IGZhbHNlLFxuICAgICAgICAgIGRlc2NyaXB0aW9uOlxuICAgICAgICAgICAgJ0Rpc2FibGUgYWRkaXRpb25hbCBzZWN1cml0eSBjaGVja3MsIHNvIGl0IGlzIHBvc3NpYmxlIHRvIHVzZSBzb21lIGFkdmFuY2VkIGZlYXR1cmVzLCBwcm92aWRlZCBieSBkcml2ZXJzIHN1cHBvcnRpbmcgdGhpcyBvcHRpb24uI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QUssRUFBRTtZQUNMRixJQUFJLEVBQUU7VUFERCxDQU5NO1VBU2JELEtBQUssRUFBRSxvQkFUTTtVQVViQyxJQUFJLEVBQUUsT0FWTztVQVdiRyxXQUFXLEVBQUU7UUFYQSxDQWpQTDtRQThQVlksT0FBTyxFQUFFO1VBQ1BwQixRQUFRLEVBQ04sdUZBRks7VUFHUEMsZ0JBQWdCLEVBQUUsQ0FBQyxHQUFELENBSFg7VUFJUEwsV0FBVyxFQUFFLDRDQUpOO1VBS1BPLE1BQU0sRUFBRSxLQUxEO1VBTVBDLEtBQUssRUFBRSxnQkFOQTtVQU9QQyxJQUFJLEVBQUU7UUFQQztNQTlQQyxDQUhOO01BMlFORCxLQUFLLEVBQUUsZUEzUUQ7TUE0UU5DLElBQUksRUFBRTtJQTVRQTtFQURFLENBSjhDO0VBb1IxREQsS0FBSyxFQUFFLHNCQXBSbUQ7RUFxUjFEQyxJQUFJLEVBQUU7QUFyUm9ELENBQXJEIn0= | ||
}, | ||
}); | ||
//# sourceMappingURL=appium-config-schema.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
require("source-map-support/register"); | ||
var _appiumConfigSchema = require("./appium-config-schema"); | ||
Object.keys(_appiumConfigSchema).forEach(function (key) { | ||
if (key === "default" || key === "__esModule") return; | ||
if (key in exports && exports[key] === _appiumConfigSchema[key]) return; | ||
Object.defineProperty(exports, key, { | ||
enumerable: true, | ||
get: function () { | ||
return _appiumConfigSchema[key]; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
}); | ||
}); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6W10sInNvdXJjZXMiOlsiLi4vbGliL2luZGV4LmpzIl0sInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vYXBwaXVtLWNvbmZpZy1zY2hlbWEnO1xuIl0sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUFBOztBQUFBO0VBQUE7RUFBQTtFQUFBO0lBQUE7SUFBQTtNQUFBO0lBQUE7RUFBQTtBQUFBIn0= | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./appium-config-schema"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -12,2 +12,9 @@ /** | ||
properties: { | ||
$schema: { | ||
description: 'The JSON schema for this file', | ||
default: | ||
'https://raw.githubusercontent.com/appium/appium/master/packages/schema/lib/appium-config.schema.json', | ||
type: 'string', | ||
format: 'uri', | ||
}, | ||
server: { | ||
@@ -125,9 +132,7 @@ additionalProperties: false, | ||
'log-filters': { | ||
$comment: 'TODO', | ||
description: 'One or more log filtering rules', | ||
items: { | ||
type: 'string', | ||
}, | ||
title: 'log-filters config', | ||
type: 'array', | ||
items: {$ref: '#/$defs/logFilter'}, | ||
appiumCliTransformer: 'json', | ||
}, | ||
@@ -247,3 +252,3 @@ 'log-level': { | ||
appiumCliDescription: | ||
'A list of drivers to activate. Can be a comma-delimited string or path to CSV file. By default, all installed drivers will be activated.', | ||
'A list of drivers to activate. Can be a comma-delimited string or path to CSV file. By default, all installed drivers will be activated. Windows environments may require wrapping the comma-delimited string with quotes to escape the comma.', | ||
default: [], | ||
@@ -261,3 +266,3 @@ description: | ||
appiumCliDescription: | ||
'A list of plugins to activate. Can be a comma-delimited string, path to CSV file, or the string "all" to use all installed plugins.', | ||
'A list of plugins to activate. Can be a comma-delimited string, path to CSV file, or the string "all" to use all installed plugins. Windows environments may require wrapping the comma-delimited string with quotes to escape the comma.', | ||
default: [], | ||
@@ -289,2 +294,58 @@ description: | ||
type: 'object', | ||
$defs: { | ||
logFilterText: { | ||
type: 'object', | ||
description: 'Log filter with plain text', | ||
properties: { | ||
text: { | ||
description: 'Text to match', | ||
type: 'string', | ||
}, | ||
}, | ||
required: ['text'], | ||
not: { | ||
required: ['pattern'], | ||
}, | ||
}, | ||
logFilterRegex: { | ||
type: 'object', | ||
description: 'Log filter with regular expression', | ||
properties: { | ||
pattern: { | ||
description: 'Regex pattern to match', | ||
type: 'string', | ||
format: 'regex', | ||
}, | ||
}, | ||
required: ['pattern'], | ||
not: { | ||
required: ['text'], | ||
}, | ||
}, | ||
logFilter: { | ||
type: 'object', | ||
description: 'Log filtering rule', | ||
allOf: [ | ||
{ | ||
type: 'object', | ||
properties: { | ||
replacer: { | ||
description: 'Replacement string for matched text', | ||
type: 'string', | ||
default: '**SECURE**', | ||
}, | ||
flags: { | ||
description: | ||
'Matching flags; see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions#advanced_searching_with_flags', | ||
type: 'string', | ||
pattern: '^[igmsduy](,[igmsduy])*$', | ||
}, | ||
}, | ||
}, | ||
{ | ||
oneOf: [{$ref: '#/$defs/logFilterText'}, {$ref: '#/$defs/logFilterRegex'}], | ||
}, | ||
], | ||
}, | ||
}, | ||
}); |
@@ -6,2 +6,8 @@ { | ||
"properties": { | ||
"$schema": { | ||
"description": "The JSON schema for this file", | ||
"default": "https://raw.githubusercontent.com/appium/appium/master/packages/schema/lib/appium-config.schema.json", | ||
"type": "string", | ||
"format": "uri" | ||
}, | ||
"server": { | ||
@@ -126,9 +132,9 @@ "additionalProperties": false, | ||
"log-filters": { | ||
"$comment": "TODO", | ||
"description": "One or more log filtering rules", | ||
"title": "log-filters config", | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
"$ref": "#/$defs/logFilter" | ||
}, | ||
"title": "log-filters config", | ||
"type": "array" | ||
"appiumCliTransformer": "json" | ||
}, | ||
@@ -242,3 +248,3 @@ "log-level": { | ||
"use-drivers": { | ||
"appiumCliDescription": "A list of drivers to activate. Can be a comma-delimited string or path to CSV file. By default, all installed drivers will be activated.", | ||
"appiumCliDescription": "A list of drivers to activate. Can be a comma-delimited string or path to CSV file. By default, all installed drivers will be activated. Windows environments may require wrapping the comma-delimited string with quotes to escape the comma.", | ||
"default": [], | ||
@@ -254,3 +260,3 @@ "description": "A list of drivers to activate. By default, all installed drivers will be activated.", | ||
"use-plugins": { | ||
"appiumCliDescription": "A list of plugins to activate. Can be a comma-delimited string, path to CSV file, or the string \"all\" to use all installed plugins.", | ||
"appiumCliDescription": "A list of plugins to activate. Can be a comma-delimited string, path to CSV file, or the string \"all\" to use all installed plugins. Windows environments may require wrapping the comma-delimited string with quotes to escape the comma.", | ||
"default": [], | ||
@@ -281,3 +287,73 @@ "description": "A list of plugins to activate. To activate all plugins, the value should be an array with a single item \"all\".", | ||
"title": "Appium Configuration", | ||
"type": "object" | ||
"type": "object", | ||
"$defs": { | ||
"logFilterText": { | ||
"type": "object", | ||
"description": "Log filter with plain text", | ||
"properties": { | ||
"text": { | ||
"description": "Text to match", | ||
"type": "string" | ||
} | ||
}, | ||
"required": [ | ||
"text" | ||
], | ||
"not": { | ||
"required": [ | ||
"pattern" | ||
] | ||
} | ||
}, | ||
"logFilterRegex": { | ||
"type": "object", | ||
"description": "Log filter with regular expression", | ||
"properties": { | ||
"pattern": { | ||
"description": "Regex pattern to match", | ||
"type": "string", | ||
"format": "regex" | ||
} | ||
}, | ||
"required": [ | ||
"pattern" | ||
], | ||
"not": { | ||
"required": [ | ||
"text" | ||
] | ||
} | ||
}, | ||
"logFilter": { | ||
"type": "object", | ||
"description": "Log filtering rule", | ||
"allOf": [ | ||
{ | ||
"type": "object", | ||
"properties": { | ||
"replacer": { | ||
"description": "Replacement string for matched text", | ||
"type": "string", | ||
"default": "**SECURE**" | ||
}, | ||
"flags": { | ||
"description": "Matching flags; see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions#advanced_searching_with_flags", | ||
"type": "string", | ||
"pattern": "^[igmsduy](,[igmsduy])*$" | ||
} | ||
} | ||
}, | ||
{ | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/$defs/logFilterText" | ||
}, | ||
{ | ||
"$ref": "#/$defs/logFilterRegex" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} |
{ | ||
"name": "@appium/schema", | ||
"version": "0.0.9", | ||
"version": "0.1.0", | ||
"description": "Appium Configuration Schema", | ||
@@ -33,9 +33,4 @@ "keywords": [ | ||
"scripts": { | ||
"build": "run-s build:*", | ||
"build:distfiles": "babel lib --root-mode=upward --out-dir=build", | ||
"build:schema-json": "node ./scripts/generate-schema-json.js", | ||
"dev": "npm run build:distfiles -- --watch", | ||
"fix": "npm run lint -- --fix", | ||
"lint": "eslint -c ../../.eslintrc --ignore-path ../../.eslintignore .", | ||
"prepare": "npm run build", | ||
"build": "node ./scripts/generate-schema-json.js", | ||
"clean": "git checkout -- ./lib/appium-config.schema.json || true", | ||
"test:smoke": "node ./index.js" | ||
@@ -49,3 +44,3 @@ }, | ||
"engines": { | ||
"node": ">=14", | ||
"node": "^14.17.0 || ^16.13.0 || >=18.0.0", | ||
"npm": ">=8" | ||
@@ -56,3 +51,6 @@ }, | ||
}, | ||
"gitHead": "500c08f3929b1dd531d119872d11cea59d417eb7" | ||
"typedoc": { | ||
"entryPoint": "./build/index.js" | ||
}, | ||
"gitHead": "0823f0b60e40395cd1dc3b72cfa3c0092bc81302" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1385
80369