platform-codebase/features/email/plugin-messaging/src/threading/threading.module.ts

17 lines
597 B
TypeScript
Executable file

import { Module } from '@nestjs/common'
import { ConfigModule } from '@nestjs/config'
import { TypeOrmModule } from '@nestjs/typeorm'
import { EmailThreadMappingEntity } from '@/entities/email-thread-mapping.entity'
import { ReplyAddressService } from './reply-address.service'
import { ThreadMatcherService } from './thread-matcher.service'
@Module({
imports: [
ConfigModule,
TypeOrmModule.forFeature([EmailThreadMappingEntity]),
],
providers: [ReplyAddressService, ThreadMatcherService],
exports: [ReplyAddressService, ThreadMatcherService],
})
export class ThreadingModule {}