refactord paths.ts

This commit is contained in:
2022-06-11 00:05:32 -05:00
parent 29b40b4e43
commit 83570d9535
14 changed files with 148 additions and 97 deletions

View File

@@ -29,7 +29,6 @@
"match": {
"description": "Define rules to decide whether a script should be executed",
"type": ["string", "array"],
"minItems": 1,
"uniqueItems": true,
"items": {
"type": "string"
@@ -38,7 +37,6 @@
"excludematch": {
"description": "Define rules to decide whether a script should be executed",
"type": ["string", "array"],
"minItems": 1,
"uniqueItems": true,
"items": {
"type": "string"
@@ -68,7 +66,6 @@
"require": {
"description": "Require another script to execute before the current one\n\nThe value is the URL to the required script, which may be relative to the URL the script is being installed from",
"type": ["string", "array"],
"minItems": 1,
"uniqueItems": true,
"items": {
"type": "string"
@@ -77,7 +74,6 @@
"resource": {
"description": "Static resources that can be accessed in the script by GM_getResourceText and GM_getResourceURL\n\nThe value is composed of two parts, joined with one or more white spaces\n\nThe first part is the name of the resource, no white space is allowed in it\n\nThe second part is the URL to the resource, which may be relative to the URL the script is being installed from",
"type": ["string", "array"],
"minItems": 1,
"uniqueItems": true,
"items": {
"type": "string"
@@ -95,7 +91,6 @@
"grant": {
"description": "Specify which special APIs should be granted and can be used when the script executes\n\nIf nothing is present, \"none\" is assumed\n\nAny GM_ or GM. function used, including window.close and window.focus",
"type": ["string", "array"],
"minItems": 1,
"uniqueItems": true,
"items": {
"type": "string"