17 lines
597 B
TypeScript
Executable file
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 {}
|