import { Module } from '@nestjs/common';
import { MikroOrmModule } from '@mikro-orm/nestjs';
import { CoreModule } from '../core/core.module';
import { AdminController } from './admin.controller';
import { ModuleRegistryService } from '../core/services/module-registry.service';

@Module({
  imports: [CoreModule, MikroOrmModule.forFeature([])],
  controllers: [AdminController],
  providers: [ModuleRegistryService],
  exports: [ModuleRegistryService],
})
export class AdminModule {}
