설정 페이지 추가

This commit is contained in:
Yu Sung
2023-08-10 22:05:14 +09:00
parent d06f4d6a36
commit dbeb15ba17
24 changed files with 1368 additions and 4 deletions

View File

@@ -0,0 +1,21 @@
//
// NoticeRepository.swift
// SodaLive
//
// Created by klaus on 2023/08/10.
//
import Foundation
import CombineMoya
import Combine
import Moya
final class NoticeRepository {
private let api = MoyaProvider<NoticeApi>()
func getNotices() -> AnyPublisher<Response, MoyaError> {
return api.requestPublisher(.getNotices)
}
}