site updates

This commit is contained in:
Henry Dollman
2024-07-10 16:09:08 -04:00
parent 307218d001
commit 96e4c3b9ea
7 changed files with 91 additions and 36 deletions

12
site/src/types.d.ts vendored
View File

@@ -17,3 +17,15 @@ export interface SystemStats {
memPct: number
memUsed: number
}
export interface ContainerStatsRecord extends RecordModel {
system: string
stats: ContainerStats
}
interface ContainerStats {
name: string
cpu: number
mem: number
mempct: number
}