큐레이션 전체보기 페이지 추가

This commit is contained in:
Yu Sung
2023-09-27 21:16:39 +09:00
parent fd356451ae
commit 658cff20eb
10 changed files with 243 additions and 4 deletions

View File

@@ -88,4 +88,8 @@ final class ContentRepository {
func getNewContentAllOfTheme(theme: String, page: Int, size: Int) -> AnyPublisher<Response, MoyaError> {
return api.requestPublisher(.getNewContentAllOfTheme(theme: theme, page: page, size: size))
}
func getAudioContentListByCurationId(curationId: Int, page: Int, size: Int, sort: ContentCurationViewModel.Sort) -> AnyPublisher<Response, MoyaError> {
return api.requestPublisher(.getAudioContentListByCurationId(curationId: curationId, page: page, size: size, sort: sort))
}
}