팔로잉 채널 전체 리스트 페이지 추가

This commit is contained in:
Yu Sung
2023-08-19 23:14:54 +09:00
parent 633e1bfd92
commit 78f80cebd5
9 changed files with 303 additions and 1 deletions

View File

@@ -0,0 +1,19 @@
//
// FollowCreatorRepository.swift
// SodaLive
//
// Created by klaus on 2023/08/19.
//
import Foundation
import CombineMoya
import Combine
import Moya
final class FollowCreatorRepository {
private let api = MoyaProvider<LiveRecommendApi>()
func getFollowedCreatorAllList(page: Int, size: Int) -> AnyPublisher<Response, MoyaError> {
return api.requestPublisher(.getFollowedCreatorAllList(page: page, size: size))
}
}