import { Module } from '@nestjs/common';
import { RacingPersistenceModule } from '../../persistence/racing/RacingPersistenceModule';
import { SocialPersistenceModule } from '../../persistence/social/SocialPersistenceModule';
import { DashboardController } from './DashboardController';
import { DashboardProviders } from './DashboardProviders';
import { DashboardService } from './DashboardService';

@Module({
  imports: [RacingPersistenceModule, SocialPersistenceModule],
  controllers: [DashboardController],
  providers: [DashboardService, ...DashboardProviders],
  exports: [DashboardService],
})
export class DashboardModule {}
