Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | 11x 11x 11x 11x 11x 11x 11x 11x | import { Module } from '@nestjs/common';
import { TerminusModule } from '@nestjs/terminus';
import { HttpModule } from '@nestjs/axios';
import { HealthController } from '@app/modules/health/health.controller';
import { PrismaModule } from '@app/modules/prisma/prisma.module';
import { RedisModule } from '@app/modules/redis/redis.module';
// Custom health indicator for Prisma
import { PrismaHealthIndicatorService } from '@app/modules/health/prisma.health';
@Module({
imports: [TerminusModule, HttpModule, PrismaModule, RedisModule],
controllers: [HealthController],
providers: [PrismaHealthIndicatorService],
})
export class HealthModule {} |