From d6f9f0f665c9d03b38b88baa8156892b9a32b0af Mon Sep 17 00:00:00 2001 From: Ritesh Ghosh Date: Mon, 25 Mar 2024 18:59:35 +0530 Subject: [PATCH] feat(advancedSearch): add utility props to search response --- src/types/parsers/animeSearch.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/types/parsers/animeSearch.ts b/src/types/parsers/animeSearch.ts index fdcca4f..7e641ea 100644 --- a/src/types/parsers/animeSearch.ts +++ b/src/types/parsers/animeSearch.ts @@ -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 { mostPopularAnimes: Array | HttpError; + searchQuery: string; + searchFilters: SearchFilters; }