import { HttpModule } from "@nestjs/axios"; import { Module } from "@nestjs/common"; import { MongooseModule } from "@nestjs/mongoose"; import { SandHubDbService } from "src/sand-hub/entity/db-service/sand-hub.db.service"; import { SandHubModel, SandHubSchema } from "./entity/schema/sand-hub.schema"; import { SandHubService } from "./sand-hub.service"; @Module({ imports: [ HttpModule, MongooseModule.forFeature([ { name: SandHubModel.name, schema: SandHubSchema }, ]), ], providers: [SandHubService, SandHubDbService], exports: [SandHubService, SandHubDbService], controllers: [], }) export class SandHubModule {}