fix: correct import paths in index-pi.ts (fs-com, tenGtek, utils/forecast-engine)
This commit is contained in:
parent
398dfcced8
commit
59a3e97207
@ -114,8 +114,8 @@ async function main() {
|
||||
const log = (q: string) => console.log(`[${new Date().toISOString()}] [${PI_NAME}] ${q}`);
|
||||
|
||||
// ── Pricing scrapers ──────────────────────────────────────────────────
|
||||
const { scrapeFs } = await import("./scrapers/fs");
|
||||
const { scrape10GTek } = await import("./scrapers/10gtek");
|
||||
const { scrapeFs } = await import("./scrapers/fs-com");
|
||||
const { scrape10Gtek } = await import("./scrapers/tenGtek");
|
||||
const { scrapeProLabs } = await import("./scrapers/prolabs");
|
||||
const { scrapeAtgbics } = await import("./scrapers/atgbics");
|
||||
const { scrapeOptcore } = await import("./scrapers/optcore");
|
||||
@ -169,11 +169,11 @@ async function main() {
|
||||
const { scrapeAiClusters } = await import("./scrapers/ai-clusters");
|
||||
const { scrapeDistributorLeads } = await import("./scrapers/distributor-leads");
|
||||
const { scrapeStandardsTracker } = await import("./scrapers/standards-tracker");
|
||||
const { runForecastEngine } = await import("./scrapers/forecast-engine");
|
||||
const { runForecastEngine } = await import("./utils/forecast-engine");
|
||||
|
||||
// ── Register workers ──────────────────────────────────────────────────
|
||||
await boss.work("scrape:pricing:fs", async () => { log("fs"); await withIsolatedStorage("fs", scrapeFs); });
|
||||
await boss.work("scrape:pricing:10gtek", async () => { log("10gtek"); await withIsolatedStorage("10gtek", scrape10GTek); });
|
||||
await boss.work("scrape:pricing:10gtek", async () => { log("10gtek"); await withIsolatedStorage("10gtek", scrape10Gtek); });
|
||||
await boss.work("scrape:pricing:prolabs", async () => { log("prolabs"); await withIsolatedStorage("prolabs", scrapeProLabs); });
|
||||
await boss.work("scrape:pricing:atgbics", async () => { log("atgbics"); await withIsolatedStorage("atgbics", scrapeAtgbics); });
|
||||
await boss.work("scrape:pricing:optcore", async () => { log("optcore"); await withIsolatedStorage("optcore", scrapeOptcore); });
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user