새로운 콘텐츠 전체보기 페이지 추가

This commit is contained in:
Yu Sung
2023-09-27 19:25:00 +09:00
parent 91cd3fe995
commit fd356451ae
12 changed files with 345 additions and 17 deletions

View File

@@ -80,4 +80,12 @@ final class ContentRepository {
func modifyComment(request: ModifyCommentRequest) -> AnyPublisher<Response, MoyaError> {
return api.requestPublisher(.modifyComment(request: request))
}
func getNewContentThemeList() -> AnyPublisher<Response, MoyaError> {
return api.requestPublisher(.getNewContentThemeList)
}
func getNewContentAllOfTheme(theme: String, page: Int, size: Int) -> AnyPublisher<Response, MoyaError> {
return api.requestPublisher(.getNewContentAllOfTheme(theme: theme, page: page, size: size))
}
}