-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(TodoData): Refactor todo data payload (request & response)
- Loading branch information
Showing
3 changed files
with
96 additions
and
31 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
14 changes: 14 additions & 0 deletions
14
...e/TodoDataInterfaceModule/TodoDataInterface/Sources/Payload/GetAssignedTodosPayload.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,14 @@ | ||
// | ||
// GetAssignedTodosPayload.swift | ||
// TodoDataInterface | ||
// | ||
// Created by DOYEON LEE on 8/24/24. | ||
// | ||
|
||
import OpenapiGenerated | ||
|
||
// MARK: Request | ||
public typealias GetAssignedTodosRequest = Components.Schemas.Pageable | ||
|
||
// MARK: Response | ||
public typealias GetAssignedTodosResponse = Components.Schemas.SliceAssignedTaskResponse |
14 changes: 14 additions & 0 deletions
14
...terface/TodoDataInterfaceModule/TodoDataInterface/Sources/Payload/UpdateTodoPayload.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,14 @@ | ||
// | ||
// UpdateTodoPayload.swift | ||
// TodoDataInterface | ||
// | ||
// Created by DOYEON LEE on 8/24/24. | ||
// | ||
|
||
import OpenapiGenerated | ||
|
||
// MARK: Request | ||
public typealias UpdateTodoRequest = Components.Schemas.TaskModifyRequest | ||
|
||
// MARK: Response | ||
public typealias UpdateTodoResponse = Components.Schemas.TaskModifyResponse |