diff options
| author | Ritesh Ghosh <[email protected]> | 2024-01-19 19:55:22 +0530 |
|---|---|---|
| committer | Ritesh Ghosh <[email protected]> | 2024-01-19 19:55:22 +0530 |
| commit | c0ee0bc7b18729d09595682a4f28dfb9ebf7eaa7 (patch) | |
| tree | a1ecf2943fa6d9e88808151fe36e38c252a52bf8 /src | |
| parent | f4c276134ac45050beecb7d0078abd68a142bfec (diff) | |
| download | aniwatch-api-c0ee0bc7b18729d09595682a4f28dfb9ebf7eaa7.tar.xz aniwatch-api-c0ee0bc7b18729d09595682a4f28dfb9ebf7eaa7.zip | |
refactor: `types` dir import
Diffstat (limited to 'src')
| -rw-r--r-- | src/extractors/rapidcloud.ts | 2 | ||||
| -rw-r--r-- | src/extractors/streamsb.ts | 2 | ||||
| -rw-r--r-- | src/extractors/streamtape.ts | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/extractors/rapidcloud.ts b/src/extractors/rapidcloud.ts index 6d85f2a..bbf9cf6 100644 --- a/src/extractors/rapidcloud.ts +++ b/src/extractors/rapidcloud.ts @@ -1,7 +1,7 @@ import axios from "axios"; import CryptoJS from "crypto-js"; import { substringAfter, substringBefore } from "../utils/index.js"; -import type { Video, Subtitle, Intro } from "../models/extractor.js"; +import type { Video, Subtitle, Intro } from "../types/extractor.js"; type extractReturn = { sources: Video[]; subtitles: Subtitle[] }; diff --git a/src/extractors/streamsb.ts b/src/extractors/streamsb.ts index 39660e6..3eeaabe 100644 --- a/src/extractors/streamsb.ts +++ b/src/extractors/streamsb.ts @@ -1,5 +1,5 @@ import axios from "axios"; -import type { Video } from "../models/extractor.js"; +import type { Video } from "../types/extractor.js"; import { USER_AGENT_HEADER } from "../utils/index.js"; class StreamSB { diff --git a/src/extractors/streamtape.ts b/src/extractors/streamtape.ts index a6f796c..69910ce 100644 --- a/src/extractors/streamtape.ts +++ b/src/extractors/streamtape.ts @@ -1,6 +1,6 @@ import axios from "axios"; import { load, type CheerioAPI } from "cheerio"; -import type { Video } from "../models/extractor.js"; +import type { Video } from "../types/extractor.js"; class StreamTape { private serverName = "StreamTape"; |
