Add Instagram-style social features and Postman collections
هذا الالتزام موجود في:
@@ -4,6 +4,8 @@ import { AuditModule } from '../audit/audit.module';
|
||||
import { NotificationsModule } from '../notifications/notifications.module';
|
||||
import { PostsModule } from '../posts/posts.module';
|
||||
import { UsersModule } from '../users/users.module';
|
||||
import { Like, LikeSchema } from '../likes/schemas/like.schema';
|
||||
import { FollowsModule } from '../follows/follows.module';
|
||||
import { Comment, CommentSchema } from './schemas/comment.schema';
|
||||
import { CommentsController } from './comments.controller';
|
||||
import { CommentsService } from './comments.service';
|
||||
@@ -12,10 +14,14 @@ import { CommentsRepository } from './comments.repository';
|
||||
@Module({
|
||||
imports: [
|
||||
AuditModule,
|
||||
MongooseModule.forFeature([{ name: Comment.name, schema: CommentSchema }]),
|
||||
MongooseModule.forFeature([
|
||||
{ name: Comment.name, schema: CommentSchema },
|
||||
{ name: Like.name, schema: LikeSchema },
|
||||
]),
|
||||
PostsModule,
|
||||
NotificationsModule,
|
||||
UsersModule,
|
||||
FollowsModule,
|
||||
],
|
||||
controllers: [CommentsController],
|
||||
providers: [CommentsService, CommentsRepository],
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم