refactor: Fixed return-types of the controller
authorKai Moritz <kai@juplo.de>
Thu, 5 Jan 2023 23:44:44 +0000 (00:44 +0100)
committerKai Moritz <kai@juplo.de>
Mon, 9 Jan 2023 19:55:49 +0000 (20:55 +0100)
commitb1eb0cb7d4fba5edc883bbc57aa5be112462b7f1
tree14033a18e64e2ed49832dec3bd778d9c73cdd9f6
parentf0bd82164eba22ba0c30d6206e23aed012faa5b7
refactor: Fixed return-types of the controller

- Renamed and moved `ChatroomInfo` to `ChatroomTo`
- Switched return-types from `Chatroom` to `ChatroomTo`
src/main/java/de/juplo/kafka/chat/backend/ChatBackendApplication.java
src/main/java/de/juplo/kafka/chat/backend/api/ChatBackendController.java
src/main/java/de/juplo/kafka/chat/backend/api/ChatroomTo.java [new file with mode: 0644]
src/main/java/de/juplo/kafka/chat/backend/domain/ChatHome.java
src/main/java/de/juplo/kafka/chat/backend/persistence/ChatroomInfo.java [deleted file]
src/main/java/de/juplo/kafka/chat/backend/persistence/LocalJsonFilesStorageStrategy.java
src/main/java/de/juplo/kafka/chat/backend/persistence/StorageStrategy.java