Files
Checkmate/server/src/service/infrastructure/notificationProviders/utils.ts
T
2026-02-17 17:28:43 +00:00

12 lines
460 B
TypeScript

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