We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6dd863e commit bb6f04dCopy full SHA for bb6f04d
2 files changed
src/apis/post/dto.ts
@@ -25,7 +25,7 @@ export interface PostBase {
25
content: string;
26
postImages: PostImage[];
27
postStyletags: string[];
28
- postClothings: PostClothing[] | null;
+ postClothings?: PostClothing[] | null;
29
isRepresentative: boolean;
30
}
31
export interface CreatePostData extends PostBase {}
@@ -36,7 +36,7 @@ export interface PostSummary {
36
createdAt: Date;
37
isPostLike: boolean;
38
user: User;
39
- requestStatus: boolean;
+ requestStatus: boolean | null;
40
41
export interface GetPostListData {
42
post: PostSummary[];
src/apis/util/dto.ts
@@ -18,5 +18,4 @@ export interface PaginationMeta {
18
last_page: number;
19
hasPreviousPage: boolean;
20
hasNextPage: boolean;
21
- totalItems: number; // 추가
22
0 commit comments