@appium/schema
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -27,2 +27,9 @@ export namespace AppiumConfigJsonSchema { | ||
readonly type: "string"; | ||
readonly anyOf: readonly [{ | ||
readonly type: "string"; | ||
readonly format: "hostname"; | ||
}, { | ||
readonly type: "string"; | ||
readonly format: "ipv6"; | ||
}]; | ||
}; | ||
@@ -29,0 +36,0 @@ readonly 'allow-cors': { |
@@ -30,3 +30,12 @@ "use strict"; | ||
type: 'string', | ||
// this should be anyOf [format: "hostname" or format: "ipv6"], but there seems to be a bug in json-schema-to-typescript preventing "ipv6" from converting to type "string"' | ||
anyOf: [ | ||
{ | ||
type: 'string', | ||
format: 'hostname', | ||
}, | ||
{ | ||
type: 'string', | ||
format: 'ipv6', | ||
}, | ||
], | ||
}, | ||
@@ -33,0 +42,0 @@ 'allow-cors': { |
@@ -29,3 +29,12 @@ /** | ||
type: 'string', | ||
// this should be anyOf [format: "hostname" or format: "ipv6"], but there seems to be a bug in json-schema-to-typescript preventing "ipv6" from converting to type "string"' | ||
anyOf: [ | ||
{ | ||
type: 'string', | ||
format: 'hostname', | ||
}, | ||
{ | ||
type: 'string', | ||
format: 'ipv6', | ||
}, | ||
], | ||
}, | ||
@@ -32,0 +41,0 @@ 'allow-cors': { |
@@ -23,3 +23,13 @@ { | ||
"title": "address config", | ||
"type": "string" | ||
"type": "string", | ||
"anyOf": [ | ||
{ | ||
"type": "string", | ||
"format": "hostname" | ||
}, | ||
{ | ||
"type": "string", | ||
"format": "ipv6" | ||
} | ||
] | ||
}, | ||
@@ -26,0 +36,0 @@ "allow-cors": { |
{ | ||
"name": "@appium/schema", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "Appium Configuration Schema", | ||
@@ -55,3 +55,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "d0ebbaa0c683eeba04d9d967af2d0fde76197950" | ||
"gitHead": "8a6a4ba7e74da0785aa65767aaaef84cc4a8134b" | ||
} |
Sorry, the diff of this file is not supported yet
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
81380
1424