Self-hosted homelab infrastructure visualizer — interactive network diagram with live status monitoring
TypeScript diagramhomelabhomelab-infrastructure-observabilitynetworkproxmox-veself-hostedzigbeezwavezwave-js
fix: type standalone canvas theme_id as ThemeId
Pouzor1f2d298419ff
diff --git a/frontend/src/utils/standaloneStorage.ts b/frontend/src/utils/standaloneStorage.tsindex c8245d2..f5f2506 100644--- a/frontend/src/utils/standaloneStorage.ts+++ b/frontend/src/utils/standaloneStorage.ts@@ -12,6 +12,7 @@*/import type { Node, Edge } from '@xyflow/react'import type { Design, DesignType, NodeData, EdgeData, CustomStyleDef } from '@/types'+import type { ThemeId } from '@/utils/themes'import { generateUUID } from '@/utils/uuid'const DESIGNS_KEY = 'homelable_designs'@@ -21,7 +22,7 @@ const canvasKey = (designId: string) => `${LEGACY_CANVAS_KEY}:${designId}`export interface StandaloneCanvas {nodes: Node<NodeData>[]edges: Edge<EdgeData>[]- theme_id?: string+ theme_id?: ThemeIdcustom_style?: CustomStyleDef | null}