-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/develop' into chore/#177-home-pa…
…ckaging
- Loading branch information
Showing
53 changed files
with
338 additions
and
250 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -81,4 +81,4 @@ fun MyPageLogoutBottomSheet( | |
onDismissRequest = { onDismiss() }, | ||
sheetState = sheetState | ||
) | ||
} | ||
} |
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
6 changes: 1 addition & 5 deletions
6
data/src/main/java/com/terning/data/dto/request/SignInRequestDto.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,14 +1,10 @@ | ||
package com.terning.data.dto.request | ||
|
||
import com.terning.domain.entity.request.SignInRequestModel | ||
import kotlinx.serialization.SerialName | ||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
data class SignInRequestDto( | ||
@SerialName("authType") | ||
val authType: String | ||
) | ||
|
||
fun SignInRequestModel.toSignInRequestDto(): SignInRequestDto = | ||
SignInRequestDto(authType = authType) | ||
) |
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
5 changes: 1 addition & 4 deletions
5
data/src/main/java/com/terning/data/dto/response/TokenReissueResponseDto.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,13 +1,10 @@ | ||
package com.terning.data.dto.response | ||
|
||
import com.terning.domain.entity.response.TokenReissueResponseModel | ||
import kotlinx.serialization.SerialName | ||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
data class TokenReissueResponseDto( | ||
@SerialName("refreshToken") | ||
val refreshToken: String | ||
) { | ||
fun toTokenReissueResponseModel() = TokenReissueResponseModel(refreshToken = refreshToken) | ||
} | ||
) |
7 changes: 7 additions & 0 deletions
7
data/src/main/java/com/terning/data/mapper/auth/TokenReissueMapper.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,7 @@ | ||
package com.terning.data.mapper.auth | ||
|
||
import com.terning.data.dto.response.TokenReissueResponseDto | ||
import com.terning.domain.entity.auth.TokenReissue | ||
|
||
fun TokenReissueResponseDto.toTokenReissue(): TokenReissue = | ||
TokenReissue(refreshToken = refreshToken) |
12 changes: 12 additions & 0 deletions
12
data/src/main/java/com/terning/data/mapper/filtering/FilteringMapper.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,12 @@ | ||
package com.terning.data.mapper.filtering | ||
|
||
import com.terning.data.dto.request.FilteringRequestDto | ||
import com.terning.domain.entity.filtering.Filtering | ||
|
||
fun Filtering.toFilteringRequestDto(): FilteringRequestDto = | ||
FilteringRequestDto( | ||
grade = grade, | ||
workingPeriod = workingPeriod, | ||
startYear = startYear, | ||
startMonth = startMonth | ||
) |
6 changes: 6 additions & 0 deletions
6
data/src/main/java/com/terning/data/mapper/mypage/MyPageMapper.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,6 @@ | ||
package com.terning.data.mapper.mypage | ||
|
||
import com.terning.data.dto.response.MyPageResponseDto | ||
import com.terning.domain.entity.mypage.MyPageProfileModel | ||
|
||
fun MyPageResponseDto.toMyPageProfile() = MyPageProfileModel(name = name, authType = authType) |
7 changes: 7 additions & 0 deletions
7
data/src/main/java/com/terning/data/mapper/onboarding/SignInRequestMapper.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,7 @@ | ||
package com.terning.data.mapper.onboarding | ||
|
||
import com.terning.data.dto.request.SignInRequestDto | ||
import com.terning.domain.entity.onboarding.SignInRequest | ||
|
||
fun SignInRequest.toSignInRequestDto(): SignInRequestDto = | ||
SignInRequestDto(authType = authType) |
13 changes: 13 additions & 0 deletions
13
data/src/main/java/com/terning/data/mapper/onboarding/SignInResponseMapper.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,13 @@ | ||
package com.terning.data.mapper.onboarding | ||
|
||
import com.terning.data.dto.response.SignInResponseDto | ||
import com.terning.domain.entity.onboarding.SignInResponse | ||
|
||
fun SignInResponseDto.toSignInResponse(): SignInResponse = | ||
SignInResponse( | ||
accessToken = accessToken, | ||
refreshToken = refreshToken, | ||
userId = userId, | ||
authId = authId, | ||
authType = authType | ||
) |
11 changes: 11 additions & 0 deletions
11
data/src/main/java/com/terning/data/mapper/onboarding/SignUpRequestMapper.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,11 @@ | ||
package com.terning.data.mapper.onboarding | ||
|
||
import com.terning.data.dto.request.SignUpRequestDto | ||
import com.terning.domain.entity.onboarding.SignUpRequest | ||
|
||
fun SignUpRequest.toSignUpRequestDto(): SignUpRequestDto = | ||
SignUpRequestDto( | ||
name = name, | ||
profileImage = profileImage, | ||
authType = authType | ||
) |
12 changes: 12 additions & 0 deletions
12
data/src/main/java/com/terning/data/mapper/onboarding/SignUpResponseMapper.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,12 @@ | ||
package com.terning.data.mapper.onboarding | ||
|
||
import com.terning.data.dto.response.SignUpResponseDto | ||
import com.terning.domain.entity.onboarding.SignUpResponse | ||
|
||
fun SignUpResponseDto.toSignUpResponse(): SignUpResponse = | ||
SignUpResponse( | ||
accessToken = accessToken, | ||
refreshToken = refreshToken, | ||
userId = userId, | ||
authType = authType | ||
) |
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
5 changes: 5 additions & 0 deletions
5
domain/src/main/java/com/terning/domain/entity/auth/TokenReissue.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.terning.domain.entity.auth | ||
|
||
data class TokenReissue ( | ||
val refreshToken : String | ||
) |
Oops, something went wrong.