notification provider
This commit is contained in:
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>;
|
||||
}
|
||||
Reference in new issue
Block a user