오디션 메인

- 페이지 추가
This commit is contained in:
Yu Sung
2025-01-06 14:34:42 +09:00
parent 5c3bf18d27
commit 3d8817275c
6 changed files with 303 additions and 1 deletions

View File

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