-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Merge branch 'auth-refactor'"
- Loading branch information
Showing
42 changed files
with
181 additions
and
357 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
4 changes: 2 additions & 2 deletions
4
...java/com/example/whopper/application/library/usecase/ChangeLibraryAccessRightUseCase.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,7 +1,7 @@ | ||
package com.example.whopper.application.library.usecase; | ||
|
||
import com.example.whopper.interfaces.library.dto.LibraryElementDto; | ||
import com.example.whopper.domain.library.type.AccessRight; | ||
|
||
public interface ChangeLibraryAccessRightUseCase { | ||
void changeLibraryAccessRight(String libraryId, LibraryElementDto.AccessRight accessRight); | ||
void changeLibraryAccessRight(String libraryId, AccessRight accessRight); | ||
} |
4 changes: 2 additions & 2 deletions
4
src/main/java/com/example/whopper/application/library/usecase/CreateLibraryUseCase.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,8 +1,8 @@ | ||
package com.example.whopper.application.library.usecase; | ||
|
||
import com.example.whopper.domain.library.ResumeIndex; | ||
import com.example.whopper.common.http.response.DataResponseInfo; | ||
import com.example.whopper.interfaces.library.dto.LibraryElementDto; | ||
|
||
public interface CreateLibraryUseCase { | ||
void createLibrary(Integer grade, String filePath, DataResponseInfo<LibraryElementDto.ResumeIndex> index); | ||
void createLibrary(Integer grade, String filePath, DataResponseInfo<ResumeIndex> index); | ||
} |
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
10 changes: 5 additions & 5 deletions
10
src/main/java/com/example/whopper/domain/feedback/FeedbackModel.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,29 +1,29 @@ | ||
package com.example.whopper.domain.feedback; | ||
|
||
import com.example.whopper.interfaces.feedback.dto.FeedbackElementDto; | ||
import lombok.Builder; | ||
|
||
@Builder | ||
public record FeedbackModel( | ||
String id, | ||
String comment, | ||
FeedbackElementDto.Type type, | ||
String documentId, | ||
String resumeId, | ||
FeedbackElementDto.Status status, | ||
Boolean rejected, | ||
FeedbackElementDto.Writer writer | ||
|
||
) { | ||
|
||
public FeedbackModel update(String comment) { | ||
return new FeedbackModel(id, comment, type, documentId, status, rejected, writer); | ||
return new FeedbackModel(id, comment, type, resumeId, status, rejected, writer); | ||
} | ||
|
||
public FeedbackModel confirm() { | ||
return new FeedbackModel(id, comment, type, documentId, FeedbackElementDto.Status.CONFIRMED, rejected, writer); | ||
return new FeedbackModel(id, comment, type, resumeId, FeedbackElementDto.Status.CONFIRMED, rejected, writer); | ||
} | ||
|
||
public FeedbackModel reject() { | ||
return new FeedbackModel(id, comment, type, documentId, status, true, writer); | ||
return new FeedbackModel(id, comment, type, resumeId, status, true, writer); | ||
} | ||
} | ||
|
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
Oops, something went wrong.