add missing const, add key check

This commit is contained in:
Alex Holliday committed 2026-08-28 12:28:26 -07:00
1 parent 1ca38a31c9
commit 8f6c909acd
2 files changed
+13 -4

No files matched your search

+1 -1
View File
@@ -97,7 +97,7 @@ export interface HardwareStatusPayload {
}
// Docker host monitoring
export const DockerContainerStates = ["created", "running", "paused", "restarting", "removing", "exited", "dead"];
export const DockerContainerStates = ["created", "running", "paused", "restarting", "removing", "exited", "dead"] as const;
export type DockerContainerState = (typeof DockerContainerStates)[number];
export const DockerHealthStatuses = ["healthy", "unhealthy", "starting", "none"] as const;