Resolve wrong imports
parent
c87c426a1f
commit
c3899010ea
|
@ -4,9 +4,9 @@
|
||||||
import validator from 'class-validator';
|
import validator from 'class-validator';
|
||||||
|
|
||||||
// Module from files
|
// Module from files
|
||||||
import { IQuery, TCategory, TQueryInterface } from "../interfaces";
|
import { IQuery, TCategory, TQueryInterface } from "../../interfaces";
|
||||||
import { urls } from "../constants/url";
|
import { urls } from "../../constants/url";
|
||||||
import PrefixParser from "./prefix-parser";
|
import PrefixParser from "./../prefix-parser";
|
||||||
|
|
||||||
// Type definitions
|
// Type definitions
|
||||||
export type TThreadOrder = "relevance" | "date" | "last_update" | "replies";
|
export type TThreadOrder = "relevance" | "date" | "last_update" | "replies";
|
||||||
|
|
|
@ -5,12 +5,12 @@ import cheerio from "cheerio";
|
||||||
import luxon from "luxon";
|
import luxon from "luxon";
|
||||||
|
|
||||||
// Modules from file
|
// Modules from file
|
||||||
import shared from "./shared.js";
|
import shared from "../shared.js";
|
||||||
import { fetchHTML } from "./network-helper.js";
|
import { fetchHTML } from "../network-helper.js";
|
||||||
import { getJSONLD, TJsonLD } from "./json-ld.js";
|
import { getJSONLD, TJsonLD } from "../json-ld.js";
|
||||||
import { selectors as f95Selector } from "./constants/css-selector.js";
|
import { selectors as f95Selector } from "../constants/css-selector.js";
|
||||||
import HandiWork from "./classes/handiwork/handiwork.js";
|
import HandiWork from "../classes/handiwork/handiwork.js";
|
||||||
import { TRating, IBasic, TAuthor, TExternalPlatform, TEngine, TStatus, TCategory } from "./interfaces.js";
|
import { TRating, IBasic, TAuthor, TExternalPlatform, TEngine, TStatus, TCategory } from "../interfaces.js";
|
||||||
import { ILink, IPostElement, parseCheerioMainPost } from "./post-parse.js";
|
import { ILink, IPostElement, parseCheerioMainPost } from "./post-parse.js";
|
||||||
|
|
||||||
//#region Public methods
|
//#region Public methods
|
||||||
|
|
|
@ -4,10 +4,10 @@
|
||||||
import cheerio from "cheerio";
|
import cheerio from "cheerio";
|
||||||
|
|
||||||
// Modules from file
|
// Modules from file
|
||||||
import { fetchHTML } from "./network-helper.js";
|
import { fetchHTML } from "../network-helper.js";
|
||||||
import { selectors as f95Selector } from "./constants/css-selector.js";
|
import { selectors as f95Selector } from "../constants/css-selector.js";
|
||||||
import { urls as f95url } from "./constants/url.js";
|
import { urls as f95url } from "../constants/url.js";
|
||||||
import UserData from "./classes/user-data.js";
|
import UserData from "../classes/user-data.js";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets user data, such as username, url of watched threads, and profile picture url.
|
* Gets user data, such as username, url of watched threads, and profile picture url.
|
||||||
|
|
Loading…
Reference in New Issue