forked from wangziqi/gongxue-base
feat: add NotificationsService with SSE subject pool
This commit is contained in:
11
apps/server/src/notifications/notifications.module.ts
Normal file
11
apps/server/src/notifications/notifications.module.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { Module } from '@nestjs/common';
|
||||
import { TypeOrmModule } from '@nestjs/typeorm';
|
||||
import { Notification } from '../entities/notification.entity';
|
||||
import { NotificationsService } from './notifications.service';
|
||||
|
||||
@Module({
|
||||
imports: [TypeOrmModule.forFeature([Notification])],
|
||||
providers: [NotificationsService],
|
||||
exports: [NotificationsService],
|
||||
})
|
||||
export class NotificationsModule {}
|
||||
Reference in New Issue
Block a user