feat(notification): 알림함 진입 및 딥링크 라우팅을 추가한다
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import Foundation
|
||||
|
||||
import Combine
|
||||
import CombineMoya
|
||||
import Moya
|
||||
|
||||
final class PushNotificationRepository {
|
||||
private let api = MoyaProvider<PushNotificationApi>()
|
||||
|
||||
func getPushNotificationCategories() -> AnyPublisher<Response, MoyaError> {
|
||||
api.requestPublisher(.getPushNotificationCategories)
|
||||
}
|
||||
|
||||
func getPushNotificationList(page: Int, size: Int, category: String?) -> AnyPublisher<Response, MoyaError> {
|
||||
api.requestPublisher(.getPushNotificationList(page: page, size: size, category: category))
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user