Skip to content

Commit

Permalink
add TOP ONA and Lightnovel support
Browse files Browse the repository at this point in the history
  • Loading branch information
irfan-dahir committed Jan 26, 2022
1 parent 20e14c4 commit 579cd76
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Helper/Constants.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,11 @@ class Constants
public const TOP_TV = 'tv';
public const TOP_MOVIE = 'movie';
public const TOP_OVA = 'ova';
public const TOP_ONA = 'ona';
public const TOP_SPECIAL = 'special';

public const TOP_MANGA = 'manga';
public const TOP_LIGHTNOVELS = 'lightnovels';
public const TOP_NOVEL = 'novels';
public const TOP_ONE_SHOT = 'oneshots';
public const TOP_DOUJINSHI = 'doujin';
Expand Down
1 change: 1 addition & 0 deletions src/Request/Top/TopAnimeRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public function __construct(int $page = 1, $type = null)
Constants::TOP_SPECIAL,
Constants::TOP_BY_POPULARITY,
Constants::TOP_BY_FAVORITES,
Constants::TOP_ONA
],
true
)
Expand Down
1 change: 1 addition & 0 deletions src/Request/Top/TopMangaRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public function __construct(int $page = 1, $type = null)
Constants::TOP_MANHUA,
Constants::TOP_BY_POPULARITY,
Constants::TOP_BY_FAVORITES,
Constants::TOP_LIGHTNOVELS
],
true
)
Expand Down

0 comments on commit 579cd76

Please sign in to comment.