feat(web): inventory panel on server detail
Server Deploy / deploy (push) Successful in 41s

This commit is contained in:
2026-07-21 14:08:36 +01:00
parent 1850f352a2
commit ca2c05db14
2 changed files with 73 additions and 1 deletions
+12
View File
@@ -7,6 +7,17 @@ export interface PackageUpdate {
new_version: string;
}
export interface Inventory {
cpu: { model?: string; cores?: number; usage_pct: number; load1?: number };
memory: { total_bytes: number; used_bytes: number };
swap_total_bytes: number;
swap_used_bytes: number;
partitions?: { device: string; mountpoint: string; fstype?: string; total_bytes: number; used_bytes: number }[];
kernel?: string;
metrics_at?: string;
static_at?: string;
}
export interface Server {
id: string;
server_id: string;
@@ -20,6 +31,7 @@ export interface Server {
available_updates?: PackageUpdate[];
updates_checked_at?: string;
console_protocols?: string[];
inventory?: Inventory;
}
export interface ConsoleConnectRequest {