refactor(beszel): deduplicate BeszelSystemRow type definition

Consolidate BeszelSystemRow into @homarr/integrations as the single
source of truth. Both request-handler and widgets now re-export from
there instead of maintaining separate identical copies that could
silently diverge.
This commit is contained in:
Thomas Camlong committed 2026-06-08 15:50:55 +02:00
1 parent 48dcf65c4e
commit 5cf9b1b752
3 files changed
+25 -44

No files matched your search

@@ -242,3 +242,25 @@ export interface PocketBaseListResponse<T> {
totalPages: number;
items: T[];
}
export interface BeszelSystemRow {
id: string;
name: string;
status: BeszelSystemStatus;
cpu: number;
memory: number;
disk: number;
gpu: number;
loadAvg: [number, number, number] | null;
netBytes: number;
temp: number | null;
battery: [number, number] | null;
services: number;
uptime: number;
agentVersion: string;
hostname: string;
cpuModel: string;
cores: number;
memoryTotal: number;
osName: string;
}