룰렛 설정 다이얼로그 뷰 추가

This commit is contained in:
Yu Sung
2023-12-06 16:43:41 +09:00
parent 9622e9b55d
commit ff7144f708
15 changed files with 536 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
//
// RouletteRepository.swift
// SodaLive
//
// Created by klaus on 2023/12/06.
//
import Foundation
import CombineMoya
import Combine
import Moya
final class RouletteRepository {
private let api = MoyaProvider<RouletteApi>()
func getRoulette(creatorId: Int) -> AnyPublisher<Response, MoyaError> {
return api.requestPublisher(.getRoulette(creatorId: creatorId))
}
}