import { Module, forwardRef } from '@nestjs/common'; import { TypeOrmModule } from '@nestjs/typeorm'; import { ClustersService } from './clusters.service'; import { ClustersController } from './clusters.controller'; import { Cluster } from './entities/cluster.entity'; import { ClusterPool } from './entities/cluster-pool.entity'; import { KubernetesModule } from '../kubernetes/kubernetes.module'; @Module({ imports: [ TypeOrmModule.forFeature([Cluster, ClusterPool]), forwardRef(() => KubernetesModule), ], controllers: [ClustersController], providers: [ClustersService], exports: [ClustersService], }) export class ClustersModule {}