phase-5: code maintenance

This commit is contained in:
Sai Kiran Vella
2026-06-04 16:28:21 -04:00
committed by saikiranvella
parent dbcc0376b0
commit 57625c27d7
10 changed files with 525 additions and 479 deletions
+13
View File
@@ -0,0 +1,13 @@
import { fetchCatalysts, screenTickers } from '$lib/api.js';
// Client-only — the API lives at localhost:3000, not accessible during SSR
export const ssr = false;
export async function load() {
const cat = await fetchCatalysts();
const results = await screenTickers(cat.tickers);
return {
results,
catalystInput: cat.tickers.join(', '),
};
}