import { Module } from '@nestjs/common';
// 跨 host 的 /admin/hosts 裸 API 已删:host 管理只走 CLI(pnpm pac:host)+ 自管页(/admin/host/self,
// 按 token 的 hostId 自动 scope,碰不到别家)。HostsService 仍由 CLI / host-self 复用。
import { HostSelfAdminController } from './host-self.controller';
import { AiInvocationsAdminController } from './ai-invocations.controller';
import { MappingMissAdminController } from './mapping-miss.controller';
import { HostsService } from './hosts.service';
import { AiInvocationsService } from './ai-invocations.service';
import { MappingMissService } from './mapping-miss.service';

@Module({
  controllers: [
    HostSelfAdminController,
    AiInvocationsAdminController,
    MappingMissAdminController,
  ],
  providers: [HostsService, AiInvocationsService, MappingMissService],
  exports: [HostsService, AiInvocationsService],
})
export class AdminModule {}
