feat: add NotificationsService with SSE subject pool

This commit is contained in:
2026-07-05 23:01:26 +08:00
parent bb11ca1880
commit 5f14b9ff15
6 changed files with 167 additions and 2 deletions

View 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 {}