notificaiton providers

This commit is contained in:
Alex Holliday committed 2026-03-03 23:27:48 +00:00
1 parent 00150ba6f4
commit af8b128ac2
4 files changed
+12 -16

No files matched your search

@@ -1,6 +1,6 @@
import { Monitor, HardwareStatusPayload, MonitorStatusResponse } from "@/types/index.js";
import EmailService from "@/service/infrastructure/emailService.js";
// Test notification helpers - used by all providers for test alerts
export const buildTestEmail = async (emailService: any) => {
export const buildTestEmail = async (emailService: EmailService) => {
const context = { testName: "Monitoring System" };
const html = await emailService.buildEmail("testEmailTemplate", context);
return html;