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

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