Secret key to editor type

This commit is contained in:
Gregory Schier
2025-01-17 15:21:41 -08:00
parent 0491bed46d
commit 26cce077bb
3 changed files with 7 additions and 6 deletions

8
package-lock.json generated
View File

@@ -9,7 +9,7 @@
"plugins/*" "plugins/*"
], ],
"dependencies": { "dependencies": {
"@yaakapp/api": "^0.3.0" "@yaakapp/api": "^0.3.2"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^22.7.4", "@types/node": "^22.7.4",
@@ -1013,9 +1013,9 @@
} }
}, },
"node_modules/@yaakapp/api": { "node_modules/@yaakapp/api": {
"version": "0.3.0", "version": "0.3.2",
"resolved": "https://registry.npmjs.org/@yaakapp/api/-/api-0.3.0.tgz", "resolved": "https://registry.npmjs.org/@yaakapp/api/-/api-0.3.2.tgz",
"integrity": "sha512-A2msKEiqVIOdqn2q9oVXT69aJ7EwrbwNZ6gdrvqTqeTERLddRtO0OKj6wYUUpiqbGr1QY8Byu4BzHclp/aYHWw==", "integrity": "sha512-NiYQiVClAGfWelg5hwPhjRmYhC8K5KUtJS4tXdQpq573lUDQ7Dql7qsgnRwMUZ8gaiiDN7OXuphHXopndHLA+A==",
"dependencies": { "dependencies": {
"@types/node": "^22.5.4" "@types/node": "^22.5.4"
} }

View File

@@ -19,6 +19,6 @@
"workspaces-run": "^1.0.2" "workspaces-run": "^1.0.2"
}, },
"dependencies": { "dependencies": {
"@yaakapp/api": "^0.3.0" "@yaakapp/api": "^0.3.2"
} }
} }

View File

@@ -34,10 +34,11 @@ export const plugin: PluginDefinition = {
options: algorithms.map(value => ({ name: value === 'none' ? 'None' : value, value })), options: algorithms.map(value => ({ name: value === 'none' ? 'None' : value, value })),
}, },
{ {
type: 'text', type: 'editor',
name: 'secret', name: 'secret',
label: 'Secret or Private Key', label: 'Secret or Private Key',
optional: true, optional: true,
hideGutter: true,
}, },
{ {
type: 'checkbox', type: 'checkbox',