-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop_back_core' into feat/group_accept_B-#414
- Loading branch information
Showing
334 changed files
with
13,474 additions
and
1,122 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
10 changes: 7 additions & 3 deletions
10
.../main/java/com/droidblossom/archive/data/dto/capsule/response/NearbyCapsuleResponseDto.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,16 @@ | ||
package com.droidblossom.archive.data.dto.capsule.response | ||
|
||
import com.droidblossom.archive.data.dto.common.CapsuleSummaryDto | ||
import com.droidblossom.archive.domain.model.capsule.NearbyCapsule | ||
import com.droidblossom.archive.domain.model.capsule.CapsuleAnchors | ||
import com.droidblossom.archive.domain.model.capsule.CapsuleMarkers | ||
|
||
data class NearbyCapsuleResponseDto ( | ||
val capsules : List<CapsuleSummaryDto> | ||
){ | ||
fun toModel() = NearbyCapsule( | ||
capsules = this.capsules.map { it.toModel() } | ||
fun toMarkerModel() = CapsuleMarkers( | ||
capsuleMarkers = this.capsules.map { it.toMarkerModel() } | ||
) | ||
fun toAnchorModel() = CapsuleAnchors( | ||
capsuleAnchors = this.capsules.map { it.toAnchorModel() } | ||
) | ||
} |
6 changes: 0 additions & 6 deletions
6
...java/com/droidblossom/archive/data/dto/capsule_skin/request/CapsuleSkinsPageRequestDto.kt
This file was deleted.
Oops, something went wrong.
5 changes: 2 additions & 3 deletions
5
.../request/SecretCapsuleCreateRequestDto.kt → ...ata/dto/common/CapsuleCreateRequestDto.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
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
14 changes: 8 additions & 6 deletions
14
...sponse/SecretCapsuleSummaryResponseDto.kt → ...a/dto/common/CapsuleSummaryResponseDto.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
6 changes: 6 additions & 0 deletions
6
...nd/ARchive/app/src/main/java/com/droidblossom/archive/data/dto/common/PagingRequestDto.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.droidblossom.archive.data.dto.common | ||
|
||
data class PagingRequestDto( | ||
val size : Int, | ||
val createdAt: String | ||
) |
5 changes: 5 additions & 0 deletions
5
.../src/main/java/com/droidblossom/archive/data/dto/friend/request/FriendAcceptRequestDto.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.droidblossom.archive.data.dto.friend.request | ||
|
||
data class FriendAcceptRequestDto ( | ||
val friendId : Long | ||
) |
5 changes: 5 additions & 0 deletions
5
...app/src/main/java/com/droidblossom/archive/data/dto/friend/request/FriendReqRequestDto.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.droidblossom.archive.data.dto.friend.request | ||
|
||
data class FriendReqRequestDto( | ||
val friendId : Long | ||
) |
5 changes: 5 additions & 0 deletions
5
...pp/src/main/java/com/droidblossom/archive/data/dto/friend/request/FriendsReqRequestDto.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.droidblossom.archive.data.dto.friend.request | ||
|
||
data class FriendsReqRequestDto( | ||
val friendIds : List<Int> | ||
) |
5 changes: 5 additions & 0 deletions
5
...ain/java/com/droidblossom/archive/data/dto/friend/request/FriendsSearchPhoneRequestDto.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.droidblossom.archive.data.dto.friend.request | ||
|
||
data class FriendsSearchPhoneRequestDto( | ||
val phoneBooks : List<PhoneBooks> | ||
) |
5 changes: 5 additions & 0 deletions
5
...src/main/java/com/droidblossom/archive/data/dto/friend/request/FriendsSearchRequestDto.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.droidblossom.archive.data.dto.friend.request | ||
|
||
data class FriendsSearchRequestDto ( | ||
val friendTag : String | ||
) |
6 changes: 6 additions & 0 deletions
6
.../ARchive/app/src/main/java/com/droidblossom/archive/data/dto/friend/request/PhoneBooks.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.droidblossom.archive.data.dto.friend.request | ||
|
||
data class PhoneBooks ( | ||
val originPhone: String, | ||
val originName : String, | ||
) |
15 changes: 15 additions & 0 deletions
15
...main/java/com/droidblossom/archive/data/dto/friend/response/FriendReqStatusResponseDto.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,15 @@ | ||
package com.droidblossom.archive.data.dto.friend.response | ||
|
||
import com.droidblossom.archive.domain.model.friend.FriendReqStatusResponse | ||
import java.io.Serializable | ||
|
||
data class FriendReqStatusResponseDto ( | ||
val httpStatus : String, | ||
val result : String | ||
) : Serializable { | ||
|
||
fun toModel() = FriendReqStatusResponse( | ||
httpStatus = this.httpStatus, | ||
result = this.result, | ||
) | ||
} |
18 changes: 18 additions & 0 deletions
18
.../app/src/main/java/com/droidblossom/archive/data/dto/friend/response/FriendResponseDto.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,18 @@ | ||
package com.droidblossom.archive.data.dto.friend.response | ||
|
||
import com.droidblossom.archive.domain.model.friend.Friend | ||
|
||
data class FriendResponseDto( | ||
val createdAt: String, | ||
val id: Long, | ||
val nickname: String, | ||
val profileUrl: String | ||
) { | ||
fun toModel() = Friend( | ||
createdAt = this.createdAt, | ||
id = this.id, | ||
nickname = this.nickname, | ||
profileUrl = this.profileUrl, | ||
isOpenDelete = false | ||
) | ||
} |
13 changes: 13 additions & 0 deletions
13
...src/main/java/com/droidblossom/archive/data/dto/friend/response/FriendsPageResponseDto.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.droidblossom.archive.data.dto.friend.response | ||
|
||
import com.droidblossom.archive.domain.model.friend.FriendsPage | ||
|
||
data class FriendsPageResponseDto( | ||
val friends: List<FriendResponseDto>, | ||
val hasNext: Boolean | ||
) { | ||
fun toModel() = FriendsPage( | ||
friends = this.friends.map { it.toModel() }, | ||
hasNext = this.hasNext | ||
) | ||
} |
13 changes: 13 additions & 0 deletions
13
...n/java/com/droidblossom/archive/data/dto/friend/response/FriendsSearchPhoneResponseDto.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.droidblossom.archive.data.dto.friend.response | ||
|
||
import com.droidblossom.archive.domain.model.friend.FriendsSearchPhoneResponse | ||
import java.io.Serializable | ||
|
||
data class FriendsSearchPhoneResponseDto( | ||
val friends : List<FriendsSearchResponseDto> | ||
) : Serializable { | ||
|
||
fun toModel() = FriendsSearchPhoneResponse( | ||
friends = this.friends.map { it.toModel() }, | ||
) | ||
} |
Oops, something went wrong.