feat(community): 댓글 비밀 여부를 조회한다

This commit is contained in:
2026-07-08 01:26:31 +09:00
parent 0cdcc42100
commit e013cdb39d
5 changed files with 10 additions and 1 deletions

View File

@@ -260,6 +260,7 @@ class DefaultCreatorChannelCommunityQueryRepository(
creatorCommunityComment.member.profileImage,
creatorCommunityComment.member.nickname,
creatorCommunityComment.comment,
creatorCommunityComment.isSecret,
creatorCommunityComment.createdAt
)
@@ -556,6 +557,7 @@ class DefaultCreatorChannelCommunityQueryRepository(
writerProfilePath = get(creatorCommunityComment.member.profileImage),
writerNickname = get(creatorCommunityComment.member.nickname)!!,
content = get(creatorCommunityComment.comment)!!,
isSecret = get(creatorCommunityComment.isSecret)!!,
createdAt = get(creatorCommunityComment.createdAt)!!
)
}

View File

@@ -257,6 +257,7 @@ class CreatorChannelCommunityQueryService(
writerProfileImageUrl = writerProfilePath.toCdnUrl(cloudFrontHost) ?: defaultProfileImageUrl(),
writerNickname = writerNickname.removeDeletedNicknamePrefix(),
content = content,
isSecret = isSecret,
createdAt = createdAt,
latestReply = latestReply
)

View File

@@ -21,6 +21,7 @@ data class CreatorChannelCommunityComment(
val writerProfileImageUrl: String,
val writerNickname: String,
val content: String,
val isSecret: Boolean,
val createdAt: LocalDateTime,
val latestReply: CreatorChannelCommunityReply?
)

View File

@@ -106,6 +106,7 @@ data class CreatorChannelCommunityCommentRecord(
val writerProfilePath: String?,
val writerNickname: String,
val content: String,
val isSecret: Boolean,
val createdAt: LocalDateTime
)