import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { PlayersController } from './players.controller';
import { PlayersService } from './players.service';
import { PlayerAction } from '../../entities/player-action.entity';
import { PlayerSession } from '../../entities/player-session.entity';
import { NatsService } from '../../services/nats.service';

@Module({
  imports: [TypeOrmModule.forFeature([PlayerAction, PlayerSession])],
  controllers: [PlayersController],
  providers: [PlayersService, NatsService],
  exports: [PlayersService],
})
export class PlayersModule {}
