Skip to content

Commit bb6f04d

Browse files
committed
Feat: Post 도메인 응답 dto 수정
1 parent 6dd863e commit bb6f04d

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

src/apis/post/dto.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export interface PostBase {
2525
content: string;
2626
postImages: PostImage[];
2727
postStyletags: string[];
28-
postClothings: PostClothing[] | null;
28+
postClothings?: PostClothing[] | null;
2929
isRepresentative: boolean;
3030
}
3131
export interface CreatePostData extends PostBase {}
@@ -36,7 +36,7 @@ export interface PostSummary {
3636
createdAt: Date;
3737
isPostLike: boolean;
3838
user: User;
39-
requestStatus: boolean;
39+
requestStatus: boolean | null;
4040
}
4141
export interface GetPostListData {
4242
post: PostSummary[];

src/apis/util/dto.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,4 @@ export interface PaginationMeta {
1818
last_page: number;
1919
hasPreviousPage: boolean;
2020
hasNextPage: boolean;
21-
totalItems: number; // 추가
2221
}

0 commit comments

Comments
 (0)