feat(chat-character): 신규 캐릭터 전체보기 화면 및 API 연동 추가

This commit is contained in:
Yu Sung
2025-09-12 22:28:53 +09:00
parent 49e014878d
commit ed3f3f796a
11 changed files with 365 additions and 25 deletions

View File

@@ -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))
}
}