import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { PluginsController } from './plugins.controller';
import { PluginsService } from './plugins.service';
import { PluginRegistry } from '../../entities/plugin-registry.entity';
import { NatsService } from '../../services/nats.service';

@Module({
  imports: [TypeOrmModule.forFeature([PluginRegistry])],
  controllers: [PluginsController],
  providers: [PluginsService, NatsService],
  exports: [PluginsService],
})
export class PluginsModule {}
