Fix imports
parent
597cb52e09
commit
b9de6e1838
|
@ -7,7 +7,7 @@ import { authenticate, urlExists, isF95URL } from "./scripts/network-helper.js";
|
||||||
import { getUserData as retrieveUserData } from "./scripts/scrape-data/scrape-user.js";
|
import { getUserData as retrieveUserData } from "./scripts/scrape-data/scrape-user.js";
|
||||||
import fetchLatestHandiworkURLs from "./scripts/fetch-data/fetch-latest.js";
|
import fetchLatestHandiworkURLs from "./scripts/fetch-data/fetch-latest.js";
|
||||||
import fetchPlatformData from "./scripts/fetch-data/fetch-platform-data.js";
|
import fetchPlatformData from "./scripts/fetch-data/fetch-platform-data.js";
|
||||||
import { getHandiworkInformation } from "./scripts/scrape-data/handiwork-parse.js";
|
import getHandiworkInformation from "./scripts/scrape-data/handiwork-parse.js";
|
||||||
import { IBasic } from "./scripts/interfaces.js";
|
import { IBasic } from "./scripts/interfaces.js";
|
||||||
|
|
||||||
// Classes from file
|
// Classes from file
|
||||||
|
|
|
@ -5,7 +5,7 @@ import { IBasic } from "./interfaces.js";
|
||||||
import HandiworkSearchQuery from "./classes/query/handiwork-search-query.js";
|
import HandiworkSearchQuery from "./classes/query/handiwork-search-query.js";
|
||||||
import LatestSearchQuery from "./classes/query/latest-search-query.js";
|
import LatestSearchQuery from "./classes/query/latest-search-query.js";
|
||||||
import ThreadSearchQuery from "./classes/query/thread-search-query.js";
|
import ThreadSearchQuery from "./classes/query/thread-search-query.js";
|
||||||
import { getHandiworkInformation } from "./scrape-data/handiwork-parse.js";
|
import getHandiworkInformation from "./scrape-data/handiwork-parse.js";
|
||||||
import executeQuery from "./fetch-data/fetch-query.js";
|
import executeQuery from "./fetch-data/fetch-query.js";
|
||||||
|
|
||||||
export async function search<T extends IBasic>(query: LatestSearchQuery, limit: number): Promise<T[]>
|
export async function search<T extends IBasic>(query: LatestSearchQuery, limit: number): Promise<T[]>
|
||||||
|
|
Loading…
Reference in New Issue