2023-10-27 19:08:59 +03:00
|
|
|
import { Module } from '@nestjs/common';
|
|
|
|
|
2023-11-07 01:15:02 +03:00
|
|
|
import { DatabaseCommandModule } from 'src/database/commands/database-command.module';
|
2023-12-14 20:57:25 +03:00
|
|
|
import { FetchWorkspaceMessagesCommandsModule } from 'src/workspace/messaging/commands/fetch-workspace-messages-commands.module';
|
2024-01-13 14:03:41 +03:00
|
|
|
import { StartCleanInactiveWorkspacesCronCommand } from 'src/workspace/cron/clean-inactive-workspaces/commands/start-clean-inactive-workspaces.cron.command';
|
|
|
|
import { StopCleanInactiveWorkspacesCronCommand } from 'src/workspace/cron/clean-inactive-workspaces/commands/stop-clean-inactive-workspaces.cron.command';
|
|
|
|
import { CleanInactiveWorkspacesCommand } from 'src/workspace/cron/clean-inactive-workspaces/commands/clean-inactive-workspaces.command';
|
2024-01-11 18:41:25 +03:00
|
|
|
import { WorkspaceHealthCommandModule } from 'src/workspace/workspace-health/commands/workspace-health-command.module';
|
2023-11-07 01:15:02 +03:00
|
|
|
|
2023-10-27 19:08:59 +03:00
|
|
|
import { AppModule } from './app.module';
|
|
|
|
|
2023-12-07 21:22:34 +03:00
|
|
|
import { WorkspaceSyncMetadataCommandsModule } from './workspace/workspace-sync-metadata/commands/workspace-sync-metadata-commands.module';
|
2023-10-27 19:08:59 +03:00
|
|
|
|
|
|
|
@Module({
|
2023-11-10 17:33:25 +03:00
|
|
|
imports: [
|
|
|
|
AppModule,
|
2023-12-07 21:22:34 +03:00
|
|
|
WorkspaceSyncMetadataCommandsModule,
|
2023-11-10 17:33:25 +03:00
|
|
|
DatabaseCommandModule,
|
2023-12-14 20:57:25 +03:00
|
|
|
FetchWorkspaceMessagesCommandsModule,
|
2024-01-13 14:03:41 +03:00
|
|
|
StartCleanInactiveWorkspacesCronCommand,
|
|
|
|
StopCleanInactiveWorkspacesCronCommand,
|
|
|
|
CleanInactiveWorkspacesCommand,
|
2024-01-11 18:41:25 +03:00
|
|
|
WorkspaceHealthCommandModule,
|
2023-11-10 17:33:25 +03:00
|
|
|
],
|
2023-10-27 19:08:59 +03:00
|
|
|
})
|
|
|
|
export class CommandModule {}
|