-
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.
Merge pull request #119 from ASAP-Lettering/ASAP-409
ASAP-409 is main 수정 api 추가
- Loading branch information
Showing
20 changed files
with
348 additions
and
360 deletions.
There are no files selected for viewing
15 changes: 0 additions & 15 deletions
15
...tion-Module/src/main/kotlin/com/asap/application/space/port/in/UpdateSpaceIndexUsecase.kt
This file was deleted.
Oops, something went wrong.
25 changes: 25 additions & 0 deletions
25
Application-Module/src/main/kotlin/com/asap/application/space/port/in/UpdateSpaceUsecase.kt
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,25 @@ | ||
package com.asap.application.space.port.`in` | ||
|
||
interface UpdateSpaceUsecase { | ||
fun update(command: Command.Index) | ||
|
||
fun update(command: Command.Main) | ||
|
||
|
||
sealed class Command { | ||
data class Index( | ||
val userId: String, | ||
val orders: List<SpaceOrder>, | ||
) : Command() | ||
|
||
data class SpaceOrder( | ||
val spaceId: String, | ||
val index: Int, | ||
) | ||
|
||
data class Main( | ||
val userId: String, | ||
val spaceId: String, | ||
) : Command() | ||
} | ||
} |
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
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
Oops, something went wrong.