forked from Yara724/api
Centralized SMS services YARA-834
This commit is contained in:
16
src/sms-orchestration/sms-orchestration.module.ts
Normal file
16
src/sms-orchestration/sms-orchestration.module.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import { Module } from "@nestjs/common";
|
||||
import { MongooseModule } from "@nestjs/mongoose";
|
||||
import { SmsTextDbService } from "./entities/db-service/sms-text.db.service";
|
||||
import { SmsText, SmsTextSchema } from "./entities/schema/sms-text.schema";
|
||||
import { SmsGatewayModule } from "./provider/sms-gateway.module";
|
||||
import { SmsOrchestrationService } from "./sms-orchestration.service";
|
||||
|
||||
@Module({
|
||||
imports: [
|
||||
SmsGatewayModule,
|
||||
MongooseModule.forFeature([{ name: SmsText.name, schema: SmsTextSchema }]),
|
||||
],
|
||||
providers: [SmsTextDbService, SmsOrchestrationService],
|
||||
exports: [SmsOrchestrationService],
|
||||
})
|
||||
export class SmsOrchestrationModule {}
|
||||
Reference in New Issue
Block a user