Files
Checkmate/server/src/service/infrastructure/notificationProviders/INotificationProvider.ts
T

7 lines
329 B
TypeScript
Raw Normal View History

2026-02-17 17:28:43 +00:00
import type { Notification } from "@/types/index.js";
2026-02-16 20:55:00 +00:00
import type { NotificationMessage } from "@/types/notificationMessage.js";
2026-01-18 06:02:07 +00:00
2026-01-18 16:59:38 +00:00
export interface INotificationProvider {
2026-02-17 17:28:43 +00:00
sendMessage: (notification: Notification, message: NotificationMessage) => Promise<boolean>;
2026-01-18 16:34:20 +00:00
sendTestAlert(notification: Notification): Promise<boolean>;
}