feat: added mostPopular, mostFavorite and latestCompleted to the home route response
This commit is contained in:
@@ -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,
|
||||
}
|
||||
},
|
||||
{...},
|
||||
],
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user