import { Module } from '@nestjs/common'; import { TypeOrmModule } from '@nestjs/typeorm'; import { BidCrawlerService } from './services/bid-crawler.service'; import { CrawlerController } from './crawler.controller'; import { BidsModule } from '../bids/bids.module'; import { CrawlInfoAdd } from './entities/crawl-info-add.entity'; @Module({ imports: [BidsModule, TypeOrmModule.forFeature([CrawlInfoAdd])], controllers: [CrawlerController], providers: [BidCrawlerService], exports: [BidCrawlerService], }) export class CrawlerModule {}