mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-29 14:45:24 +00:00
feat: move snippets, keybinding actions and macros out of core into plugins
This commit is contained in:
1 parent
d9bba10612
commit
e0c30a4e6f
262 files changed
+9091
-10744
No files matched your search
@@ -279,6 +279,51 @@
|
||||
"guest": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"keybindingActions": {
|
||||
"type": "array",
|
||||
"description": "Keybinding actions the plugin adds, with the parameters a saved binding carries.",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["id"],
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string",
|
||||
"pattern": "^[a-zA-Z][a-zA-Z0-9.-]{0,63}$",
|
||||
"not": {
|
||||
"enum": [
|
||||
"nextTab",
|
||||
"previousTab",
|
||||
"openCommandPalette",
|
||||
"reconnectSession"
|
||||
]
|
||||
}
|
||||
},
|
||||
"params": {
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"pattern": "^[a-zA-Z][a-zA-Z0-9]{0,31}$",
|
||||
"not": { "const": "type" }
|
||||
},
|
||||
"additionalProperties": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["type"],
|
||||
"properties": {
|
||||
"type": { "enum": ["string", "boolean"] },
|
||||
"required": { "type": "boolean" },
|
||||
"pattern": { "type": "string" },
|
||||
"maxLength": { "type": "integer", "minimum": 1 },
|
||||
"syncEntity": {
|
||||
"type": "string",
|
||||
"pattern": "^[a-zA-Z][a-zA-Z0-9]*$"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"syncEntities": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
@@ -840,6 +885,10 @@
|
||||
"additionalProperties": false,
|
||||
"description": "HTTP options for the plugin's /plugin-api/<id>/ router.",
|
||||
"properties": {
|
||||
"adminImpersonation": {
|
||||
"type": "boolean",
|
||||
"description": "An admin may call the plugin's routes on behalf of another user with the X-Admin-Target-User header."
|
||||
},
|
||||
"legacyPaths": {
|
||||
"type": "array",
|
||||
"description": "Old URLs under /<plugin id>/ served by the plugin's router with that prefix removed.",
|
||||
|
||||
Reference in new issue
Block a user