feat(advancedSearch): add utility props to search response
This commit is contained in:
@@ -4,8 +4,11 @@ import type {
|
||||
} from "./animeCategory.js";
|
||||
import type { HttpError } from "http-errors";
|
||||
import type { MostPopularAnime } from "../anime.js";
|
||||
import type { SearchFilters } from "../controllers/animeSearch.js";
|
||||
|
||||
export interface ScrapedAnimeSearchResult
|
||||
extends Pick<ScrapedAnimeCategory, CommonAnimeScrapeTypes> {
|
||||
mostPopularAnimes: Array<MostPopularAnime> | HttpError;
|
||||
searchQuery: string;
|
||||
searchFilters: SearchFilters;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user