diff options
| author | Ritesh Ghosh <[email protected]> | 2023-08-17 23:21:57 +0530 |
|---|---|---|
| committer | Ritesh Ghosh <[email protected]> | 2023-08-17 23:21:57 +0530 |
| commit | 098b09d43666293f103f75d5e336ef5c014e6a5b (patch) | |
| tree | f3f405d8485f9ed8c9d61454dc114b6f71530a2f | |
| parent | bd113f84e5dc73b49a443b51254639ea8fa216ed (diff) | |
| download | aniwatch-api-098b09d43666293f103f75d5e336ef5c014e6a5b.tar.xz aniwatch-api-098b09d43666293f103f75d5e336ef5c014e6a5b.zip | |
feat(anime): added `AnimeEpisode` & `AnimeServers` type
| -rw-r--r-- | src/models/anime.ts | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/src/models/anime.ts b/src/models/anime.ts index 0b85c84..299d10a 100644 --- a/src/models/anime.ts +++ b/src/models/anime.ts @@ -62,6 +62,12 @@ export interface AnimeSearchSuggestion moreInfo: Array<string>; } +export interface AnimeEpisode extends Pick<Season, "title"> { + episodeId: string | null; + number: number; + isFiller: boolean; +} + export type AnimeCategories = | "most-favorite" | "most-popular" @@ -78,16 +84,24 @@ export type AnimeCategories = | "tv" | "completed"; +export type AnimeServers = + | "vidstreaming" + | "megacloud" + | "streamsb" + | "streamtape" + | "vidcloud"; + export enum Servers { + VidStreaming = "vidstreaming", + MegaCloud = "megacloud", + StreamSB = "streamsb", + StreamTape = "streamtape", + VidCloud = "vidcloud", AsianLoad = "asianload", GogoCDN = "gogocdn", - StreamSB = "streamsb", MixDrop = "mixdrop", UpCloud = "upcloud", - VidCloud = "vidcloud", - StreamTape = "streamtape", VizCloud = "vizcloud", MyCloud = "mycloud", Filemoon = "filemoon", - VidStreaming = "vidstreaming", } |
