refactor: types dir import

This commit is contained in:
Ritesh Ghosh
2024-01-19 19:55:22 +05:30
parent f4c276134a
commit c0ee0bc7b1
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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[] };
+1 -1
View File
@@ -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 {
+1 -1
View File
@@ -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";