feat(anime): added AnimeEpisode & AnimeServers type

This commit is contained in:
Ritesh Ghosh
2023-08-17 23:21:57 +05:30
parent bd113f84e5
commit 098b09d436
+18 -4
View File
@@ -62,6 +62,12 @@ export interface AnimeSearchSuggestion
moreInfo: Array<string>; moreInfo: Array<string>;
} }
export interface AnimeEpisode extends Pick<Season, "title"> {
episodeId: string | null;
number: number;
isFiller: boolean;
}
export type AnimeCategories = export type AnimeCategories =
| "most-favorite" | "most-favorite"
| "most-popular" | "most-popular"
@@ -78,16 +84,24 @@ export type AnimeCategories =
| "tv" | "tv"
| "completed"; | "completed";
export type AnimeServers =
| "vidstreaming"
| "megacloud"
| "streamsb"
| "streamtape"
| "vidcloud";
export enum Servers { export enum Servers {
VidStreaming = "vidstreaming",
MegaCloud = "megacloud",
StreamSB = "streamsb",
StreamTape = "streamtape",
VidCloud = "vidcloud",
AsianLoad = "asianload", AsianLoad = "asianload",
GogoCDN = "gogocdn", GogoCDN = "gogocdn",
StreamSB = "streamsb",
MixDrop = "mixdrop", MixDrop = "mixdrop",
UpCloud = "upcloud", UpCloud = "upcloud",
VidCloud = "vidcloud",
StreamTape = "streamtape",
VizCloud = "vizcloud", VizCloud = "vizcloud",
MyCloud = "mycloud", MyCloud = "mycloud",
Filemoon = "filemoon", Filemoon = "filemoon",
VidStreaming = "vidstreaming",
} }