mirror of
https://github.com/Shadowfita/docmost.git
synced 2025-11-14 00:31:12 +10:00
23 lines
779 B
TypeScript
23 lines
779 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { CommentService } from './comment.service';
|
|
import { CommentController } from './comment.controller';
|
|
import { CommentRepository } from './repositories/comment.repository';
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
import { AuthModule } from '../auth/auth.module';
|
|
import { WorkspaceModule } from '../workspace/workspace.module';
|
|
import { Comment } from './entities/comment.entity';
|
|
import { PageModule } from '../page/page.module';
|
|
|
|
@Module({
|
|
imports: [
|
|
TypeOrmModule.forFeature([Comment]),
|
|
AuthModule,
|
|
WorkspaceModule,
|
|
PageModule,
|
|
],
|
|
controllers: [CommentController],
|
|
providers: [CommentService, CommentRepository],
|
|
exports: [CommentService, CommentRepository],
|
|
})
|
|
export class CommentModule {}
|