15 lines
379 B
TypeScript
15 lines
379 B
TypeScript
import { Global, Module } from '@nestjs/common';
|
|||
|
|
import { SmsService } from './sms.service';
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Global so any module can send an SMS without re-importing it — the twelve
|
||
|
|
* reference notification points are spread across orders, documents and
|
||
|
|
* customer management.
|
||
|
|
*/
|
||
|
|
@Global()
|
||
|
|
@Module({
|
||
|
|
providers: [SmsService],
|
||
|
|
exports: [SmsService],
|
||
|
|
})
|
||
|
|
export class SmsModule {}
|