From 433238cec34d7ba49296ec0c7aaf8424d8f20261 Mon Sep 17 00:00:00 2001 From: KNU-K Date: Sun, 24 Nov 2024 03:03:31 +0900 Subject: [PATCH] fix : fix the import --- src/modules/chat/application/dto/chat-response.dto.ts | 2 +- src/modules/chat/domain/repository/chat.repository.ts | 2 +- src/modules/chat/domain/types/chat.type.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/chat/application/dto/chat-response.dto.ts b/src/modules/chat/application/dto/chat-response.dto.ts index 00763eb..a7c24a8 100644 --- a/src/modules/chat/application/dto/chat-response.dto.ts +++ b/src/modules/chat/application/dto/chat-response.dto.ts @@ -1,4 +1,4 @@ -import { UserSimple } from '@user/types/user.type'; +import { UserSimple } from '@user/domain/types/user.type'; import { ChatroomWithCount, ChatroomWithParticipants } from '@chat/domain/types/chat.type'; export class ChatroomDetailResponse { diff --git a/src/modules/chat/domain/repository/chat.repository.ts b/src/modules/chat/domain/repository/chat.repository.ts index c9e0188..24bee2a 100644 --- a/src/modules/chat/domain/repository/chat.repository.ts +++ b/src/modules/chat/domain/repository/chat.repository.ts @@ -6,7 +6,7 @@ import { InjectModel } from '@nestjs/mongoose'; import { InjectRepository } from '@nestjs/typeorm'; import { ChatParticipants } from '@chat/domain/entities/chat-participants.entity'; import { ChatroomWithCount, ChatroomWithParticipants } from '@chat/domain/types/chat.type'; -import { UserSimple } from '@user/types/user.type'; +import { UserSimple } from '@user/domain/types/user.type'; import { CreateChatDTO } from '@chat/application/dto/chat-request.dto'; export class ChatRepository { diff --git a/src/modules/chat/domain/types/chat.type.ts b/src/modules/chat/domain/types/chat.type.ts index c553e20..d6712ca 100644 --- a/src/modules/chat/domain/types/chat.type.ts +++ b/src/modules/chat/domain/types/chat.type.ts @@ -1,4 +1,4 @@ -import { UserSimple } from '@user/types/user.type'; +import { UserSimple } from '@user/domain/types/user.type'; export type Chatroom = { id: number; name: string;