import { forwardRef, Module } from '@nestjs/common';

import { AuthModule } from '../../auth/auth.module';
import { NodeBridgeModule } from '../../nodes/node-bridge.module';
import { PrismaModule } from '../../prisma/prisma.module';
import { FilesModule } from '../files/files.module';

import { PlayersController } from './players.controller';
import { PlayersService } from './players.service';

@Module({
  imports: [
    AuthModule,
    PrismaModule,
    forwardRef(() => NodeBridgeModule),
    forwardRef(() => FilesModule),
  ],
  controllers: [PlayersController],
  providers: [PlayersService],
  exports: [PlayersService],
})
export class PlayersModule {}
