update providers

This commit is contained in:
Alex Holliday committed 2026-02-15 18:35:54 +00:00
1 parent 8020bfde21
commit be8580ee99
9 files changed
+140 -35

No files matched your search

@@ -1,6 +1,12 @@
import type { Monitor, Notification, Alert, MonitorStatusResponse } from "@/types/index.js";
import type { MonitorActionDecision } from "@/service/infrastructure/SuperSimpleQueue/SuperSimpleQueueHelper.js";
export interface INotificationProvider {
sendAlert: (notification: Notification, monitor: Monitor, monitorStatusResponse: MonitorStatusResponse) => Promise<boolean>;
sendAlert: (
notification: Notification,
monitor: Monitor,
monitorStatusResponse: MonitorStatusResponse,
decision: MonitorActionDecision
) => Promise<boolean>;
sendTestAlert(notification: Notification): Promise<boolean>;
}