import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { TeleportController } from './teleport.controller';
import { TeleportService } from './teleport.service';
import { TeleportConfig } from '../../entities/teleport-config.entity';
import { NatsService } from '../../services/nats.service';

@Module({
  imports: [TypeOrmModule.forFeature([TeleportConfig])],
  controllers: [TeleportController],
  providers: [TeleportService, NatsService],
  exports: [TeleportService],
})
export class TeleportModule {}
