import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { TrendsController } from './trends.controller';
import { TrendsService } from './trends.service';
import { AggregatedMetric } from '../entities/aggregated-metric.entity';

@Module({
  imports: [TypeOrmModule.forFeature([AggregatedMetric])],
  controllers: [TrendsController],
  providers: [TrendsService],
  exports: [TrendsService],
})
export class TrendsModule {}
