generated from AND-SOPT-ANDROID/and-sopt-android-template
-
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.
chore/#8: domain SignUpResponse 이름 수정
- Loading branch information
1 parent
ad8364e
commit 1f87147
Showing
5 changed files
with
10 additions
and
10 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
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
2 changes: 1 addition & 1 deletion
2
...rg/sopt/and/domain/model/SignUpRequest.kt → ...g/sopt/and/domain/model/SignUpResponse.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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
package org.sopt.and.domain.model | ||
|
||
data class SignUpRequest( | ||
data class SignUpResponse( | ||
val userNumber: Int | ||
) |
4 changes: 2 additions & 2 deletions
4
domain/src/main/java/org/sopt/and/domain/repository/UserRepository.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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
package org.sopt.and.domain.repository | ||
|
||
import org.sopt.and.domain.model.SignUpRequest | ||
import org.sopt.and.domain.model.SignUpResponse | ||
import org.sopt.and.domain.model.User | ||
import org.sopt.and.domain.exception.Result | ||
|
||
interface UserRepository { | ||
fun saveUser(id: String, password: String) | ||
fun clearIdPassword() | ||
fun getId(): String | ||
suspend fun signUp(user: User): Result<SignUpRequest> | ||
suspend fun signUp(user: User): Result<SignUpResponse> | ||
} |