diff options
| author | Ritesh Ghosh <[email protected]> | 2023-08-13 19:37:03 +0530 |
|---|---|---|
| committer | Ritesh Ghosh <[email protected]> | 2023-08-13 19:37:03 +0530 |
| commit | bec33e60f71bd819c668e79825069678be4921aa (patch) | |
| tree | 37f8aad58173cea0749071606d1cdb85250be150 /src/models | |
| parent | 1c7799eeaac4af40467b6d3a53d9c5f0af77bb64 (diff) | |
| download | aniwatch-api-bec33e60f71bd819c668e79825069678be4921aa.tar.xz aniwatch-api-bec33e60f71bd819c668e79825069678be4921aa.zip | |
feat(animeSearchSuggestion): added `ScrapedAnimeSearchSuggestion` type
Diffstat (limited to 'src/models')
| -rw-r--r-- | src/models/parsers/animeSearchSuggestion.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/models/parsers/animeSearchSuggestion.ts b/src/models/parsers/animeSearchSuggestion.ts new file mode 100644 index 0000000..1b7c6ec --- /dev/null +++ b/src/models/parsers/animeSearchSuggestion.ts @@ -0,0 +1,6 @@ +import { HttpError } from "http-errors"; +import { AnimeSearchSuggestion } from "../anime"; + +export interface ScrapedAnimeSearchSuggestion { + suggestions: Array<AnimeSearchSuggestion> | HttpError; +} |
