diff --git a/.gitignore b/.gitignore index 6ecc74d..e7f42f2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,10 @@ out node_modules +.vs .vscode-test/ .vsix /pushall.sh /typedoc.cmd /tsdoc +/.vscode/vscode-kanban.json +/.vscode/vscode-kanban.filter diff --git a/.vscode/settings.json b/.vscode/settings.json index 8708322..bc68475 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -58,5 +58,9 @@ "options": "js" } ] + }, + + "kanban": { + "openOnStartup": true } } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 9185ed0..e776573 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,18 @@ [![Share via Facebook](https://raw.githubusercontent.com/mkloubert/vscode-deploy-reloaded/master/img/share/Facebook.png)](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dmkloubert.vscode-deploy-reloaded"e=vscode-deploy-reloaded) [![Share via Twitter](https://raw.githubusercontent.com/mkloubert/vscode-deploy-reloaded/master/img/share/Twitter.png)](https://twitter.com/intent/tweet?source=https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dmkloubert.vscode-deploy-reloaded&text=vscode-deploy-reloaded:%20https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dmkloubert.vscode-deploy-reloaded&via=mjkloubert) [![Share via Google+](https://raw.githubusercontent.com/mkloubert/vscode-deploy-reloaded/master/img/share/Google+.png)](https://plus.google.com/share?url=https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dmkloubert.vscode-deploy-reloaded) [![Share via Pinterest](https://raw.githubusercontent.com/mkloubert/vscode-deploy-reloaded/master/img/share/Pinterest.png)](https://pinterest.com/pin/create/button/?url=https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dmkloubert.vscode-deploy-reloaded&media=https://raw.githubusercontent.com/mkloubert/vscode-deploy-reloaded/master/img/demo1.gif&description=Recoded%20version%20of%20Visual%20Studio%20Code%20extension%20%27vs-deploy%27%2C%20which%20provides%20commands%20to%20deploy%20files%20to%20one%20or%20more%20destinations.) [![Share via Reddit](https://raw.githubusercontent.com/mkloubert/vscode-deploy-reloaded/master/img/share/Reddit.png)](https://www.reddit.com/submit?url=https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dmkloubert.vscode-deploy-reloaded&title=vscode-deploy-reloaded) [![Share via LinkedIn](https://raw.githubusercontent.com/mkloubert/vscode-deploy-reloaded/master/img/share/LinkedIn.png)](https://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dmkloubert.vscode-deploy-reloaded&title=vscode-deploy-reloaded&summary=Recoded%20version%20of%20Visual%20Studio%20Code%20extension%20%27vs-deploy%27%2C%20which%20provides%20commands%20to%20deploy%20files%20to%20one%20or%20more%20destinations.&source=https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dmkloubert.vscode-deploy-reloaded) [![Share via Wordpress](https://raw.githubusercontent.com/mkloubert/vscode-deploy-reloaded/master/img/share/Wordpress.png)](https://wordpress.com/press-this.php?u=https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dmkloubert.vscode-deploy-reloaded"e=vscode-deploy-reloaded&s=Recoded%20version%20of%20Visual%20Studio%20Code%20extension%20%27vs-deploy%27%2C%20which%20provides%20commands%20to%20deploy%20files%20to%20one%20or%20more%20destinations.&i=https://raw.githubusercontent.com/mkloubert/vscode-deploy-reloaded/master/img/demo1.gif) [![Share via Email](https://raw.githubusercontent.com/mkloubert/vscode-deploy-reloaded/master/img/share/Email.png)](mailto:?subject=vscode-deploy-reloaded&body=Recoded%20version%20of%20Visual%20Studio%20Code%20extension%20'vs-deploy'%2C%20which%20provides%20commands%20to%20deploy%20files%20to%20one%20or%20more%20destinations.:%20https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dmkloubert.vscode-deploy-reloaded) +## 0.83.0 (July 7th, 2018; chrome debugger and sync timestamps) + +* added [chrome target operation](https://github.com/mkloubert/vscode-deploy-reloaded/wiki/target_operations#chrome-), which can executes a method for a DevTools compatible browser debugger, as implemented in [Google Chrome](https://www.google.de/chrome/index.html): + +![Demo Chrome DevTools](https://raw.githubusercontent.com/mkloubert/vscode-deploy-reloaded/master/img/demo30.gif) + +* added `syncTime` setting for [local targets](https://github.com/mkloubert/vscode-deploy-reloaded/wiki/target_local) ... s. [issue #84](https://github.com/mkloubert/vscode-deploy-reloaded/issues/84) +* updated the following [npm](https://www.npmjs.com/) modules: + * [aws-sdk](https://www.npmjs.com/package/aws-sdk) `^2.270.1` + * [html-minifier](https://www.npmjs.com/package/html-minifier) `^3.5.18` + * [uglify-js](https://www.npmjs.com/package/uglify-js) `^3.4.3` + ## 0.82.0 (July 3rd, 2018; ask for (S)FTP user and password) * added `askForPassword` and `askForUser` settings for [ftp](https://github.com/mkloubert/vscode-deploy-reloaded/wiki/target_ftp) and [sftp](https://github.com/mkloubert/vscode-deploy-reloaded/wiki/target_sftp) targets ... set them explicitly to `(true)`, if you want to get asked for that value(s) ... s. [issue #71](https://github.com/mkloubert/vscode-deploy-reloaded/issues/71) diff --git a/img/demo30.gif b/img/demo30.gif new file mode 100644 index 0000000..eaa3a71 Binary files /dev/null and b/img/demo30.gif differ diff --git a/package-lock.json b/package-lock.json index 57b1a65..11a7611 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "vscode-deploy-reloaded", - "version": "0.82.0", + "version": "0.83.0", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -55,6 +55,17 @@ "url-join": "0.0.1", "winston": "^2.1.1", "ws": "^1.0.1" + }, + "dependencies": { + "ws": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/ws/-/ws-1.1.5.tgz", + "integrity": "sha512-o3KqipXNUdS7wpQzBHSe180lBGO60SoK0yVo3CYJgb2MkobuWuBX6dhkYP5ORCLd55y+SaflMOV5fqAB53ux4w==", + "requires": { + "options": ">=0.0.5", + "ultron": "1.0.x" + } + } } }, "@types/babel-types": { @@ -257,9 +268,9 @@ } }, "@types/node": { - "version": "7.0.66", - "resolved": "https://registry.npmjs.org/@types/node/-/node-7.0.66.tgz", - "integrity": "sha512-W11u5kUNSX2+N6bJ7rPyLW4N98/xzrZg8apRoTwC0zbFjIie//oxgKAvqkQNQ97KVchB49ost74kgzoeDiE+Uw==" + "version": "7.0.67", + "resolved": "https://registry.npmjs.org/@types/node/-/node-7.0.67.tgz", + "integrity": "sha512-DUioEWBd0NG30G1/wI0amNN/sSJ/xuX4/YWm4nNa+bUU6swuS7CF+sH/nifu+SPy5BFqRzQEyEWvi9zIDVP+Lw==" }, "@types/node-emoji": { "version": "1.8.0", @@ -344,6 +355,16 @@ "@types/node": "*" } }, + "@types/ws": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/@types/ws/-/ws-5.1.2.tgz", + "integrity": "sha512-NkTXUKTYdXdnPE2aUUbGOXE1XfMK527SCvU/9bj86kyFF6kZ9ZnOQ3mK5jADn98Y2vEUD/7wKDgZa7Qst2wYOg==", + "dev": true, + "requires": { + "@types/events": "*", + "@types/node": "*" + } + }, "accepts": { "version": "1.3.5", "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.5.tgz", @@ -547,6 +568,11 @@ "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz", "integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=" }, + "async-limiter": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.0.tgz", + "integrity": "sha512-jp/uFnooOiO+L211eZOoSyzpOITMXx1rBITauYykG3BRYPu8h0UcxsPNB04RR5vo4Tyz3+ay17tR6JVf9qzYWg==" + }, "asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", @@ -558,9 +584,9 @@ "integrity": "sha1-ri1acpR38onWDdf5amMUoi3Wwio=" }, "aws-sdk": { - "version": "2.266.1", - "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.266.1.tgz", - "integrity": "sha512-b8lisloCETh0Fx0il540i+Hbgf3hyegQ6ezoJFggfc1HIbqzvIjVJYJhOsYl1fL1o+iMUaVU4ZH8cSyoMFR2Tw==", + "version": "2.270.1", + "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.270.1.tgz", + "integrity": "sha512-8PrzmogkqU/G2/b9u5ktyPMcrL9dIeYVNZu0LW0N2EwIb/V0W8gQ+nNm6A6EEF4T0mkvT38QwNSqlFfNCZYcBg==", "requires": { "buffer": "4.9.1", "events": "1.1.1", @@ -3100,13 +3126,13 @@ "integrity": "sha1-DfKTUfByEWNRXfueVUPl9u7VFi8=" }, "html-minifier": { - "version": "3.5.17", - "resolved": "https://registry.npmjs.org/html-minifier/-/html-minifier-3.5.17.tgz", - "integrity": "sha512-O+StuKL0UWfwX5Zv4rFxd60DPcT5DVjGq1AlnP6VQ8wzudft/W4hx5Wl98aSYNwFBHY6XWJreRw/BehX4l+diQ==", + "version": "3.5.18", + "resolved": "https://registry.npmjs.org/html-minifier/-/html-minifier-3.5.18.tgz", + "integrity": "sha512-sczoq/9zeXiKZMj8tsQzHJE7EyjrpMHvblTLuh9o8h5923a6Ts5uQ/3YdY+xIqJYRjzHQPlrHjfjh0BtwPJG0g==", "requires": { "camel-case": "3.0.x", "clean-css": "4.1.x", - "commander": "2.15.x", + "commander": "2.16.x", "he": "1.1.x", "param-case": "2.1.x", "relateurl": "0.2.x", @@ -3114,9 +3140,9 @@ }, "dependencies": { "commander": { - "version": "2.15.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.15.1.tgz", - "integrity": "sha512-VlfT9F3V0v+jr4yxPc5gg9s62/fIVWsd2Bk2iD435um1NlGMYdVCq+MjcXnhYq2icNOizHr1kK+5TI6H0Hy0ag==" + "version": "2.16.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.16.0.tgz", + "integrity": "sha512-sVXqklSaotK9at437sFlFpyOcJonxe0yST/AG9DkQKUdIE6IqGIMv4SfAQSKaJbSdVEJYItASCrBiVQHq1HQew==" } } }, @@ -5987,18 +6013,18 @@ "dev": true }, "uglify-js": { - "version": "3.4.2", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.4.2.tgz", - "integrity": "sha512-/kVQDzwiE9Vy7Y63eMkMozF4jIt0C2+xHctF9YpqNWdE/NLOuMurshkpoYGUlAbeYhACPv0HJPIHJul0Ak4/uw==", + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.4.3.tgz", + "integrity": "sha512-RbOgGjF04sFUNSi8xGOTB9AmtVmMmVVAL5a7lxIgJ8urejJen+priq0ooRIHHa8AXI/dSvNF9yYMz9OP4PhybQ==", "requires": { - "commander": "~2.15.0", + "commander": "~2.16.0", "source-map": "~0.6.1" }, "dependencies": { "commander": { - "version": "2.15.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.15.1.tgz", - "integrity": "sha512-VlfT9F3V0v+jr4yxPc5gg9s62/fIVWsd2Bk2iD435um1NlGMYdVCq+MjcXnhYq2icNOizHr1kK+5TI6H0Hy0ag==" + "version": "2.16.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.16.0.tgz", + "integrity": "sha512-sVXqklSaotK9at437sFlFpyOcJonxe0yST/AG9DkQKUdIE6IqGIMv4SfAQSKaJbSdVEJYItASCrBiVQHq1HQew==" } } }, @@ -6540,12 +6566,11 @@ "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" }, "ws": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/ws/-/ws-1.1.5.tgz", - "integrity": "sha512-o3KqipXNUdS7wpQzBHSe180lBGO60SoK0yVo3CYJgb2MkobuWuBX6dhkYP5ORCLd55y+SaflMOV5fqAB53ux4w==", + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-5.2.1.tgz", + "integrity": "sha512-2NkHdPKjDBj3CHdnAGNpmlliryKqF+n9MYXX7/wsVC4yqYocKreKNjydPDvT3wShAZnndlM0RytEfTALCDvz7A==", "requires": { - "options": ">=0.0.5", - "ultron": "1.0.x" + "async-limiter": "~1.0.0" } }, "xml2js": { diff --git a/package.json b/package.json index 4c02d29..9798b11 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "vscode-deploy-reloaded", "displayName": "Deploy (Reloaded)", "description": "Deploys files of a workspace to a destination.", - "version": "0.82.0", + "version": "0.83.0", "publisher": "mkloubert", "engines": { "vscode": "^1.24.0" @@ -1630,6 +1630,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -2101,6 +2162,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -2572,6 +2694,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -3057,6 +3240,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -3528,6 +3772,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -4114,6 +4419,88 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "onlyWhen": { + "description": "A custom list of deploy types, the operation is executed when.", + "type": "array", + "default": [ + "deploy" + ], + "items": { + "description": "The deploy type.", + "type": "string", + "enum": [ + "delete", + "deploy", + "pull" + ] + } + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "reloadFileList": { + "type": "boolean", + "description": "Reload list of files or not.", + "default": true + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -4779,6 +5166,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -5335,6 +5783,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -5806,6 +6315,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -6277,6 +6847,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -6762,6 +7393,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -7233,6 +7925,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -7798,19 +8551,20 @@ { "type": "object", "properties": { - "dir": { - "type": "string", - "description": "The directory to clenup.", - "pattern": "\\S+" + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false }, - "exclude": { - "type": "array", - "description": "One or more minimatch pattern, which define what files to exclude.", - "items": { - "type": "string", - "description": "A minimatch pattern.", - "pattern": "\\S+" - } + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" }, "if": { "description": "(JavaScript) Code, which indicates, if entry is available or not.", @@ -7821,17 +8575,98 @@ "type": "boolean", "default": false }, - "include": { - "type": "array", - "description": "One or more minimatch pattern, which define what files to include.", - "items": { - "type": "string", - "description": "A minimatch pattern.", - "pattern": "\\S+" - }, - "default": [ - "**" - ] + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "onlyWhen": { + "description": "A custom list of deploy types, the operation is executed when.", + "type": "array", + "default": [ + "deploy" + ], + "items": { + "description": "The deploy type.", + "type": "string", + "enum": [ + "delete", + "deploy", + "pull" + ] + } + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "reloadFileList": { + "type": "boolean", + "description": "Reload list of files or not.", + "default": true + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] }, "name": { "description": "The (display) name of that operation.", @@ -8455,6 +9290,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -8977,6 +9873,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -9448,6 +10405,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -9919,6 +10937,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -10400,6 +11479,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -10871,6 +12011,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -11419,6 +12620,88 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "onlyWhen": { + "description": "A custom list of deploy types, the operation is executed when.", + "type": "array", + "default": [ + "deploy" + ], + "items": { + "description": "The deploy type.", + "type": "string", + "enum": [ + "delete", + "deploy", + "pull" + ] + } + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "reloadFileList": { + "type": "boolean", + "description": "Reload list of files or not.", + "default": true + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -12079,6 +13362,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -12607,6 +13951,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -13078,6 +14483,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -13549,6 +15015,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -14046,6 +15573,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -14517,6 +16105,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -15074,6 +16723,88 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "onlyWhen": { + "description": "A custom list of deploy types, the operation is executed when.", + "type": "array", + "default": [ + "deploy" + ], + "items": { + "description": "The deploy type.", + "type": "string", + "enum": [ + "delete", + "deploy", + "pull" + ] + } + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "reloadFileList": { + "type": "boolean", + "description": "Reload list of files or not.", + "default": true + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -15734,6 +17465,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -16254,6 +18046,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -16725,6 +18578,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -17196,6 +19110,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -17677,6 +19652,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -18148,6 +20184,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -18701,6 +20798,88 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "onlyWhen": { + "description": "A custom list of deploy types, the operation is executed when.", + "type": "array", + "default": [ + "deploy" + ], + "items": { + "description": "The deploy type.", + "type": "string", + "enum": [ + "delete", + "deploy", + "pull" + ] + } + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "reloadFileList": { + "type": "boolean", + "description": "Reload list of files or not.", + "default": true + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -19361,6 +21540,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -19885,6 +22125,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -20356,6 +22657,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -20827,6 +23189,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -21308,6 +23731,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -21779,6 +24263,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -22343,6 +24888,88 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "onlyWhen": { + "description": "A custom list of deploy types, the operation is executed when.", + "type": "array", + "default": [ + "deploy" + ], + "items": { + "description": "The deploy type.", + "type": "string", + "enum": [ + "delete", + "deploy", + "pull" + ] + } + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "reloadFileList": { + "type": "boolean", + "description": "Reload list of files or not.", + "default": true + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -23003,6 +25630,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -23566,6 +26254,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -24037,6 +26786,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -24508,6 +27318,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -25216,6 +28087,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -25687,6 +28619,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -26267,6 +29260,88 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "onlyWhen": { + "description": "A custom list of deploy types, the operation is executed when.", + "type": "array", + "default": [ + "deploy" + ], + "items": { + "description": "The deploy type.", + "type": "string", + "enum": [ + "delete", + "deploy", + "pull" + ] + } + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "reloadFileList": { + "type": "boolean", + "description": "Reload list of files or not.", + "default": true + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -26927,6 +30002,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -27484,6 +30620,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -27955,6 +31152,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -28426,6 +31684,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -28907,6 +32226,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -29378,6 +32758,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -29970,19 +33411,20 @@ { "type": "object", "properties": { - "dir": { - "type": "string", - "description": "The directory to clenup.", - "pattern": "\\S+" + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false }, - "exclude": { - "type": "array", - "description": "One or more minimatch pattern, which define what files to exclude.", - "items": { - "type": "string", - "description": "A minimatch pattern.", - "pattern": "\\S+" - } + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" }, "if": { "description": "(JavaScript) Code, which indicates, if entry is available or not.", @@ -29993,17 +33435,98 @@ "type": "boolean", "default": false }, - "include": { - "type": "array", - "description": "One or more minimatch pattern, which define what files to include.", - "items": { - "type": "string", - "description": "A minimatch pattern.", - "pattern": "\\S+" - }, - "default": [ - "**" - ] + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "onlyWhen": { + "description": "A custom list of deploy types, the operation is executed when.", + "type": "array", + "default": [ + "deploy" + ], + "items": { + "description": "The deploy type.", + "type": "string", + "enum": [ + "delete", + "deploy", + "pull" + ] + } + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "reloadFileList": { + "type": "boolean", + "description": "Reload list of files or not.", + "default": true + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, + { + "type": "object", + "properties": { + "dir": { + "type": "string", + "description": "The directory to clenup.", + "pattern": "\\S+" + }, + "exclude": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to exclude.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + } + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "include": { + "type": "array", + "description": "One or more minimatch pattern, which define what files to include.", + "items": { + "type": "string", + "description": "A minimatch pattern.", + "pattern": "\\S+" + }, + "default": [ + "**" + ] }, "name": { "description": "The (display) name of that operation.", @@ -30627,6 +34150,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -31156,6 +34740,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -31627,6 +35272,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -32098,6 +35804,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -32579,6 +36346,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -33050,6 +36878,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -33608,6 +37497,88 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "onlyWhen": { + "description": "A custom list of deploy types, the operation is executed when.", + "type": "array", + "default": [ + "deploy" + ], + "items": { + "description": "The deploy type.", + "type": "string", + "enum": [ + "delete", + "deploy", + "pull" + ] + } + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "reloadFileList": { + "type": "boolean", + "description": "Reload list of files or not.", + "default": true + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -34268,6 +38239,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -34742,6 +38774,11 @@ "type": "string" } }, + "syncTime": { + "type": "boolean", + "description": "Try to synchronize the timestamps between source and target files or not.", + "default": true + }, "transformer": { "description": "The path (or URI) to the data transformer script.", "type": "string" @@ -34786,6 +38823,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -35257,6 +39355,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -35728,6 +39887,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -36209,6 +40429,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -36680,6 +40961,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -37253,6 +41595,88 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "onlyWhen": { + "description": "A custom list of deploy types, the operation is executed when.", + "type": "array", + "default": [ + "deploy" + ], + "items": { + "description": "The deploy type.", + "type": "string", + "enum": [ + "delete", + "deploy", + "pull" + ] + } + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "reloadFileList": { + "type": "boolean", + "description": "Reload list of files or not.", + "default": true + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -37913,6 +42337,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -38462,6 +42947,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -38933,6 +43479,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -39404,6 +44011,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -39885,6 +44553,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -40356,6 +45085,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -40929,6 +45719,88 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "onlyWhen": { + "description": "A custom list of deploy types, the operation is executed when.", + "type": "array", + "default": [ + "deploy" + ], + "items": { + "description": "The deploy type.", + "type": "string", + "enum": [ + "delete", + "deploy", + "pull" + ] + } + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "reloadFileList": { + "type": "boolean", + "description": "Reload list of files or not.", + "default": true + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -41589,6 +46461,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -42118,6 +47051,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -42589,6 +47583,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -43060,6 +48115,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -43541,6 +48657,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -44012,6 +49189,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -44560,6 +49798,88 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "onlyWhen": { + "description": "A custom list of deploy types, the operation is executed when.", + "type": "array", + "default": [ + "deploy" + ], + "items": { + "description": "The deploy type.", + "type": "string", + "enum": [ + "delete", + "deploy", + "pull" + ] + } + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "reloadFileList": { + "type": "boolean", + "description": "Reload list of files or not.", + "default": true + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -45286,6 +50606,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -45860,6 +51241,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -46331,6 +51773,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -46802,6 +52305,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -47314,6 +52878,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -47785,6 +53410,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -48337,6 +54023,88 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "onlyWhen": { + "description": "A custom list of deploy types, the operation is executed when.", + "type": "array", + "default": [ + "deploy" + ], + "items": { + "description": "The deploy type.", + "type": "string", + "enum": [ + "delete", + "deploy", + "pull" + ] + } + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "reloadFileList": { + "type": "boolean", + "description": "Reload list of files or not.", + "default": true + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -48997,6 +54765,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -49517,6 +55346,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -49988,6 +55878,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -50459,6 +56410,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -50945,6 +56957,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -51416,6 +57489,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -51967,6 +58101,88 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "onlyWhen": { + "description": "A custom list of deploy types, the operation is executed when.", + "type": "array", + "default": [ + "deploy" + ], + "items": { + "description": "The deploy type.", + "type": "string", + "enum": [ + "delete", + "deploy", + "pull" + ] + } + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "reloadFileList": { + "type": "boolean", + "description": "Reload list of files or not.", + "default": true + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -52627,6 +58843,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -53192,6 +59469,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -53663,6 +60001,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -54134,6 +60533,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -54847,6 +61307,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -55318,6 +61839,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -55924,6 +62506,88 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "onlyWhen": { + "description": "A custom list of deploy types, the operation is executed when.", + "type": "array", + "default": [ + "deploy" + ], + "items": { + "description": "The deploy type.", + "type": "string", + "enum": [ + "delete", + "deploy", + "pull" + ] + } + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "reloadFileList": { + "type": "boolean", + "description": "Reload list of files or not.", + "default": true + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -56592,6 +63256,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -57136,6 +63861,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -57607,6 +64393,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -58078,6 +64925,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -58568,6 +65476,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -59039,6 +66008,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -59587,6 +66617,88 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "onlyWhen": { + "description": "A custom list of deploy types, the operation is executed when.", + "type": "array", + "default": [ + "deploy" + ], + "items": { + "description": "The deploy type.", + "type": "string", + "enum": [ + "delete", + "deploy", + "pull" + ] + } + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "reloadFileList": { + "type": "boolean", + "description": "Reload list of files or not.", + "default": true + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -60247,6 +67359,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -60773,6 +67946,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -61244,6 +68478,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -61715,6 +69010,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -62243,6 +69599,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -62714,6 +70131,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -63313,6 +70791,88 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "onlyWhen": { + "description": "A custom list of deploy types, the operation is executed when.", + "type": "array", + "default": [ + "deploy" + ], + "items": { + "description": "The deploy type.", + "type": "string", + "enum": [ + "delete", + "deploy", + "pull" + ] + } + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "reloadFileList": { + "type": "boolean", + "description": "Reload list of files or not.", + "default": true + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -63973,6 +71533,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -64493,6 +72114,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -64964,6 +72646,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -65435,6 +73178,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -65916,6 +73720,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -66387,6 +74252,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -66944,6 +74870,88 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "onlyWhen": { + "description": "A custom list of deploy types, the operation is executed when.", + "type": "array", + "default": [ + "deploy" + ], + "items": { + "description": "The deploy type.", + "type": "string", + "enum": [ + "delete", + "deploy", + "pull" + ] + } + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "reloadFileList": { + "type": "boolean", + "description": "Reload list of files or not.", + "default": true + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -67604,6 +75612,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -68121,6 +76190,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -68592,6 +76722,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -69063,6 +77254,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -69544,6 +77796,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -70015,6 +78328,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -70577,6 +78951,88 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "onlyWhen": { + "description": "A custom list of deploy types, the operation is executed when.", + "type": "array", + "default": [ + "deploy" + ], + "items": { + "description": "The deploy type.", + "type": "string", + "enum": [ + "delete", + "deploy", + "pull" + ] + } + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "reloadFileList": { + "type": "boolean", + "description": "Reload list of files or not.", + "default": true + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -71237,6 +79693,67 @@ "type": "array", "items": { "oneOf": [ + { + "type": "object", + "properties": { + "alwaysAskForPage": { + "type": "boolean", + "description": "Always ask for the browser page or not.", + "default": false + }, + "debug": { + "type": "boolean", + "description": "Debug results or not.", + "default": true + }, + "host": { + "type": "string", + "description": "The hostname, where the debugger runs.", + "default": "127.0.0.1" + }, + "if": { + "description": "(JavaScript) Code, which indicates, if entry is available or not.", + "type": "string" + }, + "ignoreIfFail": { + "description": "Continue when operation fails or not.", + "type": "boolean", + "default": false + }, + "method": { + "type": "string", + "description": "The name of the method to invoke.", + "pattern": "\\S+", + "default": "Page.reload" + }, + "name": { + "description": "The (display) name of that operation.", + "type": "string" + }, + "pages": { + "type": "string", + "description": "A regular expression, which filters pages by their title." + }, + "parameters": { + "description": "Parameters for the method." + }, + "port": { + "type": "integer", + "description": "The TCP port, where the debugger runs.", + "default": 9222, + "minimum": 0, + "maximum": 65535 + }, + "type": { + "enum": [ + "browser", + "chrome" + ], + "type": "string", + "description": "Invokes a method for a DevTools compatible browser debugger like chrome." + } + } + }, { "type": "object", "properties": { @@ -72045,6 +80562,7 @@ "@types/sanitize-filename": "^1.1.28", "@types/tmp": "0.0.33", "@types/uuid": "^3.4.3", + "@types/ws": "^5.1.2", "tslint": "^5.10.0", "typescript": "^2.9.2", "vscode": "^1.1.18" @@ -72113,6 +80631,7 @@ "tmp": "0.0.33", "uglify-js": "^3.4.2", "uuid": "^3.3.2", - "vscode-helpers": "^2.10.3" + "vscode-helpers": "^2.10.3", + "ws": "^5.2.1" } } diff --git a/src/devtools.ts b/src/devtools.ts new file mode 100644 index 0000000..a650064 --- /dev/null +++ b/src/devtools.ts @@ -0,0 +1,351 @@ +/** + * This file is part of the vscode-deploy-reloaded distribution. + * Copyright (c) Marcel Joachim Kloubert. + * + * vscode-deploy-reloaded is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, version 3. + * + * vscode-deploy-reloaded is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ + +import * as _ from 'lodash'; +import * as deploy_contracts from './contracts'; +import * as deploy_helpers from './helpers'; +import * as vscode from 'vscode'; +import * as WebSocket from 'ws'; + +/** + * A browser item. + */ +export interface BrowserItem extends NodeJS.EventEmitter, vscode.Disposable { + /** + * Closes the connection to the item. + * + * @return {PromiseLike} The promise that indicates if operation was successful or not. + */ + readonly close: () => PromiseLike; + /** + * Options a connection to the item. + * + * @return {PromiseLike} The promise that indicates if operation was successful or not. + */ + readonly connect: () => PromiseLike; + /** + * The ID of the item. + */ + readonly id: string; + /** + * Indicates if a connection to the item has been established or not. + */ + readonly isConnected: boolean; + /** + * Invokes a method for the item. + * + * @param {string} method The method to invoke. + * @param {any} [params] Parameters for the method. + * @param {SendToBrowserItemCallback} [callback] The optional callback. + */ + readonly send: (method: string, params?: any, callback?: SendToBrowserItemCallback) => PromiseLike; + /** + * Gets the underyling (web) socket URI. + */ + readonly socketUri: string; +} + +/** + * A browser page. + */ +export interface BrowserPage extends BrowserItem { + /** + * The title of the page. + */ + readonly title: string; +} + +/** + * Options for a DevTools client. + */ +export interface DevToolsClientOptions { + /** + * The host address. + */ + readonly host?: string; + /** + * The TCP host. + */ + readonly port?: number; +} + +export type SendToBrowserItemCallback = (message: any) => any; + +/** + * A DevTools client. + */ +export class DevToolsClient extends deploy_helpers.DisposableBase { + /** + * Initializes a new instance of that class. + * + * @param {DevToolsClientOptions} [opts] Custom options. + */ + public constructor(opts?: DevToolsClientOptions) { + super(); + + this.options = opts || {}; + } + + private async getBrowserItems(): Promise { + const RESP = await deploy_helpers.GET(`http://${ this.host }:${ this.port }/json`); + + if (200 !== RESP.code) { + throw new Error(`Unexpected response ${ RESP.code }: '${ RESP.status }'`); + } + + return deploy_helpers.asArray( + JSON.parse( + (await RESP.readBody()).toString('utf8') + ) + ).filter(i => { + return !deploy_helpers.isEmptyString( i['webSocketDebuggerUrl'] ); + }); + } + + /** + * Returns a list of all pages. + * + * @return {Promise} The promise with the pages. + */ + public async getPages() { + const PAGES: BrowserPage[] = []; + + const PAGE_ITEMS = ( + await this.getBrowserItems() + ).filter(i => { + return 'page' === deploy_helpers.normalizeString(i['type']); + }); + + for (const PI of PAGE_ITEMS) { + const NEW_PAGE = new BrowserPageImpl(this); + NEW_PAGE.id = deploy_helpers.toStringSafe( PI['id'] ); + NEW_PAGE.title = deploy_helpers.toStringSafe( PI['title'] ); + NEW_PAGE.socketUri = deploy_helpers.toStringSafe( PI['webSocketDebuggerUrl'] ); + + PAGES.push( NEW_PAGE ); + } + + return PAGES; + } + + /** + * Gets the host address. + */ + public get host() { + let hostAddr = deploy_helpers.toStringSafe(this.options.host); + if ('' === hostAddr) { + hostAddr = deploy_contracts.DEFAULT_HOST; + } + + return hostAddr; + } + + /** + * Gets the options for the client. + */ + public readonly options: DevToolsClientOptions; + + /** + * Gets the TCP port. + */ + public get port() { + let tcpPort = parseInt( + deploy_helpers.toStringSafe(this.options.port).trim() + ); + if (isNaN(tcpPort)) { + tcpPort = 9222; + } + + return tcpPort; + } +} + +abstract class BrowserItemBase extends deploy_helpers.DisposableBase implements BrowserItem { + private _nextId = 0; + private _sendCallbacks: { [id: number]: SendToBrowserItemCallback }; + private _socket: WebSocket; + + public constructor(public readonly client: DevToolsClient) { + super(); + } + + public close() { + return new Promise((resolve, reject) => { + const COMPLETED = deploy_helpers.createCompletedAction(resolve, reject); + + const CUR_SOCKET = this._socket; + if (_.isNil(CUR_SOCKET)) { + COMPLETED(null, false); + return; + } + + try { + CUR_SOCKET.close(); + deploy_helpers.tryRemoveAllListeners(CUR_SOCKET); + + this._socket = null; + + COMPLETED(null); + } catch (e) { + COMPLETED(e); + } + }); + } + + public connect() { + return new Promise((resolve, reject) => { + const COMPLETED = deploy_helpers.createCompletedAction(resolve, reject); + + if (this.isInFinalizeState) { + COMPLETED( + new Error('Object is or is going to be disposed') + ); + return; + } + + if (!_.isNil(this._socket)) { + COMPLETED(null, false); + return; + } + + try { + const NEW_SOCKET = new WebSocket( this.socketUri ); + + NEW_SOCKET.once('error', (err) => { + if (err) { + COMPLETED(err); + } + }); + + NEW_SOCKET.once('close', () => { + this._socket = null; + + this.emit('close', + NEW_SOCKET); + }); + + NEW_SOCKET.once('open', () => { + this._sendCallbacks = {}; + this._socket = NEW_SOCKET; + + COMPLETED(null, true); + }); + + NEW_SOCKET.on('message', (data) => { + const ALL_CALLBACKS = this._sendCallbacks; + if (!_.isNil(ALL_CALLBACKS)) { + try { + let msg: any; + if (!_.isNil(data)) { + msg = JSON.parse( + deploy_helpers.toStringSafe(data) + ); + } + + if (_.isObject(msg)) { + const MSG_ID = parseInt( + deploy_helpers.toStringSafe(msg.id).trim() + ); + if (!isNaN(MSG_ID)) { + const DELETE_CALLBACK = (err?: any) => { + delete ALL_CALLBACKS[MSG_ID]; + }; + + try { + const CALLBACK = ALL_CALLBACKS[MSG_ID]; + if (!_.isNil(CALLBACK)) { + Promise.resolve( + CALLBACK(msg) + ).then(() => { + DELETE_CALLBACK(); + }, (err) => { + DELETE_CALLBACK(err); + }); + } + } finally { + DELETE_CALLBACK(); + } + } + } + } catch { } + } + + this.emit('message', + NEW_SOCKET, data); + }); + } catch (e) { + COMPLETED(e); + } + }); + } + + public id: string; + + public get isConnected() { + return !_.isNil(this._socket); + } + + public onDispose() { + const CUR_SOCKET = this._socket; + if (!_.isNil(CUR_SOCKET)) { + CUR_SOCKET.close(); + deploy_helpers.tryRemoveAllListeners(CUR_SOCKET); + + this._socket = null; + } + + this._sendCallbacks = null; + } + + public send(method: string, params?: any, callback?: SendToBrowserItemCallback) { + method = deploy_helpers.toStringSafe(method).trim(); + + return new Promise((resolve, reject) => { + const COMPLETED = deploy_helpers.createCompletedAction(resolve, reject); + + let id = 0; + try { + id = ++this._nextId; + + if (!_.isNil(callback)) { + this._sendCallbacks[id] = callback; + } + + this._socket.send( + JSON.stringify({ + id: id, + method: method, + params: params, + }), + (err) => { + COMPLETED(err); + } + ); + } catch (e) { + delete this._sendCallbacks[id]; + + COMPLETED(e); + } + }); + } + + public socketUri: string; +} + +class BrowserPageImpl extends BrowserItemBase implements BrowserPage { + public title: string; +} diff --git a/src/i18.ts b/src/i18.ts index 1dae55f..82957b6 100644 --- a/src/i18.ts +++ b/src/i18.ts @@ -603,6 +603,15 @@ export interface Translation { noPluginsFound?: string; noWorkspaceFound?: string; operations?: { + devTools?: { + errors?: { + couldNotConnectTo?: string; + }; + pages?: { + defaultTitle?: string; + selectPage?: string; + }; + }; http?: { bodyScriptNotFound?: string; noBodyScriptFunction?: string; diff --git a/src/lang/de.ts b/src/lang/de.ts index 273e3a2..ec25e1d 100644 --- a/src/lang/de.ts +++ b/src/lang/de.ts @@ -599,6 +599,15 @@ export const translation: Translation = { noPluginsFound: "Es wurden keine passenden Plug-Ins gefunden!", noWorkspaceFound: "Keinen passenden Arbeitsbereich gefunden!", operations: { + devTools: { + errors: { + couldNotConnectTo: "Verbindung zu{0:trim,surround,leading_space} konnte nicht hergestellt werden!", + }, + pages: { + defaultTitle: "Seite #{0:trim}", + selectPage: "Wählen Sie eine Seite ...", + }, + }, http: { bodyScriptNotFound: "Das Skript{0:trim,surround,leading_space} wurde nicht gefunden!", noBodyScriptFunction: "Das Skript{0:trim,surround,leading_space} enthält keine 'getBody' Funktion!", diff --git a/src/lang/en.ts b/src/lang/en.ts index 65fce69..4ba174b 100644 --- a/src/lang/en.ts +++ b/src/lang/en.ts @@ -600,6 +600,15 @@ export const translation: Translation = { noPluginsFound: "No matching plugins found!", noWorkspaceFound: "No matching workspace found!", operations: { + devTools: { + errors: { + couldNotConnectTo: "Connection to{0:trim,surround,leading_space} failed!", + }, + pages: { + defaultTitle: "Page #{0:trim}", + selectPage: "Select a page ...", + }, + }, http: { bodyScriptNotFound: "Script{0:trim,surround,leading_space} not found!", noBodyScriptFunction: "Script{0:trim,surround,leading_space} does not contain a 'getBody' function!", diff --git a/src/plugins/local.ts b/src/plugins/local.ts index d66d99b..b9e9ea0 100644 --- a/src/plugins/local.ts +++ b/src/plugins/local.ts @@ -20,6 +20,7 @@ import * as deploy_helpers from '../helpers'; import * as deploy_plugins from '../plugins'; import * as deploy_targets from '../targets'; import * as deploy_workspaces from '../workspaces'; +import * as FS from 'fs'; import * as FSExtra from 'fs-extra'; import * as Moment from 'moment'; import * as Path from 'path'; @@ -37,6 +38,10 @@ export interface LocalTarget extends deploy_targets.Target { * Empty directory before deploy or not. */ readonly empty?: boolean; + /** + * Try to synchronize the timestamps between source and target files or not. + */ + readonly syncTime?: boolean; } interface TargetSettings { @@ -103,6 +108,11 @@ class LocalPlugin extends deploy_plugins.PluginBase { } public async downloadFiles(context: deploy_plugins.DownloadContext) { + const TARGET = context.target; + const WORKSPACE = TARGET.__workspace; + + const SYNC_TIME = deploy_helpers.toBooleanSafe(TARGET.syncTime, true); + for (const F of context.files) { try { const SETTINGS = await this.getTargetSettings(context, F); @@ -128,6 +138,13 @@ class LocalPlugin extends deploy_plugins.PluginBase { ); await F.onDownloadCompleted(null, DOWNLOADED_FILE); + + if (SYNC_TIME) { + await trySyncTimes( + TARGET_FILE, F.file, + WORKSPACE.logger, 'plugins.local.downloadFiles(trySyncTimes)' + ); + } } catch (e) { await F.onDownloadCompleted(e); @@ -335,6 +352,10 @@ class LocalPlugin extends deploy_plugins.PluginBase { public async uploadFiles(context: deploy_plugins.UploadContext) { const ME = this; + const TARGET = context.target; + const WORKSPACE = TARGET.__workspace; + + const SYNC_TIME = deploy_helpers.toBooleanSafe(TARGET.syncTime, true); const ALREADY_CHECKED = {}; for (const F of context.files) { @@ -385,6 +406,13 @@ class LocalPlugin extends deploy_plugins.PluginBase { TARGET_FILE, DATA, ); + + if (SYNC_TIME) { + await trySyncTimes( + F.file, TARGET_FILE, + WORKSPACE.logger, 'plugins.local.uploadFiles(trySyncTimes)' + ); + } } await F.onUploadCompleted(); @@ -406,3 +434,27 @@ class LocalPlugin extends deploy_plugins.PluginBase { export function createPlugins(context: deploy_plugins.PluginContext) { return new LocalPlugin(context); } + +async function trySyncTimes( + src: string, dest: string, + logger: deploy_helpers.Logger, logTag: string, +): Promise { + try { + const STATS_SRC = await FSExtra.stat(src); + if (STATS_SRC) { + const STATS_DEST = await FSExtra.stat(dest); + if (STATS_DEST) { + try { + await FSExtra.utimes(dest, + STATS_SRC.atime, STATS_SRC.mtime); + + return true; + } catch (e) { + logger.warn(e, logTag); + } + } + } + } catch { } + + return false; +} diff --git a/src/targets.ts b/src/targets.ts index a00ff46..7388422 100644 --- a/src/targets.ts +++ b/src/targets.ts @@ -24,6 +24,7 @@ import * as deploy_mappings from './mappings'; import * as deploy_packages from './packages'; import * as deploy_targets_operations_cleanup from './targets/operations/cleanup'; import * as deploy_targets_operations_command from './targets/operations/command'; +import * as deploy_targets_operations_devtools from './targets/operations/devtools'; import * as deploy_targets_operations_exec from './targets/operations/exec'; import * as deploy_targets_operations_http from './targets/operations/http'; import * as deploy_targets_operations_open from './targets/operations/open'; @@ -566,6 +567,11 @@ export async function executeTargetOperations(opts: ExecuteTargetOperationOption executor = deploy_targets_operations_open.execute; break; + case 'browser': + case 'chrome': + executor = deploy_targets_operations_devtools.execute; + break; + case 'cleanup': executor = deploy_targets_operations_cleanup.execute; break; diff --git a/src/targets/operations/devtools.ts b/src/targets/operations/devtools.ts new file mode 100644 index 0000000..9c676dc --- /dev/null +++ b/src/targets/operations/devtools.ts @@ -0,0 +1,203 @@ +/** + * This file is part of the vscode-deploy-reloaded distribution. + * Copyright (c) Marcel Joachim Kloubert. + * + * vscode-deploy-reloaded is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, version 3. + * + * vscode-deploy-reloaded is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ + +import * as _ from 'lodash'; +import * as deploy_contracts from '../../contracts'; +import * as deploy_devtools from '../../devtools'; +import * as deploy_helpers from '../../helpers'; +import * as deploy_targets from '../../targets'; +import * as vscode from 'vscode'; + +/** + * An operation that invokes a method for a DevTools compatible browser debugger. + */ +export interface DevToolsTargetOperation extends deploy_targets.TargetOperation { + /** + * Always ask for the browser page or not. + */ + readonly alwaysAskForPage?: boolean; + /** + * Debug results or not. + */ + readonly debug?: boolean; + /** + * The hostname, where the debugger runs. + */ + readonly host?: string; + /** + * The name of the method to invoke. + */ + readonly method?: any; + /** + * A regular expression, which filters page by their title. + */ + readonly pages?: string; + /** + * Parameters for the method. + */ + readonly parameters?: any; + /** + * The TCP port, where the debugger runs. + */ + readonly port?: number; +} + +const KEY_DEV_TOOLS_PAGE = 'lastDevToolsPage'; + +/** @inheritdoc */ +export async function execute(context: deploy_targets.TargetOperationExecutionContext) { + const OPERATION = context.operation; + const TARGET = context.target; + const WORKSPACE = TARGET.__workspace; + + const ALWAYS_ASK_FOR_PAGE = deploy_helpers.toBooleanSafe(OPERATION.alwaysAskForPage); + const PAGES = deploy_helpers.toStringSafe( OPERATION.pages ); + + let sendCallback: deploy_devtools.SendToBrowserItemCallback; + if (deploy_helpers.toBooleanSafe(OPERATION.debug, true)) { + sendCallback = async (msg) => { + if (_.isNil(msg)) { + return; + } + + const LOG_TAG = 'targets.operations.devtools.execute(sendCallback)'; + + let msgJson: string; + try { + msgJson = JSON.stringify(msg, null, 2); + } catch { } + + if (!deploy_helpers.isEmptyString(msgJson)) { + WORKSPACE.output.appendLine(''); + WORKSPACE.output.appendLine( + msgJson + ); + + if (!_.isNil(msg.error)) { + WORKSPACE.logger + .err(msgJson, LOG_TAG); + } else { + WORKSPACE.logger + .info(msgJson, LOG_TAG); + } + } + }; + } + + let params = deploy_helpers.cloneObject( OPERATION.parameters ); + + let method = deploy_helpers.toStringSafe( OPERATION.method ).trim(); + if ('' === method) { + method = 'Page.reload'; + + if (_.isNil(params)) { + params = { + ignoreCache: true, + }; + } + } + + let pageFilter: false | RegExp = false; + if ('' !== PAGES.trim()) { + pageFilter = new RegExp(PAGES, 'i'); + } + + const CLIENT = new deploy_devtools.DevToolsClient({ + host: OPERATION.host, + port: OPERATION.port, + }); + try { + const PAGES = await CLIENT.getPages(); + + const LAST_SELECTED_PAGE: string = WORKSPACE.vars[KEY_DEV_TOOLS_PAGE]; + + const QUICK_PICKS: deploy_contracts.ActionQuickPick[] = + deploy_helpers.from( + PAGES.map((p, i) => { + let title = deploy_helpers.toStringSafe(p.title).trim(); + if ('' === title) { + title = WORKSPACE.t('targets.operations.devTools.pages.defaultTitle', + i + 1); + } + + return { + action: async () => { + if (!(await p.connect())) { + throw new Error( + WORKSPACE.t('targets.operations.devTools.errors.couldNotConnectTo', + p.socketUri) + ); + } + + try { + await p.send(method, params, + sendCallback); + + WORKSPACE.vars[KEY_DEV_TOOLS_PAGE] = p.id; + } finally { + try { + p.close(); + } catch { } + } + }, + detail: p.socketUri, + label: title, + state: p, + }; + }) + ).where(x => { + if (false !== pageFilter) { + return pageFilter.test( + deploy_helpers.toStringSafe(x.state.title) + ); + } + + return true; + }).orderBy(x => { + return LAST_SELECTED_PAGE === x.state.id ? 0 : 1; + }).thenBy(x => { + return deploy_helpers.normalizeString(x.label); + }).toArray(); + + if (QUICK_PICKS.length < 1) { + return; + } + + let selectedItem = deploy_helpers.from(QUICK_PICKS) + .firstOrDefault(x => x.state.id === LAST_SELECTED_PAGE, false); + if (ALWAYS_ASK_FOR_PAGE || (false === selectedItem)) { + delete WORKSPACE.vars[KEY_DEV_TOOLS_PAGE]; + + if (1 === QUICK_PICKS.length) { + selectedItem = QUICK_PICKS[0]; + } else { + selectedItem = await vscode.window.showQuickPick( + QUICK_PICKS, { + canPickMany: false, + placeHolder: WORKSPACE.t('targets.operations.devTools.pages.selectPage'), + } + ); + } + } + + if (selectedItem) { + await selectedItem.action(); + } + } finally { + deploy_helpers.tryDispose( CLIENT ); + } +}