-
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.
♻️ refactor: 차단 기능 리팩토링 (#50)
- Loading branch information
Showing
8 changed files
with
69 additions
and
50 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
5 changes: 3 additions & 2 deletions
5
src/main/java/com/example/template/domain/block/service/BlockCommandService.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,9 +1,10 @@ | ||
package com.example.template.domain.block.service; | ||
|
||
import com.example.template.domain.block.dto.response.BlockResponseDTO; | ||
import com.example.template.domain.member.entity.Member; | ||
|
||
public interface BlockCommandService { | ||
BlockResponseDTO.BlockDTO createBlock(Long targetMemberId); | ||
BlockResponseDTO.BlockDTO createBlock(Long targetMemberId, Member member); | ||
|
||
void deleteBlock(Long blockId); | ||
void deleteBlock(Long blockId, Member member); | ||
} |
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
src/main/java/com/example/template/domain/block/service/BlockQueryService.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,9 +1,9 @@ | ||
package com.example.template.domain.block.service; | ||
|
||
import com.example.template.domain.block.dto.response.BlockResponseDTO; | ||
import com.example.template.domain.member.entity.Member; | ||
|
||
import java.util.List; | ||
|
||
public interface BlockQueryService { | ||
List<BlockResponseDTO.BlockListDTO> getBlockList(); | ||
BlockResponseDTO.BlockListDTO getBlockList(Long cursor, Integer limit, Member member); | ||
} |
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