Files
beszel-ipv6/beszel/site/src/lib/enums.ts
henrygd ea665e02da Improve system information retrieval for macOS and Windows
- Introduce `Os` enum to represent supported operating systems.
- Update `SystemInfo` interface to include OS type.
- Refactor `ContainerChart` component to use `ChartType` enum for better clarity.
- Switched to dynamic units in container memory chart.
2025-04-22 20:29:17 -04:00

14 lines
122 B
TypeScript

export enum Os {
Linux = 0,
Darwin,
Windows,
// FreeBSD,
}
export enum ChartType {
Memory,
Disk,
Network,
CPU,
}