feat(home-following): 최근 소식 source key를 추가한다
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user