-
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 pull request #508 from tukcomCD2024/develop_front
Develop front -> maste
- Loading branch information
Showing
254 changed files
with
10,539 additions
and
1,080 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
4 changes: 2 additions & 2 deletions
4
...en/response/MyPublicCapsuleResponseDto.kt → ...dto/common/CapsuleBasicInfoResponseDto.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
6 changes: 6 additions & 0 deletions
6
...ive/app/src/main/java/com/droidblossom/archive/data/dto/common/IdBasedPagingRequestDto.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 IdBasedPagingRequestDto( | ||
val size : Int, | ||
val pagingId: Long? | ||
) |
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
9 changes: 9 additions & 0 deletions
9
...pp/src/main/java/com/droidblossom/archive/data/dto/group/request/CreateGroupRequestDto.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,9 @@ | ||
package com.droidblossom.archive.data.dto.group.request | ||
|
||
data class CreateGroupRequestDto( | ||
val description: String, | ||
val groupDirectory: String, | ||
val groupImage: String, | ||
val groupName: String, | ||
val targetIds: List<Long> | ||
) |
6 changes: 6 additions & 0 deletions
6
...pp/src/main/java/com/droidblossom/archive/data/dto/group/request/InviteGroupRequestDto.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.group.request | ||
|
||
data class InviteGroupRequestDto ( | ||
val groupId : Long, | ||
val targetIds : List<Long> | ||
) |
23 changes: 23 additions & 0 deletions
23
.../src/main/java/com/droidblossom/archive/data/dto/group/response/GroupDetailResponseDto.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,23 @@ | ||
package com.droidblossom.archive.data.dto.group.response | ||
|
||
import com.droidblossom.archive.domain.model.group.GroupDetail | ||
|
||
data class GroupDetailResponseDto( | ||
val groupName: String, | ||
val groupProfileUrl: String, | ||
val groupDescription: String, | ||
val createdAt: String, | ||
val groupCapsuleTotalCount: Int, | ||
val canGroupEdit: Boolean, | ||
val members: List<GroupMemberResponseDto>, | ||
){ | ||
fun toModel() = GroupDetail( | ||
groupName = this.groupName, | ||
groupProfileUrl = this.groupProfileUrl, | ||
groupDescription = this.groupDescription, | ||
createdAt = this.createdAt, | ||
groupCapsuleTotalCount = this.groupCapsuleTotalCount, | ||
canGroupEdit = this.canGroupEdit, | ||
members = this.members.map { it.toGroupDetailModel() } | ||
) | ||
} |
22 changes: 22 additions & 0 deletions
22
.../src/main/java/com/droidblossom/archive/data/dto/group/response/GroupInviteResponseDto.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,22 @@ | ||
package com.droidblossom.archive.data.dto.group.response | ||
|
||
import com.droidblossom.archive.domain.model.group.GroupInviteSummary | ||
import com.droidblossom.archive.domain.model.group.GroupPage | ||
|
||
data class GroupInviteResponseDto( | ||
val groupReceivingInviteTime: String, | ||
val description: String, | ||
val groupId: Long, | ||
val groupName: String, | ||
val groupOwnerName: String, | ||
val groupProfileUrl: String | ||
) { | ||
fun toModel() = GroupInviteSummary( | ||
createdAt = this.groupReceivingInviteTime, | ||
description = this.description, | ||
groupId = this.groupId, | ||
groupName = this.groupName, | ||
groupOwnerName = this.groupOwnerName, | ||
groupProfileUrl = this.groupProfileUrl, | ||
) | ||
} |
19 changes: 19 additions & 0 deletions
19
...main/java/com/droidblossom/archive/data/dto/group/response/GroupInvitedUserResponseDto.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,19 @@ | ||
package com.droidblossom.archive.data.dto.group.response | ||
|
||
import com.droidblossom.archive.domain.model.group.GroupInvitedUser | ||
|
||
data class GroupInvitedUserResponseDto ( | ||
val groupInviteId: Long, | ||
val memberId: Long, | ||
val nickname: String, | ||
val profileUrl: String, | ||
val sendingInvitesCreatedAt: String, | ||
){ | ||
fun toModel() = GroupInvitedUser( | ||
groupInviteId = this.groupInviteId, | ||
memberId = this.memberId, | ||
nickname = this.nickname, | ||
profileUrl = this.profileUrl, | ||
sendingInvitesCreatedAt = this.sendingInvitesCreatedAt | ||
) | ||
} |
13 changes: 13 additions & 0 deletions
13
...java/com/droidblossom/archive/data/dto/group/response/GroupInvitedUsersPageResponseDto.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.group.response | ||
|
||
import com.droidblossom.archive.domain.model.group.GroupInvitedUsersPage | ||
|
||
data class GroupInvitedUsersPageResponseDto ( | ||
val groupSendingInviteMembers: List<GroupInvitedUserResponseDto>, | ||
val hasNext: Boolean | ||
){ | ||
fun toModel() = GroupInvitedUsersPage( | ||
groupSendingInviteMembers = this.groupSendingInviteMembers.map { it.toModel() }, | ||
hasNext = this.hasNext | ||
) | ||
} |
13 changes: 13 additions & 0 deletions
13
...main/java/com/droidblossom/archive/data/dto/group/response/GroupInvitesPageResponseDto.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.group.response | ||
|
||
import com.droidblossom.archive.domain.model.group.GroupPage | ||
|
||
data class GroupInvitesPageResponseDto( | ||
val hasNext: Boolean, | ||
val responses: List<GroupInviteResponseDto> | ||
) { | ||
fun toModel() = GroupPage( | ||
groups = this.responses.map { it.toModel() }, | ||
hasNext = this.hasNext | ||
) | ||
} |
30 changes: 30 additions & 0 deletions
30
.../src/main/java/com/droidblossom/archive/data/dto/group/response/GroupMemberResponseDto.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,30 @@ | ||
package com.droidblossom.archive.data.dto.group.response | ||
|
||
import com.droidblossom.archive.domain.model.group.GroupMember | ||
|
||
data class GroupMemberResponseDto( | ||
val memberId: Long, | ||
val profileUrl: String, | ||
val nickname: String, | ||
val tag: String, | ||
val isOwner: Boolean, | ||
val isFriend: Boolean | ||
){ | ||
fun toGroupDetailModel() = GroupMember( | ||
memberId = this.memberId, | ||
profileUrl = this.profileUrl, | ||
nickname = this.nickname, | ||
tag = this.tag, | ||
isOwner = this.isOwner, | ||
isFriend = this.isFriend | ||
) | ||
|
||
fun toGroupMemberListModel() = GroupMember( | ||
memberId = this.memberId, | ||
profileUrl = this.profileUrl, | ||
nickname = this.nickname, | ||
tag = this.tag, | ||
isOwner = this.isOwner, | ||
isFriend = false | ||
) | ||
} |
11 changes: 11 additions & 0 deletions
11
...main/java/com/droidblossom/archive/data/dto/group/response/GroupMembersInfoResponseDto.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.droidblossom.archive.data.dto.group.response | ||
|
||
import com.droidblossom.archive.domain.model.group.GroupMembersInfo | ||
|
||
data class GroupMembersInfoResponseDto ( | ||
val groupMemberResponses : List<GroupMemberResponseDto> | ||
){ | ||
fun toModel() = GroupMembersInfo( | ||
groupMemberResponses = this.groupMemberResponses.map { it.toGroupMemberListModel() } | ||
) | ||
} |
13 changes: 13 additions & 0 deletions
13
...pp/src/main/java/com/droidblossom/archive/data/dto/group/response/GroupPageResponseDto.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.group.response | ||
|
||
import com.droidblossom.archive.domain.model.group.GroupPage | ||
|
||
data class GroupPageResponseDto( | ||
val groups: List<GroupSummaryResponseDto>, | ||
val hasNext: Boolean | ||
) { | ||
fun toModel() = GroupPage ( | ||
groups = this.groups.map { it.toModel() }, | ||
hasNext = this.hasNext, | ||
) | ||
} |
23 changes: 23 additions & 0 deletions
23
...src/main/java/com/droidblossom/archive/data/dto/group/response/GroupSummaryResponseDto.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,23 @@ | ||
package com.droidblossom.archive.data.dto.group.response | ||
|
||
import com.droidblossom.archive.domain.model.group.GroupSummary | ||
|
||
data class GroupSummaryResponseDto( | ||
val createdAt: String, | ||
val groupOwnerProfileUrl: String, | ||
val totalGroupMemberCount : Int, | ||
val id: Long, | ||
val isOwner: Boolean, | ||
val name: String, | ||
val profileUrl: String | ||
) { | ||
fun toModel() = GroupSummary( | ||
createdAt = this.createdAt, | ||
totalGroupMemberCount = this.totalGroupMemberCount, | ||
groupOwnerProfileUrl = this.groupOwnerProfileUrl, | ||
id = this.id, | ||
isOwner = this.isOwner, | ||
name = this.name, | ||
profileUrl = this.profileUrl | ||
) | ||
} |
14 changes: 14 additions & 0 deletions
14
...in/java/com/droidblossom/archive/data/dto/group/response/MyGroupCapsulePageResponseDto.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,14 @@ | ||
package com.droidblossom.archive.data.dto.group.response | ||
|
||
import com.droidblossom.archive.data.dto.common.CapsuleBasicInfoResponseDto | ||
import com.droidblossom.archive.domain.model.secret.CapsulePageList | ||
|
||
data class MyGroupCapsulePageResponseDto( | ||
val groupCapsules: List<CapsuleBasicInfoResponseDto>, | ||
val hasNext: Boolean, | ||
) { | ||
fun toModel() = CapsulePageList( | ||
capsules = this.groupCapsules.map { it.toUIModel() }, | ||
hasNext = this.hasNext, | ||
) | ||
} |
14 changes: 14 additions & 0 deletions
14
...c/main/java/com/droidblossom/archive/data/dto/group_capsule/CapsulesOfGroupResponseDto.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,14 @@ | ||
package com.droidblossom.archive.data.dto.group_capsule | ||
|
||
import com.droidblossom.archive.data.dto.common.CapsuleBasicInfoResponseDto | ||
import com.droidblossom.archive.domain.model.secret.CapsulePageList | ||
|
||
data class CapsulesOfGroupResponseDto( | ||
val capsuleBasicInfos : List<CapsuleBasicInfoResponseDto>, | ||
val hasNext: Boolean | ||
){ | ||
fun toModel() = CapsulePageList( | ||
capsules = this.capsuleBasicInfos.map { it.toUIModel() }, | ||
hasNext = this.hasNext, | ||
) | ||
} |
Oops, something went wrong.