import { Module } from '@nestjs/common';
import { RacingPersistenceModule } from '../../persistence/racing/RacingPersistenceModule';
import { SocialPersistenceModule } from '../../persistence/social/SocialPersistenceModule';
import { DriverController } from './DriverController';
import { DriverProviders } from './DriverProviders';
import { DriverService } from './DriverService';

@Module({
  imports: [RacingPersistenceModule, SocialPersistenceModule],
  controllers: [DriverController],
  providers: [DriverService, ...DriverProviders],
  exports: [DriverService],
})
export class DriverModule {}
