import { Module, forwardRef } from '@nestjs/common'; import { TypeOrmModule } from '@nestjs/typeorm'; import { DeploymentsService } from './deployments.service'; import { DeploymentsController } from './deployments.controller'; import { Deployment } from './entities/deployment.entity'; import { ApplicationsModule } from '../applications/applications.module'; import { KubernetesModule } from '../kubernetes/kubernetes.module'; import { BuildModule } from '../build/build.module'; @Module({ imports: [ TypeOrmModule.forFeature([Deployment]), forwardRef(() => ApplicationsModule), KubernetesModule, BuildModule, ], controllers: [DeploymentsController], providers: [DeploymentsService], exports: [DeploymentsService], }) export class DeploymentsModule {}