feat: added build dir

This commit is contained in:
Ritesh Ghosh
2023-08-02 13:46:34 +05:30
parent 59c7c23f09
commit e05b90c7a3
24 changed files with 507 additions and 10 deletions
+15
View File
@@ -0,0 +1,15 @@
import { HttpError } from "http-errors";
import { Anime, AnimeCategories, Top10Anime } from "./anime";
export interface ScrapedAnimeCategory {
animes: Array<Anime> | HttpError;
genres: Array<string>;
top10Animes: {
today: Array<Top10Anime> | HttpError;
week: Array<Top10Anime> | HttpError;
month: Array<Top10Anime> | HttpError;
};
category: AnimeCategories;
currentPage: number;
hasNextPage: boolean;
totalPages: number;
}