-
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.
* feat : user 닉네임 필드 * feat : 닉네임 통해 데이터 존재 유무 체크 메소드 * feat : 닉네임 중복 체크 유스케이스 구현 및 테스트 * feat : 닉네임 중복 체크 API
- Loading branch information
1 parent
2295172
commit 4789d34
Showing
9 changed files
with
63 additions
and
9 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
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
4 changes: 4 additions & 0 deletions
4
application/src/main/kotlin/com/pokit/user/port/in/UserUseCase.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,9 +1,13 @@ | ||
package com.pokit.user.port.`in` | ||
|
||
import com.pokit.user.dto.request.SignUpRequest | ||
import com.pokit.user.dto.response.CheckDuplicateNicknameResponse | ||
import com.pokit.user.dto.response.SignUpResponse | ||
import com.pokit.user.model.User | ||
|
||
interface UserUseCase { | ||
fun signUp(user: User, request: SignUpRequest): SignUpResponse | ||
|
||
fun checkDuplicateNickname(nickname: String): CheckDuplicateNicknameResponse | ||
|
||
} |
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
5 changes: 5 additions & 0 deletions
5
domain/src/main/kotlin/com/pokit/user/dto/response/CheckDuplicateNicknameResponse.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,5 @@ | ||
package com.pokit.user.dto.response | ||
|
||
data class CheckDuplicateNicknameResponse( | ||
val isDuplicate: Boolean | ||
) |