-
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 'refs/heads/feat/group_invite_list-B-#458' into feat/fri…
…end_invite_delete-B-#457 # Conflicts: # backend/core/src/main/java/site/timecapsulearchive/core/domain/friend/repository/friend_invite/FriendInviteQueryRepository.java # backend/core/src/main/java/site/timecapsulearchive/core/domain/friend/repository/friend_invite/FriendInviteQueryRepositoryImpl.java # backend/core/src/main/java/site/timecapsulearchive/core/domain/friend/service/command/FriendCommandService.java # backend/core/src/test/java/site/timecapsulearchive/core/domain/friend/repository/friend_invite/FriendInviteQueryRepositoryTest.java
- Loading branch information
Showing
76 changed files
with
1,517 additions
and
416 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
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
26 changes: 0 additions & 26 deletions
26
...site/timecapsulearchive/core/domain/friend/data/response/FriendRequestsSliceResponse.java
This file was deleted.
Oops, something went wrong.
22 changes: 20 additions & 2 deletions
22
...psulearchive/core/domain/friend/repository/friend_invite/FriendInviteQueryRepository.java
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,32 @@ | ||
package site.timecapsulearchive.core.domain.friend.repository.friend_invite; | ||
|
||
import java.time.ZonedDateTime; | ||
import java.util.List; | ||
import java.util.Optional; | ||
import org.springframework.data.domain.Slice; | ||
import site.timecapsulearchive.core.domain.friend.data.dto.FriendInviteMemberIdsDto; | ||
import site.timecapsulearchive.core.domain.friend.data.dto.FriendSummaryDto; | ||
|
||
public interface FriendInviteQueryRepository { | ||
|
||
void bulkSave(final Long ownerId, final List<Long> friendIds); | ||
|
||
List<FriendInviteMemberIdsDto> findFriendInviteMemberIdsDtoByMemberIdsAndFriendId(List<Long> memberIds, Long friendId); | ||
|
||
Optional<FriendInviteMemberIdsDto> findFriendInviteMemberIdsDtoByMemberIdAndFriendId(Long memberId, Long friendId); | ||
Slice<FriendSummaryDto> findFriendReceivingInvitesSlice( | ||
final Long memberId, | ||
final int size, | ||
final ZonedDateTime createdAt | ||
); | ||
|
||
Slice<FriendSummaryDto> findFriendSendingInvitesSlice( | ||
final Long memberId, | ||
final int size, | ||
final ZonedDateTime createdAt | ||
); | ||
|
||
List<FriendInviteMemberIdsDto> findFriendInviteMemberIdsDtoByMemberIdsAndFriendId( | ||
List<Long> memberIds, Long friendId); | ||
|
||
Optional<FriendInviteMemberIdsDto> findFriendInviteMemberIdsDtoByMemberIdAndFriendId( | ||
Long memberId, Long friendId); | ||
} |
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
Oops, something went wrong.