mirror of
https://github.com/henrygd/beszel.git
synced 2026-03-22 21:46:18 +01:00
- 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.
14 lines
122 B
TypeScript
14 lines
122 B
TypeScript
export enum Os {
|
|
Linux = 0,
|
|
Darwin,
|
|
Windows,
|
|
// FreeBSD,
|
|
}
|
|
|
|
export enum ChartType {
|
|
Memory,
|
|
Disk,
|
|
Network,
|
|
CPU,
|
|
}
|