refactor: types dir import
This commit is contained in:
@@ -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,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,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";
|
||||
|
||||
Reference in New Issue
Block a user