Resolve wrong imports

pull/73/head
MillenniumEarl 2021-02-25 12:17:29 +01:00
parent c87c426a1f
commit c3899010ea
3 changed files with 13 additions and 13 deletions

View File

@ -4,9 +4,9 @@
import validator from 'class-validator';
// Module from files
import { IQuery, TCategory, TQueryInterface } from "../interfaces";
import { urls } from "../constants/url";
import PrefixParser from "./prefix-parser";
import { IQuery, TCategory, TQueryInterface } from "../../interfaces";
import { urls } from "../../constants/url";
import PrefixParser from "./../prefix-parser";
// Type definitions
export type TThreadOrder = "relevance" | "date" | "last_update" | "replies";

View File

@ -5,12 +5,12 @@ import cheerio from "cheerio";
import luxon from "luxon";
// Modules from file
import shared from "./shared.js";
import { fetchHTML } from "./network-helper.js";
import { getJSONLD, TJsonLD } from "./json-ld.js";
import { selectors as f95Selector } from "./constants/css-selector.js";
import HandiWork from "./classes/handiwork/handiwork.js";
import { TRating, IBasic, TAuthor, TExternalPlatform, TEngine, TStatus, TCategory } from "./interfaces.js";
import shared from "../shared.js";
import { fetchHTML } from "../network-helper.js";
import { getJSONLD, TJsonLD } from "../json-ld.js";
import { selectors as f95Selector } from "../constants/css-selector.js";
import HandiWork from "../classes/handiwork/handiwork.js";
import { TRating, IBasic, TAuthor, TExternalPlatform, TEngine, TStatus, TCategory } from "../interfaces.js";
import { ILink, IPostElement, parseCheerioMainPost } from "./post-parse.js";
//#region Public methods

View File

@ -4,10 +4,10 @@
import cheerio from "cheerio";
// Modules from file
import { fetchHTML } from "./network-helper.js";
import { selectors as f95Selector } from "./constants/css-selector.js";
import { urls as f95url } from "./constants/url.js";
import UserData from "./classes/user-data.js";
import { fetchHTML } from "../network-helper.js";
import { selectors as f95Selector } from "../constants/css-selector.js";
import { urls as f95url } from "../constants/url.js";
import UserData from "../classes/user-data.js";
/**
* Gets user data, such as username, url of watched threads, and profile picture url.