mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-09-05 20:03:39 +00:00
17 lines
599 B
TypeScript
17 lines
599 B
TypeScript
// health.module.ts
|
|
|
|
import { Module } from "@nestjs/common";
|
|
|
|
import { ChatModule } from "../chat/chat.module";
|
|
import { HealthController } from "./health.controller";
|
|
import { NotificationsModule } from "../notifications/notifications.module";
|
|
|
|
@Module({
|
|
// NotificationsModule exports the SMS/email clients; the readiness probe reads
|
|
// their broker connection state rather than opening a second connection.
|
|
// ChatModule exports MatrixClient for the MATRIX_ADMIN_TOKEN check.
|
|
imports: [NotificationsModule, ChatModule],
|
|
controllers: [HealthController],
|
|
})
|
|
export class HealthModule {}
|