Files
edr-platform/apps/finance-api/src/modules/reports/reports.module.ts
2026-08-25 00:11:39 +03:00

18 lines
582 B
TypeScript

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 {}