test #298

Merged
klaus merged 3 commits from test into main 2025-03-26 21:08:30 +00:00
2 changed files with 7 additions and 3 deletions
Showing only changes of commit 5777d9700f - Show all commits

View File

@ -70,6 +70,7 @@ class SearchRepository(
QSearchResponseItem(
member.id,
member.profileImage.prepend("/").prepend(imageHost),
member.nickname,
member.nickname
)
)
@ -200,7 +201,8 @@ class SearchRepository(
QSearchResponseItem(
audioContent.id,
audioContent.coverImage.prepend("/").prepend(imageHost),
audioContent.title
audioContent.title,
audioContent.member.nickname
)
)
.from(audioContent)
@ -330,7 +332,8 @@ class SearchRepository(
QSearchResponseItem(
series.id,
series.coverImage.prepend("/").prepend(imageHost),
series.title
series.title,
series.member.nickname
)
)
.from(seriesContent)

View File

@ -16,7 +16,8 @@ data class SearchResponse(
data class SearchResponseItem @QueryProjection constructor(
val id: Long,
val imageUrl: String,
val titleOrNickname: String
val title: String,
val nickname: String
) {
var type: SearchResponseType = SearchResponseType.CREATOR
}