import { HttpModule } from "@nestjs/axios";
import { CacheModule, Module } from "@nestjs/common";
import { PapersController } from "../../application";
import { SearchService } from "../../core/services/common/search.service";
import { UploadService } from "../../core/services/common/upload.service";

/**
 * Search module
 */
@Module({
    imports: [
        HttpModule,
        CacheModule.register(),
    ],
    exports: [SearchService, UploadService],
    providers: [SearchService, UploadService],
    controllers: [PapersController],
})
export class PapersModule {}