mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 09:28:31 +00:00
15 lines
589 B
TypeScript
15 lines
589 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
import { CaslModule } from '../casl/casl.module';
|
|
|
|
import { ThreadController } from '../../controllers/thread.controller';
|
|
import { ThreadService } from '../../services/thread.service';
|
|
import { ThreadRepository } from '../../repositories/thread.repository';
|
|
import { Thread } from 'src/entities/thread.entity';
|
|
|
|
@Module({
|
|
imports: [TypeOrmModule.forFeature([Thread]), CaslModule],
|
|
controllers: [ThreadController],
|
|
providers: [ThreadService, ThreadRepository],
|
|
})
|
|
export class ThreadModule {}
|