mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-30 15:15:24 +00:00
feat: type the plugin host record, move plugin strings out of core and add lint checks
This commit is contained in:
1 parent
bba06f7ff6
commit
b8bbcd2196
626 files changed
+23884
-4590
No files matched your search
@@ -158,8 +158,6 @@ export function ProxmoxDiscoverDialog({
|
||||
jumpHosts: discoveredJumpHosts ?? undefined,
|
||||
...importAuth,
|
||||
enableSsh: g.connectionType !== "rdp",
|
||||
enableRdp: g.connectionType === "rdp",
|
||||
enableDocker: g.enableDocker,
|
||||
connectionType: g.connectionType,
|
||||
tags: [
|
||||
"proxmox",
|
||||
@@ -168,8 +166,13 @@ export function ProxmoxDiscoverDialog({
|
||||
g.type === "lxc" ? `ct-${g.vmid}` : `vm-${g.vmid}`,
|
||||
...(g.enableDocker ? ["docker"] : []),
|
||||
],
|
||||
// This plugin's host settings travel with the import like an export's.
|
||||
// Host settings travel with the import like an export's, keyed by
|
||||
// the plugin that keeps them.
|
||||
pluginSettings: {
|
||||
...(g.connectionType === "rdp"
|
||||
? { "remote-desktop": { enableRdp: true, rdpPort: 3389 } }
|
||||
: {}),
|
||||
...(g.enableDocker ? { docker: { enableDocker: true } } : {}),
|
||||
proxmox: {
|
||||
proxmoxConfig: {
|
||||
source: {
|
||||
|
||||
Reference in new issue
Block a user