Skip to content

Commit

Permalink
feat(mangadex): new endpoint added in mangadex (#481)
Browse files Browse the repository at this point in the history
* new endpoint added in mangadex like fetchrandom,fetchRecentlyAdded,fetchLatestUpdates,fetchpopular

* Documentation updated

* function name changed camel case

* Update mangadex.md

---------

Co-authored-by: Marouane <[email protected]>
  • Loading branch information
kodify-js and riimuru authored Mar 3, 2024
1 parent 1d1e5d1 commit fbe90da
Show file tree
Hide file tree
Showing 5 changed files with 474 additions and 2 deletions.
4 changes: 4 additions & 0 deletions dist/providers/manga/mangadex.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ declare class MangaDex extends MangaParser {
* @param limit limit of results to return (default: 20) (max: 100) (min: 1)
*/
search: (query: string, page?: number, limit?: number) => Promise<ISearch<IMangaResult>>;
fetchRandom: () => Promise<ISearch<IMangaResult>>;
fetchRecentlyAdded: (page?: number, limit?: number) => Promise<ISearch<IMangaResult>>;
fetchLatestUpdates: (page?: number, limit?: number) => Promise<ISearch<IMangaResult>>;
fetchPopular: (page?: number, limit?: number) => Promise<ISearch<IMangaResult>>;
private fetchAllChapters;
private fetchCoverImage;
}
Expand Down
140 changes: 140 additions & 0 deletions dist/providers/manga/mangadex.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit fbe90da

Please sign in to comment.