feat(home-following): 최근 소식 source key를 추가한다

This commit is contained in:
2026-06-26 02:48:02 +09:00
parent f5d755b2a6
commit 8b5c872b45
2 changed files with 50 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
package kr.co.vividnext.sodalive.v2.home.following.domain
import java.time.LocalDateTime
object HomeFollowingNewsSourceKey {
fun creatorRanking(creatorId: Long, aggregationStartAtUtc: LocalDateTime): String {
return "${FollowingNewsType.CREATOR_RANKING.name}:$creatorId:$aggregationStartAtUtc"
}
fun audioContent(contentId: Long): String {
return "${FollowingNewsType.AUDIO_CONTENT.name}:$contentId"
}
fun communityPost(postId: Long): String {
return "${FollowingNewsType.COMMUNITY_POST.name}:$postId"
}
}