progress on client site

This commit is contained in:
Henry Dollman
2024-07-08 15:53:12 -04:00
parent 93e94bdec6
commit 89b06d00aa
35 changed files with 1312 additions and 12 deletions

16
site/src/types.d.ts vendored Normal file
View File

@@ -0,0 +1,16 @@
import { RecordModel } from 'pocketbase'
export interface SystemRecord extends RecordModel {
name: string
stats: SystemStats
}
export interface SystemStats {
cpu: number
disk: number
diskPct: number
diskUsed: number
mem: number
memPct: number
memUsed: number
}