mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-27 08:32:54 +00:00
18 lines
582 B
TypeScript
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 {}
|