Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Polish: Standardize NodeConfigWithStatus type
rcourtmanc40a8b540222
diff --git a/frontend-modern/src/components/Settings/ProxmoxAgentNodesPanel.tsx b/frontend-modern/src/components/Settings/ProxmoxAgentNodesPanel.tsxindex 5794e539be..1de0578b92 100644--- a/frontend-modern/src/components/Settings/ProxmoxAgentNodesPanel.tsx+++ b/frontend-modern/src/components/Settings/ProxmoxAgentNodesPanel.tsx@@ -13,7 +13,7 @@ import Server from 'lucide-solid/icons/server';import HardDrive from 'lucide-solid/icons/hard-drive';import Mail from 'lucide-solid/icons/mail';import Loader from 'lucide-solid/icons/loader-2';-import type { NodeConfig } from '@/types/nodes';+import type { NodeConfig, NodeConfigWithStatus } from '@/types/nodes';import type { Node, PBSInstance, PMGInstance, Host } from '@/types/api';type AgentType = 'pve' | 'pbs' | 'pmg';diff --git a/frontend-modern/src/types/nodes.ts b/frontend-modern/src/types/nodes.tsindex 8fcca64dd1..8a51a70f0a 100644--- a/frontend-modern/src/types/nodes.ts+++ b/frontend-modern/src/types/nodes.ts@@ -96,6 +96,12 @@ export type NodeConfig = (PVENodeConfig | PBSNodeConfig | PMGNodeConfig) & {source?: 'agent' | 'script' | ''; // How this node was registered};+export type NodeConfigWithStatus = NodeConfig & {+ hasPassword?: boolean;+ hasToken?: boolean;+ status: 'connected' | 'disconnected' | 'offline' | 'error' | 'pending';+};+export interface NodesResponse {pve_instances: PVENodeConfig[];pbs_instances: PBSNodeConfig[];