import { Module } from '@nestjs/common'; import { TypeOrmModule } from '@nestjs/typeorm'; import { TimedExecuteController } from './timedexecute.controller'; import { TimedExecuteService } from './timedexecute.service'; import { TimedExecuteConfig } from '../../entities/timedexecute-config.entity'; import { NatsService } from '../../services/nats.service'; @Module({ imports: [TypeOrmModule.forFeature([TimedExecuteConfig])], controllers: [TimedExecuteController], providers: [TimedExecuteService, NatsService], exports: [TimedExecuteService], }) export class TimedExecuteModule {}