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.
- Loading branch information
1 parent
9557f67
commit 570178f
Showing
7 changed files
with
18 additions
and
18 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
10 changes: 5 additions & 5 deletions
10
...data/datasourceImpl/UserDataSourceImpl.kt → ...data/datasourceImpl/AuthDataSourceImpl.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,18 +1,18 @@ | ||
package org.sopt.and.data.datasourceImpl | ||
|
||
import org.sopt.and.data.datasource.UserDataSource | ||
import org.sopt.and.data.datasource.AuthDataSource | ||
import org.sopt.and.data.dto.BaseResponse | ||
import org.sopt.and.data.dto.request.SignInRequestDto | ||
import org.sopt.and.data.dto.request.SignUpRequestDto | ||
import org.sopt.and.data.dto.response.SignInResponseDto | ||
import org.sopt.and.data.dto.response.SignUpResponseDto | ||
import org.sopt.and.data.remote.UserService | ||
import org.sopt.and.data.remote.AuthService | ||
import retrofit2.Call | ||
import javax.inject.Inject | ||
|
||
class UserDataSourceImpl @Inject constructor( | ||
private val userService: UserService | ||
): UserDataSource { | ||
class AuthDataSourceImpl @Inject constructor( | ||
private val userService: AuthService | ||
): AuthDataSource { | ||
override fun postSignUp(request: SignUpRequestDto): Call<BaseResponse<SignUpResponseDto>> = userService.signUp(request) | ||
override fun postSignIn(request: SignInRequestDto): Call<BaseResponse<SignInResponseDto>> = userService.signIn(request) | ||
} |
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
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