chore(imports): refactored anime & parser type imports

This commit is contained in:
Ritesh Ghosh
2023-08-07 14:52:33 +05:30
parent 96348cd999
commit a264054d97
5 changed files with 8 additions and 7 deletions
+2 -1
View File
@@ -9,8 +9,9 @@ import {
extractTop10Animes,
} from "../utils";
import { AnimeCategories } from "../models/anime";
import createHttpError, { HttpError } from "http-errors";
import { ScrapedAnimeCategory, AnimeCategories } from "../models";
import { ScrapedAnimeCategory } from "../models/parsers";
// /anime/:category?page=${page}
async function scrapeAnimeCategory(