* 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 commit fe062dd05166b95125cf99f2165cc20efb6c275a. * Add email theme 2 * Revert "Revert "Remove test files"" This reverts commit 6c6471273ad765788f2eaf5a5614209edfb965ce. * Revert "Revert "Revert "Remove test files""" This reverts commit f851333c24e9cfe3f425c9cbbd1e079efce5c3dd. * Revert "Revert "Revert "Revert "Remove test files"""" This reverts commit 7838e19e88e269026e24803f26cd52b467b4ef36. * Fix theme
28 lines
1.1 KiB
TypeScript
28 lines
1.1 KiB
TypeScript
import { Module } from '@nestjs/common';
|
|
|
|
import { EnvironmentModule } from 'src/integrations/environment/environment.module';
|
|
import { EnvironmentService } from 'src/integrations/environment/environment.service';
|
|
import { LoggerModule } from 'src/integrations/logger/logger.module';
|
|
import { loggerModuleFactory } from 'src/integrations/logger/logger.module-factory';
|
|
import { JobsModule } from 'src/integrations/message-queue/jobs.module';
|
|
import { MessageQueueModule } from 'src/integrations/message-queue/message-queue.module';
|
|
import { messageQueueModuleFactory } from 'src/integrations/message-queue/message-queue.module-factory';
|
|
import { IntegrationsModule } from 'src/integrations/integrations.module';
|
|
|
|
@Module({
|
|
imports: [
|
|
EnvironmentModule.forRoot({}),
|
|
LoggerModule.forRootAsync({
|
|
useFactory: loggerModuleFactory,
|
|
inject: [EnvironmentService],
|
|
}),
|
|
MessageQueueModule.forRoot({
|
|
useFactory: messageQueueModuleFactory,
|
|
inject: [EnvironmentService],
|
|
}),
|
|
JobsModule,
|
|
IntegrationsModule,
|
|
],
|
|
})
|
|
export class QueueWorkerModule {}
|