aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRitesh Ghosh <[email protected]>2023-08-13 19:46:06 +0530
committerRitesh Ghosh <[email protected]>2023-08-13 19:46:06 +0530
commitc3a77e0aded343ab0e2e15ab974841d87da06337 (patch)
tree5f0070a4a8cf47b4a7f92201901a7852168adeb7 /src
parent50b66ba08d80b6dd10445d27da7f7fb0dd3fc91a (diff)
downloadaniwatch-api-c3a77e0aded343ab0e2e15ab974841d87da06337.tar.xz
aniwatch-api-c3a77e0aded343ab0e2e15ab974841d87da06337.zip
feat(animeProducer): added `ScrapedProducerAnime` parser type
Diffstat (limited to 'src')
-rw-r--r--src/models/parsers/animeProducer.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/models/parsers/animeProducer.ts b/src/models/parsers/animeProducer.ts
new file mode 100644
index 0000000..1a2a788
--- /dev/null
+++ b/src/models/parsers/animeProducer.ts
@@ -0,0 +1,8 @@
+import { ScrapedHomePage } from "./homePage";
+import { ScrapedAnimeCategory } from "./animeCategory";
+
+export interface ScrapedProducerAnime
+ extends Omit<ScrapedAnimeCategory, "genres" | "category">,
+ Pick<ScrapedHomePage, "topAiringAnimes"> {
+ producerName: string;
+}