25 lines
986 B
TypeScript
25 lines
986 B
TypeScript
// ── API module barrel ─────────────────────────────────────────────────────
|
|
// Drop-in replacement for the old $lib/api.ts flat file.
|
|
// Existing imports from '$lib/api.js' continue to work via api.ts re-export.
|
|
|
|
export { screenTickers, fetchCatalysts, analyzeTickers } from './screener.js';
|
|
export {
|
|
fetchProfile,
|
|
fetchChart,
|
|
fetchTickerNews,
|
|
fetchSectorPulse,
|
|
fetchSectorDetail,
|
|
} from './screener.js';
|
|
export type {
|
|
CompanyProfile,
|
|
PricePoint,
|
|
TickerNewsStory,
|
|
SectorPulse,
|
|
SectorPulseEntry,
|
|
SectorDetail,
|
|
} from './screener.js';
|
|
export { fetchPortfolio, addHolding, removeHolding, fetchMarketContext } from './finance.js';
|
|
export { fetchCalls, fetchCall, createCall, deleteCall, fetchCallsCalendar } from './calls.js';
|
|
export { login, register, authFetch } from './auth.js';
|
|
export { fetchWatchlist, pinTicker, unpinTicker } from './watchlist.js';
|