misskey/packages/backend/src/daemons/DaemonModule.ts

25 lines
563 B
TypeScript
Raw Normal View History

2022-09-18 03:27:08 +09:00
import { Module } from '@nestjs/common';
import { CoreModule } from '@/core/CoreModule.js';
import { GlobalModule } from '@/GlobalModule.js';
import { JanitorService } from './JanitorService.js';
import { QueueStatsService } from './QueueStatsService.js';
import { ServerStatsService } from './ServerStatsService.js';
@Module({
imports: [
GlobalModule,
CoreModule,
],
providers: [
JanitorService,
QueueStatsService,
ServerStatsService,
],
exports: [
JanitorService,
QueueStatsService,
ServerStatsService,
],
})
export class DaemonModule {}