feat(community): 커뮤니티 탭 좋아요 응답을 추가한다

This commit is contained in:
2026-06-30 01:10:48 +09:00
parent fc7143d0bb
commit 502d5d9996
3 changed files with 14 additions and 5 deletions

View File

@@ -42,7 +42,9 @@ data class CreatorChannelCommunityPostResponse(
val likeCount: Int,
val commentCount: Int,
@JsonProperty("isPinned")
val isPinned: Boolean
val isPinned: Boolean,
@JsonProperty("isLiked")
val isLiked: Boolean
) {
companion object {
fun from(post: CreatorChannelCommunityPost): CreatorChannelCommunityPostResponse {
@@ -60,7 +62,8 @@ data class CreatorChannelCommunityPostResponse(
existOrdered = post.existOrdered,
likeCount = post.likeCount,
commentCount = post.commentCount,
isPinned = post.isPinned
isPinned = post.isPinned,
isLiked = post.isLiked
)
}
}