Compare commits

..

No commits in common. "2da3b0db780bee21cfd23a14412cb3775304c64a" and "685ad7afaff1aa315e114271ab3535a867df1590" have entirely different histories.

7 changed files with 29 additions and 27 deletions

View File

@ -261,6 +261,7 @@ class AudioContentQueryRepositoryImpl(private val queryFactory: JPAQueryFactory)
audioContent.id,
audioContent.coverImage.prepend("/").prepend(cloudfrontHost),
audioContent.title,
audioContent.isAdult,
member.id,
member.profileImage.prepend("/").prepend(cloudfrontHost),
member.nickname
@ -322,6 +323,7 @@ class AudioContentQueryRepositoryImpl(private val queryFactory: JPAQueryFactory)
audioContent.id,
audioContent.coverImage.prepend("/").prepend(cloudfrontHost),
audioContent.title,
audioContent.isAdult,
member.id,
member.profileImage.prepend("/").prepend(cloudfrontHost),
member.nickname
@ -423,6 +425,7 @@ class AudioContentQueryRepositoryImpl(private val queryFactory: JPAQueryFactory)
audioContent.id,
audioContent.coverImage.prepend("/").prepend(cloudfrontHost),
audioContent.title,
audioContent.isAdult,
member.id,
member.profileImage
.prepend("/")

View File

@ -1,13 +1,13 @@
package kr.co.vividnext.sodalive.content.main
import com.fasterxml.jackson.annotation.JsonProperty
import com.querydsl.core.annotations.QueryProjection
data class GetAudioContentMainItem @QueryProjection constructor(
@JsonProperty("contentId") val contentId: Long,
@JsonProperty("coverImageUrl") val coverImageUrl: String,
@JsonProperty("title") val title: String,
@JsonProperty("creatorId") val creatorId: Long,
@JsonProperty("creatorProfileImageUrl") val creatorProfileImageUrl: String,
@JsonProperty("creatorNickname") val creatorNickname: String
val contentId: Long,
val coverImageUrl: String,
val title: String,
val isAdult: Boolean,
val creatorId: Long,
val creatorProfileImageUrl: String,
val creatorNickname: String
)

View File

@ -1,16 +1,15 @@
package kr.co.vividnext.sodalive.content.main
import com.fasterxml.jackson.annotation.JsonProperty
import kr.co.vividnext.sodalive.content.main.banner.GetAudioContentBannerResponse
import kr.co.vividnext.sodalive.content.main.curation.GetAudioContentCurationResponse
data class GetAudioContentMainResponse(
@JsonProperty("newContentUploadCreatorList") val newContentUploadCreatorList: List<GetNewContentUploadCreator>,
@JsonProperty("bannerList") val bannerList: List<GetAudioContentBannerResponse>,
@JsonProperty("orderList") val orderList: List<GetAudioContentMainItem>,
@JsonProperty("themeList") val themeList: List<String>,
@JsonProperty("newContentList") val newContentList: List<GetAudioContentMainItem>,
@JsonProperty("curationList") val curationList: List<GetAudioContentCurationResponse>,
@JsonProperty("contentRankingSortTypeList") val contentRankingSortTypeList: List<String>,
@JsonProperty("contentRanking") val contentRanking: GetAudioContentRanking
val newContentUploadCreatorList: List<GetNewContentUploadCreator>,
val bannerList: List<GetAudioContentBannerResponse>,
val orderList: List<GetAudioContentMainItem>,
val themeList: List<String>,
val newContentList: List<GetAudioContentMainItem>,
val curationList: List<GetAudioContentCurationResponse>,
val contentRankingSortTypeList: List<String>,
val contentRanking: GetAudioContentRanking
)

View File

@ -1,12 +1,11 @@
package kr.co.vividnext.sodalive.content.main.banner
import com.fasterxml.jackson.annotation.JsonProperty
import kr.co.vividnext.sodalive.event.EventItem
data class GetAudioContentBannerResponse(
@JsonProperty("type") val type: AudioContentBannerType,
@JsonProperty("thumbnailImageUrl") val thumbnailImageUrl: String,
@JsonProperty("eventItem") val eventItem: EventItem?,
@JsonProperty("creatorId") val creatorId: Long?,
@JsonProperty("link") val link: String?
val type: AudioContentBannerType,
val thumbnailImageUrl: String,
val eventItem: EventItem?,
val creatorId: Long?,
val link: String?
)

View File

@ -57,6 +57,7 @@ class AudioContentCurationQueryRepository(private val queryFactory: JPAQueryFact
audioContent.id,
audioContent.coverImage.prepend("/").prepend(cloudfrontHost),
audioContent.title,
audioContent.isAdult,
member.id,
member.profileImage.prepend("/").prepend(cloudfrontHost),
member.nickname

View File

@ -1,11 +1,10 @@
package kr.co.vividnext.sodalive.content.main.curation
import com.fasterxml.jackson.annotation.JsonProperty
import kr.co.vividnext.sodalive.content.main.GetAudioContentMainItem
data class GetAudioContentCurationResponse(
@JsonProperty("curationId") val curationId: Long,
@JsonProperty("title") val title: String,
@JsonProperty("description") val description: String,
@JsonProperty("contents") val contents: List<GetAudioContentMainItem>
val curationId: Long,
val title: String,
val description: String,
val contents: List<GetAudioContentMainItem>
)

View File

@ -187,6 +187,7 @@ class OrderQueryRepositoryImpl(private val queryFactory: JPAQueryFactory) : Orde
audioContent.id,
audioContent.coverImage.prepend("/").prepend(coverImageHost),
audioContent.title,
audioContent.isAdult,
member.id,
member.profileImage
.prepend("/")