forked from Yara724/api
Initial commit after migration to gitea
This commit is contained in:
19
src/sand-hub/sand-hub.module.ts
Normal file
19
src/sand-hub/sand-hub.module.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
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 {}
|
||||
Reference in New Issue
Block a user