@termix-ssh/plugin-sdk 1.0.2 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +31 -0
- package/LICENSE +202 -0
- package/README.md +4 -2
- package/cli/commands/build.mjs +44 -19
- package/cli/commands/dev.mjs +1 -1
- package/cli/commands/migrations.mjs +2 -2
- package/cli/commands/openapi.mjs +39 -0
- package/cli/commands/validate.mjs +72 -0
- package/cli/index.mjs +3 -0
- package/cli/lib/css-classes.mjs +37 -0
- package/dist/changelog.d.ts +3 -1
- package/dist/changelog.js +12 -2
- package/dist/db.d.ts +1 -1
- package/dist/db.js +1 -1
- package/dist/ddl.js +4 -1
- package/dist/docs.d.ts +28 -0
- package/dist/docs.js +39 -0
- package/dist/frontend.d.ts +17 -0
- package/dist/frontend.js +8 -0
- package/dist/host/{chunk-XKMRKQFN.js → chunk-KOOUKYW3.js} +1 -1
- package/dist/host/{chunk-LKYAVM4T.js → chunk-OEOKIKXC.js} +18 -9
- package/dist/host/{chunk-SS43S6VI.js → chunk-VETPF5WI.js} +478 -431
- package/dist/host/core-classes.json +1 -0
- package/dist/host/{linked-server-DW5P3NLZ.js → linked-server-RWBK427T.js} +1 -1
- package/dist/host/{rbac-api-JKISXZEP.js → rbac-api-UJGGTQVA.js} +1 -1
- package/dist/host/testing-host.js +3 -3
- package/dist/host/types/src/types/credential-sidebar-preferences.d.ts +1 -1
- package/dist/host/types/src/ui/api/plugins-api.d.ts +6 -0
- package/dist/host/types/src/ui/components/docs-link.d.ts +25 -0
- package/dist/host/types/src/ui/components/panel-layout.d.ts +3 -1
- package/dist/host/types/src/ui/lib/docs.d.ts +10 -0
- package/dist/host/types/src/ui/lib/error-message.d.ts +1 -1
- package/dist/host/types/src/ui/main-axios.d.ts +1 -2
- package/dist/host/types/src/ui/plugin-host/sdk-ui.d.ts +1 -0
- package/dist/host/ui.js +18 -8
- package/dist/host/{use-permissions-5CZEA3P4.js → use-permissions-P3DC7ZDR.js} +1 -1
- package/dist/host-commands.js +1 -1
- package/dist/manifest.d.ts +7 -1
- package/dist/manifest.js +48 -1
- package/dist/openapi.d.ts +43 -0
- package/dist/openapi.js +60 -0
- package/dist/testing/setup.js +1 -0
- package/package.json +22 -1
- package/schema/manifest.schema.json +21 -0
|
@@ -85,6 +85,27 @@
|
|
|
85
85
|
"items": { "type": "string", "minLength": 1, "maxLength": 160 },
|
|
86
86
|
"description": "Short lines listing what the plugin does, shown on its page."
|
|
87
87
|
},
|
|
88
|
+
"docs": {
|
|
89
|
+
"type": "string",
|
|
90
|
+
"pattern": "^https://",
|
|
91
|
+
"description": "Where the plugin's docs live. Shown as a Documentation link in Termix."
|
|
92
|
+
},
|
|
93
|
+
"env": {
|
|
94
|
+
"type": "array",
|
|
95
|
+
"description": "Environment variables the plugin reads, listed in its docs.",
|
|
96
|
+
"items": {
|
|
97
|
+
"type": "object",
|
|
98
|
+
"additionalProperties": false,
|
|
99
|
+
"required": ["name", "description"],
|
|
100
|
+
"properties": {
|
|
101
|
+
"name": { "type": "string", "pattern": "^[A-Z][A-Z0-9_]{0,63}$" },
|
|
102
|
+
"description": { "type": "string", "minLength": 1, "maxLength": 300 },
|
|
103
|
+
"default": { "type": "string" },
|
|
104
|
+
"required": { "type": "boolean" },
|
|
105
|
+
"secret": { "type": "boolean" }
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
},
|
|
88
109
|
"engine": {
|
|
89
110
|
"type": "object",
|
|
90
111
|
"additionalProperties": false,
|