Fix imports
parent
0a51f5c239
commit
e3446ba096
|
@ -5,10 +5,10 @@ import cheerio from "cheerio";
|
|||
|
||||
// Modules from file
|
||||
import PlatformUser from "./platform-user.js";
|
||||
import { IPostElement, parseF95ThreadPost } from "../scrape-data/post-parse.js";
|
||||
import { POST, THREAD } from "../constants/css-selector.js";
|
||||
import { urls } from "../constants/url.js";
|
||||
import { fetchHTML } from "../network-helper.js";
|
||||
import { IPostElement, parseF95ThreadPost } from "../../scrape-data/post-parse.js";
|
||||
import { POST, THREAD } from "../../constants/css-selector.js";
|
||||
import { urls } from "../../constants/url.js";
|
||||
import { fetchHTML } from "../../network-helper.js";
|
||||
|
||||
/**
|
||||
* Represents a post published by a user on the F95Zone platform.
|
||||
|
|
|
@ -7,14 +7,14 @@ import luxon from "luxon";
|
|||
// Modules from files
|
||||
import Post from "./post.js";
|
||||
import PlatformUser from "./platform-user.js";
|
||||
import { TCategory, TRating } from "../interfaces.js";
|
||||
import { urls } from "../constants/url.js";
|
||||
import { POST, THREAD } from "../constants/css-selector.js";
|
||||
import { fetchHTML, fetchPOSTResponse } from "../network-helper.js";
|
||||
import Shared from "../shared.js";
|
||||
import { GenericAxiosError, ParameterError, UnexpectedResponseContentType } from "./errors.js";
|
||||
import { Result } from "./result.js";
|
||||
import { getJSONLD, TJsonLD } from "../scrape-data/json-ld.js";
|
||||
import { TCategory, TRating } from "../../interfaces.js";
|
||||
import { urls } from "../../constants/url.js";
|
||||
import { POST, THREAD } from "../../constants/css-selector.js";
|
||||
import { fetchHTML, fetchPOSTResponse } from "../../network-helper.js";
|
||||
import Shared from "../../shared.js";
|
||||
import { GenericAxiosError, ParameterError, UnexpectedResponseContentType } from "../errors.js";
|
||||
import { Result } from "../result.js";
|
||||
import { getJSONLD, TJsonLD } from "../../scrape-data/json-ld.js";
|
||||
|
||||
/**
|
||||
* Represents a generic F95Zone platform thread.
|
||||
|
|
|
@ -5,7 +5,7 @@ import luxon from "luxon";
|
|||
|
||||
// Modules from files
|
||||
import HandiWork from "../classes/handiwork/handiwork.js";
|
||||
import Thread from "../classes/thread.js";
|
||||
import Thread from "../classes/mapping/thread.js";
|
||||
import { IBasic, TAuthor, TEngine, TExternalPlatform, TStatus } from "../interfaces.js";
|
||||
import shared, { TPrefixDict } from "../shared.js";
|
||||
import { ILink, IPostElement } from "./post-parse.js";
|
||||
|
|
Loading…
Reference in New Issue