This repository has been archived by the owner on Mar 28, 2024. It is now read-only.
-
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.
Refactor "Ayane" to "Calendar" and add recommendation dto
- Loading branch information
Showing
8 changed files
with
31 additions
and
21 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package fr.ziedelth.dtos | ||
|
||
import fr.ziedelth.entities.Anime | ||
|
||
data class RecommendedAnimeDto( | ||
val anime: Anime, | ||
val score: Double, | ||
) |
This file was deleted.
Oops, something went wrong.
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 fr.ziedelth.events | ||
|
||
import fr.ziedelth.dtos.CalendarDto | ||
import fr.ziedelth.utils.plugins.events.Event | ||
|
||
data class CalendarReleaseEvent(val calendarDto: CalendarDto) : Event |
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,6 +1,7 @@ | ||
package fr.ziedelth.events | ||
|
||
import fr.ziedelth.dtos.RecommendedAnimeDto | ||
import fr.ziedelth.entities.Anime | ||
import fr.ziedelth.utils.plugins.events.Event | ||
|
||
data class RecommendationEvent(val anime: Anime, val recommendations: Set<Pair<Anime, Double>>) : Event | ||
data class RecommendationEvent(val anime: Anime, val recommendations: List<RecommendedAnimeDto>) : Event |
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