import { Module } from "@nestjs/common"; import { ReportsService } from "./reports.service"; import { ReportsController } from "./reports.controller"; /** * No `TypeOrmModule.forFeature` — every report is raw SQL over the DataSource, * the sanctioned approach for cross-table aggregates and the one HR's 3.7 * reports use. There are no entities to register because there is nothing to * write: this module is read-only end to end. */ @Module({ controllers: [ReportsController], providers: [ReportsService], exports: [ReportsService], }) export class ReportsModule {}