Skip to content

Commit

Permalink
feat(mangapark): added mangapark provider, tests & docs (#100 🎉)
Browse files Browse the repository at this point in the history
* chore: mangasee123 formatting, fixed a test

* feat(mangapark): added provider, tests + docs

future todo: add other stats like status, authors etc.
  • Loading branch information
aidanjuma authored Nov 5, 2022
1 parent 1d4b00c commit 29b8e02
Show file tree
Hide file tree
Showing 15 changed files with 375 additions and 9 deletions.
2 changes: 2 additions & 0 deletions dist/providers/manga/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ import MangaDex from './mangadex';
import MangaHere from './mangahere';
import MangaKakalot from './mangakakalot';
import Mangasee123 from './mangasee123';
import Mangapark from './mangapark';
declare const _default: {
MangaDex: typeof MangaDex;
MangaHere: typeof MangaHere;
MangaKakalot: typeof MangaKakalot;
Mangasee123: typeof Mangasee123;
Mangapark: typeof Mangapark;
};
export default _default;
3 changes: 2 additions & 1 deletion dist/providers/manga/index.js

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

2 changes: 1 addition & 1 deletion dist/providers/manga/index.js.map

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

11 changes: 11 additions & 0 deletions dist/providers/manga/mangapark.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { MangaParser, ISearch, IMangaInfo, IMangaResult, IMangaChapterPage } from '../../models';
declare class Mangapark extends MangaParser {
readonly name = "Mangapark";
protected baseUrl: string;
protected logo: string;
protected classPath: string;
fetchMangaInfo: (mangaId: string, ...args: any) => Promise<IMangaInfo>;
fetchChapterPages: (chapterId: string, ...args: any) => Promise<IMangaChapterPage[]>;
search: (query: string, page?: number, ...args: any[]) => Promise<ISearch<IMangaResult>>;
}
export default Mangapark;
94 changes: 94 additions & 0 deletions dist/providers/manga/mangapark.js

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

1 change: 1 addition & 0 deletions dist/providers/manga/mangapark.js.map

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

Loading

0 comments on commit 29b8e02

Please sign in to comment.