feat: add GetAllEpisodes to anime domain and service

This commit is contained in:
2026-05-13 12:42:41 +02:00
parent 458ee52604
commit 3ab9edd256
2 changed files with 18 additions and 0 deletions

View File

@@ -22,6 +22,7 @@ type AnimeService interface {
GetRecommendations(ctx context.Context, id int) ([]Recommendation, error)
GetRelations(ctx context.Context, id int) ([]jikan.RelationEntry, error)
GetEpisodes(ctx context.Context, id int, page int) (jikan.EpisodesResponse, error)
GetAllEpisodes(ctx context.Context, id int) ([]EpisodeData, error)
GetRandomAnime(ctx context.Context) (Anime, error)
}