feat: added mostPopular, mostFavorite and latestCompleted to the home route response

This commit is contained in:
WBRK-dev
2024-07-21 10:18:05 +02:00
parent 62fa83a56d
commit 5d929461ce
5 changed files with 56 additions and 2 deletions
+39 -2
View File
@@ -182,9 +182,7 @@ console.log(data);
id: string,
name: string,
poster: string,
duration: string,
type: string,
rating: string,
episodes: {
sub: number,
dub: number,
@@ -258,6 +256,45 @@ console.log(data);
},
{...},
],
mostPopularAnimes: [
{
id: string,
name: string,
poster: string,
type: string,
episodes: {
sub: number,
dub: number,
}
},
{...},
],
mostFavoriteAnimes: [
{
id: string,
name: string,
poster: string,
type: string,
episodes: {
sub: number,
dub: number,
}
},
{...},
],
latestCompletedAnimes: [
{
id: string,
name: string,
poster: string,
type: string,
episodes: {
sub: number,
dub: number,
}
},
{...},
],
}
```