mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-26 05:24:04 +03:00
49a9a2c2be
* Add cron to message queue interfaces * Add command to launch cron job * Add command to stop cron job * Update clean inactive workspaces job * Add react-email * WIP * Fix import error * Rename services * Update logging * Update email template * Update email template * Add Base Email template * Move to proper place * Remove test files * Update logo * Add email theme * Revert "Remove test files" This reverts commitfe062dd051
. * Add email theme 2 * Revert "Revert "Remove test files"" This reverts commit6c6471273a
. * Revert "Revert "Revert "Remove test files""" This reverts commitf851333c24
. * Revert "Revert "Revert "Revert "Remove test files"""" This reverts commit7838e19e88
. * Fix theme * Reorganize files * Update clean inactive workspaces job * Use env variable to define inactive days * Remove FROM variable * Use feature flag * Fix cron command * Remove useless variable * Reorganize files * Refactor some code * Update email template * Update email object * Remove verbose log * Code review returns * Code review returns * Simplify handle * Code review returns * Review --------- Co-authored-by: Charles Bochet <charles@twenty.com>
27 lines
1.3 KiB
TypeScript
27 lines
1.3 KiB
TypeScript
import { Module } from '@nestjs/common';
|
|
|
|
import { DatabaseCommandModule } from 'src/database/commands/database-command.module';
|
|
import { FetchWorkspaceMessagesCommandsModule } from 'src/workspace/messaging/commands/fetch-workspace-messages-commands.module';
|
|
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';
|
|
import { WorkspaceHealthCommandModule } from 'src/workspace/workspace-health/commands/workspace-health-command.module';
|
|
|
|
import { AppModule } from './app.module';
|
|
|
|
import { WorkspaceSyncMetadataCommandsModule } from './workspace/workspace-sync-metadata/commands/workspace-sync-metadata-commands.module';
|
|
|
|
@Module({
|
|
imports: [
|
|
AppModule,
|
|
WorkspaceSyncMetadataCommandsModule,
|
|
DatabaseCommandModule,
|
|
FetchWorkspaceMessagesCommandsModule,
|
|
StartCleanInactiveWorkspacesCronCommand,
|
|
StopCleanInactiveWorkspacesCronCommand,
|
|
CleanInactiveWorkspacesCommand,
|
|
WorkspaceHealthCommandModule,
|
|
],
|
|
})
|
|
export class CommandModule {}
|