// // ContentMainTabSeriesRepository.swift // SodaLive // // Created by klaus on 2/20/25. // import Foundation import CombineMoya import Combine import Moya final class ContentMainTabSeriesRepository { private let api = MoyaProvider() func getContentMainSeries() -> AnyPublisher { return api.requestPublisher(.getContentMainSeries) } func getRecommendSeriesListByGenre(genreId: Int) -> AnyPublisher { return api.requestPublisher(.getRecommendSeriesListByGenre(genreId: genreId)) } func getRecommendSeriesByCreator(creatorId: Int) -> AnyPublisher { return api.requestPublisher(.getRecommendSeriesByCreator(creatorId: creatorId)) } }