This commit is contained in:
RGJorge
2026-05-08 02:19:45 +00:00
parent 9e1dadafe7
commit 1ee37368bd
23 changed files with 1321 additions and 147 deletions
+17
View File
@@ -50,6 +50,23 @@ export interface LogLine {
stream: "stdout" | "stderr";
}
export interface DiscordConfig {
enabled: boolean;
webhookUrl: string;
events: {
containerStateChanges: boolean;
resourceAlerts: boolean;
uiActions: boolean;
actionErrors: boolean;
};
thresholds: {
cpuPercent: number;
memPercent: number;
};
cooldownMinutes: number;
downReminderMinutes: number;
}
export type WSMessage =
| { type: "services"; data: Service[] }
| { type: "connections"; data: Connection[] }