import { Controller, Get } from '@nestjs/common';

@Controller('health')
export class HealthController {
  @Get()
  check(): { status: string } {
    return { status: 'ok' };
  }

  /** Readiness intentionally exposes no configuration, provider, or credential details. */
  @Get('ready')
  ready(): { status: string } {
    return { status: 'ready' };
  }
}
