14 lines
449 B
TypeScript
14 lines
449 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
import { Comment, Reaction } from '../entities';
|
|
import { CommentService } from './comment.service';
|
|
import { CommentController } from './comment.controller';
|
|
|
|
@Module({
|
|
imports: [TypeOrmModule.forFeature([Comment, Reaction])],
|
|
controllers: [CommentController],
|
|
providers: [CommentService],
|
|
exports: [CommentService],
|
|
})
|
|
export class CommentModule {}
|