providers

This commit is contained in:
Alex Holliday committed 2026-01-19 18:58:17 +00:00
1 parent 7d6bc4b2dc
commit f7f764fd68
11 files changed
+126 -24

No files matched your search

@@ -0,0 +1,12 @@
import type { Monitor, Notification, MonitorStatusResponse } from "@/types/index.js";
import { INotificationProvider } from "@/service/index.js";
export class EmailProvider implements INotificationProvider {
async sendAlert(notification: Notification, monitor: Monitor, monitorStatusResponse: MonitorStatusResponse): Promise<boolean> {
return false;
}
async sendTestAlert(notification: Notification): Promise<boolean> {
return false;
}
}