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;