feat: type the plugin host record, move plugin strings out of core and add lint checks

This commit is contained in:
LukeGus committed 2026-09-29 13:08:39 -05:00
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: {