feat(gateway): MosaicPlugin lifecycle + ReloadService + hot reload (P8-013) (#182)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
Co-authored-by: Jason Woltje <jason@diversecanvas.com> Co-committed-by: Jason Woltje <jason@diversecanvas.com>
This commit was merged in pull request #182.
This commit is contained in:
14
apps/gateway/src/reload/reload.module.ts
Normal file
14
apps/gateway/src/reload/reload.module.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { forwardRef, Module } from '@nestjs/common';
|
||||
import { AdminGuard } from '../admin/admin.guard.js';
|
||||
import { ChatModule } from '../chat/chat.module.js';
|
||||
import { CommandsModule } from '../commands/commands.module.js';
|
||||
import { ReloadController } from './reload.controller.js';
|
||||
import { ReloadService } from './reload.service.js';
|
||||
|
||||
@Module({
|
||||
imports: [forwardRef(() => CommandsModule), forwardRef(() => ChatModule)],
|
||||
controllers: [ReloadController],
|
||||
providers: [ReloadService, AdminGuard],
|
||||
exports: [ReloadService],
|
||||
})
|
||||
export class ReloadModule {}
|
||||
Reference in New Issue
Block a user