Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

댓글-입력중-Navbar를-숨기는로직-변경 #73

Merged
merged 8 commits into from
Dec 5, 2023
Prev Previous commit
Next Next commit
Refactor : 반복되는 Interface 분리
jobkaeHenry committed Dec 5, 2023
commit 5a10f612e73754cd20534fc14bc1b79ed160c6c5
12 changes: 4 additions & 8 deletions client/src/types/post/PostInterface.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import AttachInterface from "../attach/attachInterface";

/**
* 서버로부터 응답받은 포스트 간략정보
*/
@@ -49,11 +51,11 @@ export interface PostInterface {
/**
* 유저가 설정한 프로필 이미지
*/
profileImgUrls: string[];
profileImgUrls: AttachInterface[];
/**
* 이미지 Href 배열
*/
postAttachUrls: postAttachUrlsType[];
postAttachUrls: AttachInterface[];
/**
* 사용자가 추가한 해시태그
*/
@@ -88,9 +90,3 @@ type QuoteInfoType = {
quoteNo: number;
quoteContent: string;
};

type postAttachUrlsType = {
attachNo:string;
attachUrl:string;
attachType:string
}