notification provider

This commit is contained in:
Alex Holliday committed 2026-01-18 16:34:20 +00:00
1 parent a0ebf7d224
commit cff5508614
5 files changed
+38 -7

No files matched your search

@@ -1,4 +1,7 @@
import type { Monitor } from "@/types/index.js";
import type { Monitor, Notification, Alert } from "@/types/index.js";
export interface IAlert {}
export interface IMessageProvider {}
export interface IMessageProvider {
buildAlert: (monitor: Monitor) => Alert;
sendAlert: (alert: Alert, notification: Notification) => Promise<boolean>;
sendTestAlert(notification: Notification): Promise<boolean>;
}