-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
170 additions
and
175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
KkuMulKum/Source/Home/ServiceProtocol/HomeServiceProtocol.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// | ||
// HomeServiceProtocol.swift | ||
// KkuMulKum | ||
// | ||
// Created by 예삐 on 8/23/24. | ||
// | ||
|
||
import Foundation | ||
|
||
import Moya | ||
|
||
protocol HomeServiceProtocol { | ||
func fetchLoginUser() async throws -> ResponseBodyDTO<LoginUserModel>? | ||
|
||
func fetchNearestPromise() async throws -> ResponseBodyDTO<NearestPromiseModel>? | ||
func fetchUpcomingPromise() async throws -> ResponseBodyDTO<UpcomingPromiseListModel>? | ||
func fetchMyReadyStatus(with promiseID: Int) async throws -> ResponseBodyDTO<MyReadyStatusModel>? | ||
|
||
func updatePreparationStatus(with promiseID: Int) async throws -> ResponseBodyDTO<EmptyModel>? | ||
func updateDepartureStatus(with promiseID: Int) async throws -> ResponseBodyDTO<EmptyModel>? | ||
func updateArrivalStatus(with promiseID: Int) async throws -> ResponseBodyDTO<EmptyModel>? | ||
} |
Oops, something went wrong.