test(notification): added framework for managment tab

This commit is contained in:
2025-04-14 12:27:45 -05:00
parent 17773e9a23
commit ae7ea2bb90
6 changed files with 143 additions and 16 deletions

View File

@@ -11,10 +11,11 @@ import { startNotificationMonitor } from "./utils/processNotifications.js";
import notifyStats from "./routes/getActiveNotifications.js";
import tiTrigger from "./routes/manualTiggerTi.js";
import blocking from "./routes/qualityBlocking.js";
import notify from "./routes/getNotifications.js";
const app = new OpenAPIHono();
const routes = [sendemail, notifyStats, tiTrigger, blocking] as const;
const routes = [sendemail, notifyStats, tiTrigger, blocking, notify] as const;
const appRoutes = routes.forEach((route) => {
app.route("/notify", route);