2023-07-27 05:31:52 +00:00
|
|
|
/*
|
2024-02-13 15:59:27 +00:00
|
|
|
* SPDX-FileCopyrightText: syuilo and misskey-project
|
2023-07-27 05:31:52 +00:00
|
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
*/
|
|
|
|
|
2022-09-17 18:27:08 +00:00
|
|
|
import { Module } from '@nestjs/common';
|
|
|
|
import { CoreModule } from '@/core/CoreModule.js';
|
2023-01-21 05:09:01 +00:00
|
|
|
import { GlobalModule } from '@/GlobalModule.js';
|
2022-09-17 18:27:08 +00:00
|
|
|
import { QueueLoggerService } from './QueueLoggerService.js';
|
|
|
|
import { QueueProcessorService } from './QueueProcessorService.js';
|
|
|
|
import { DeliverProcessorService } from './processors/DeliverProcessorService.js';
|
|
|
|
import { EndedPollNotificationProcessorService } from './processors/EndedPollNotificationProcessorService.js';
|
|
|
|
import { InboxProcessorService } from './processors/InboxProcessorService.js';
|
|
|
|
import { WebhookDeliverProcessorService } from './processors/WebhookDeliverProcessorService.js';
|
|
|
|
import { CheckExpiredMutingsProcessorService } from './processors/CheckExpiredMutingsProcessorService.js';
|
|
|
|
import { CleanChartsProcessorService } from './processors/CleanChartsProcessorService.js';
|
|
|
|
import { CleanProcessorService } from './processors/CleanProcessorService.js';
|
|
|
|
import { CleanRemoteFilesProcessorService } from './processors/CleanRemoteFilesProcessorService.js';
|
|
|
|
import { DeleteAccountProcessorService } from './processors/DeleteAccountProcessorService.js';
|
|
|
|
import { DeleteDriveFilesProcessorService } from './processors/DeleteDriveFilesProcessorService.js';
|
|
|
|
import { DeleteFileProcessorService } from './processors/DeleteFileProcessorService.js';
|
|
|
|
import { ExportBlockingProcessorService } from './processors/ExportBlockingProcessorService.js';
|
|
|
|
import { ExportCustomEmojisProcessorService } from './processors/ExportCustomEmojisProcessorService.js';
|
|
|
|
import { ExportFollowingProcessorService } from './processors/ExportFollowingProcessorService.js';
|
|
|
|
import { ExportMutingProcessorService } from './processors/ExportMutingProcessorService.js';
|
|
|
|
import { ExportNotesProcessorService } from './processors/ExportNotesProcessorService.js';
|
2024-01-07 01:35:58 +00:00
|
|
|
import { ExportClipsProcessorService } from './processors/ExportClipsProcessorService.js';
|
2022-09-17 18:27:08 +00:00
|
|
|
import { ExportUserListsProcessorService } from './processors/ExportUserListsProcessorService.js';
|
2023-05-05 23:17:55 +00:00
|
|
|
import { ExportAntennasProcessorService } from './processors/ExportAntennasProcessorService.js';
|
2022-09-17 18:27:08 +00:00
|
|
|
import { ImportBlockingProcessorService } from './processors/ImportBlockingProcessorService.js';
|
|
|
|
import { ImportCustomEmojisProcessorService } from './processors/ImportCustomEmojisProcessorService.js';
|
|
|
|
import { ImportFollowingProcessorService } from './processors/ImportFollowingProcessorService.js';
|
|
|
|
import { ImportMutingProcessorService } from './processors/ImportMutingProcessorService.js';
|
|
|
|
import { ImportUserListsProcessorService } from './processors/ImportUserListsProcessorService.js';
|
2023-05-05 23:17:55 +00:00
|
|
|
import { ImportAntennasProcessorService } from './processors/ImportAntennasProcessorService.js';
|
2022-09-17 18:27:08 +00:00
|
|
|
import { ResyncChartsProcessorService } from './processors/ResyncChartsProcessorService.js';
|
|
|
|
import { TickChartsProcessorService } from './processors/TickChartsProcessorService.js';
|
2022-12-25 00:09:46 +00:00
|
|
|
import { AggregateRetentionProcessorService } from './processors/AggregateRetentionProcessorService.js';
|
2023-01-01 07:53:10 +00:00
|
|
|
import { ExportFavoritesProcessorService } from './processors/ExportFavoritesProcessorService.js';
|
2023-04-12 00:13:58 +00:00
|
|
|
import { RelationshipProcessorService } from './processors/RelationshipProcessorService.js';
|
2022-09-17 18:27:08 +00:00
|
|
|
|
|
|
|
@Module({
|
|
|
|
imports: [
|
2023-01-21 05:09:01 +00:00
|
|
|
GlobalModule,
|
2022-09-17 18:27:08 +00:00
|
|
|
CoreModule,
|
|
|
|
],
|
|
|
|
providers: [
|
|
|
|
QueueLoggerService,
|
|
|
|
TickChartsProcessorService,
|
|
|
|
ResyncChartsProcessorService,
|
|
|
|
CleanChartsProcessorService,
|
|
|
|
CheckExpiredMutingsProcessorService,
|
|
|
|
CleanProcessorService,
|
|
|
|
DeleteDriveFilesProcessorService,
|
|
|
|
ExportCustomEmojisProcessorService,
|
|
|
|
ExportNotesProcessorService,
|
2024-01-07 01:35:58 +00:00
|
|
|
ExportClipsProcessorService,
|
2023-01-01 07:53:10 +00:00
|
|
|
ExportFavoritesProcessorService,
|
2022-09-17 18:27:08 +00:00
|
|
|
ExportFollowingProcessorService,
|
|
|
|
ExportMutingProcessorService,
|
|
|
|
ExportBlockingProcessorService,
|
|
|
|
ExportUserListsProcessorService,
|
2023-05-05 23:17:55 +00:00
|
|
|
ExportAntennasProcessorService,
|
2022-09-17 18:27:08 +00:00
|
|
|
ImportFollowingProcessorService,
|
|
|
|
ImportMutingProcessorService,
|
|
|
|
ImportBlockingProcessorService,
|
|
|
|
ImportUserListsProcessorService,
|
|
|
|
ImportCustomEmojisProcessorService,
|
2023-05-05 23:17:55 +00:00
|
|
|
ImportAntennasProcessorService,
|
2022-09-17 18:27:08 +00:00
|
|
|
DeleteAccountProcessorService,
|
|
|
|
DeleteFileProcessorService,
|
|
|
|
CleanRemoteFilesProcessorService,
|
2023-04-12 00:13:58 +00:00
|
|
|
RelationshipProcessorService,
|
2022-09-17 18:27:08 +00:00
|
|
|
WebhookDeliverProcessorService,
|
|
|
|
EndedPollNotificationProcessorService,
|
|
|
|
DeliverProcessorService,
|
|
|
|
InboxProcessorService,
|
2022-12-25 00:09:46 +00:00
|
|
|
AggregateRetentionProcessorService,
|
2022-09-17 18:27:08 +00:00
|
|
|
QueueProcessorService,
|
|
|
|
],
|
|
|
|
exports: [
|
|
|
|
QueueProcessorService,
|
|
|
|
],
|
|
|
|
})
|
|
|
|
export class QueueProcessorModule {}
|