feat(community): 댓글 비밀 여부를 응답한다

This commit is contained in:
2026-07-08 01:26:44 +09:00
parent e013cdb39d
commit 9bb14aacdf
5 changed files with 13 additions and 0 deletions

View File

@@ -81,6 +81,8 @@ data class CreatorChannelCommunityCommentResponse(
val writerProfileImageUrl: String,
val writerNickname: String,
val content: String,
@JsonProperty("isSecret")
val isSecret: Boolean,
val createdAtUtc: String,
val latestReply: CreatorChannelCommunityReplyResponse?
) {
@@ -92,6 +94,7 @@ data class CreatorChannelCommunityCommentResponse(
writerProfileImageUrl = comment.writerProfileImageUrl,
writerNickname = comment.writerNickname,
content = comment.content,
isSecret = comment.isSecret,
createdAtUtc = comment.createdAt.toUtcIso(),
latestReply = comment.latestReply?.let(CreatorChannelCommunityReplyResponse::from)
)