Skip to content

Commit

Permalink
chore: new dist
Browse files Browse the repository at this point in the history
  • Loading branch information
riimuru committed Aug 3, 2022
1 parent 3fdbf1c commit 0197e73
Show file tree
Hide file tree
Showing 16 changed files with 97 additions and 78 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/nodejs-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,4 @@ jobs:
cache: 'yarn'
- name: Install dependencies & build
run: |
yarn install --frozen-lockfile
yarn run --if-present build
yarn run test:anime
yarn run test:manga
yarn build
10 changes: 5 additions & 5 deletions dist/models/movie-parser.d.ts
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
import { BaseParser, TvType } from '.';
import { BaseParser, TvType, ISource, IEpisodeServer } from '.';
declare abstract class MovieParser extends BaseParser {
/**
* The supported types of the provider (e.g. `TV`, `Movie`)
*/
protected abstract supportedTypes: Set<TvType>;
abstract supportedTypes: Set<TvType>;
/**
* takes media link or id
*
* returns media info (including episodes)
*/
protected abstract fetchMediaInfo(mediaUrl: string): Promise<unknown>;
abstract fetchMediaInfo(mediaUrl: string): Promise<unknown>;
/**
* takes episode or movie id
*
* returns episode sources (video links)
*/
protected abstract fetchEpisodeSources(mediaId: string, ...args: any): Promise<unknown>;
abstract fetchEpisodeSources(mediaId: string, ...args: any): Promise<ISource>;
/**
* takes episode link
*
* returns episode servers (video links) available
*/
protected abstract fetchEpisodeServers(mediaLink: string, ...args: any): Promise<unknown>;
abstract fetchEpisodeServers(mediaLink: string, ...args: any): Promise<IEpisodeServer[]>;
}
export default MovieParser;
2 changes: 1 addition & 1 deletion dist/models/movie-parser.js.map

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

25 changes: 16 additions & 9 deletions dist/providers/anime/9anime.js

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

Loading

0 comments on commit 0197e73

Please sign in to comment.