feat(chat-character): 신규 캐릭터 전체보기 화면 및 API 연동 추가
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
//
|
||||
// NewCharacterRepository.swift
|
||||
// SodaLive
|
||||
//
|
||||
// Created by klaus on 9/12/25.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import Combine
|
||||
import CombineMoya
|
||||
import Moya
|
||||
|
||||
final class NewCharacterRepository {
|
||||
private let api = MoyaProvider<CharacterApi>()
|
||||
|
||||
func getRecentCharacters(page: Int, size: Int) -> AnyPublisher<Response, MoyaError> {
|
||||
return api.requestPublisher(.getRecentCharacters(page: page, size: size))
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user