-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' of https://github.com/nori-dongsan/nori-client …
…into develop
- Loading branch information
Showing
22 changed files
with
317 additions
and
146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
// 댓글 | ||
export interface ReplyData { | ||
author: boolean; | ||
userNickname?: string; | ||
content: string; | ||
createdAt: string; | ||
} | ||
// 커뮤니티 데이터 | ||
export interface CommunityData { | ||
id: string; | ||
author: boolean; | ||
category: string; | ||
title: string; | ||
content: string; | ||
userNickname: string; | ||
replyCount: number; | ||
createdAt: string; | ||
image?: string; | ||
imageList: string[]; | ||
replyList: ReplyData[]; | ||
} | ||
// 커뮤니티 게시글 작성 post body | ||
export interface PostCommunityBody { | ||
category: string; | ||
title: string; | ||
content: string; | ||
imageList?: FormData; | ||
} | ||
// 커뮤니티 댓글 | ||
export interface PostCommentBody { | ||
boardId?: string; | ||
content: string; | ||
} | ||
|
||
export interface GetCommunityList { | ||
communityList: CommunityData[]; | ||
isLoading: boolean; | ||
isError: string; | ||
} | ||
// 커뮤니티 글 작성 이미지 데이터 | ||
export interface ImgData { | ||
id: number; | ||
src: string; | ||
file: File; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.