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