50 lines
1.6 KiB
TypeScript
50 lines
1.6 KiB
TypeScript
// Shared domain — re-exports all shared infrastructure
|
|
// Import from here, not from individual subdirectories
|
|
|
|
// Entities
|
|
export { Asset } from './entities/Asset';
|
|
export { Stock } from './entities/Stock';
|
|
export { Etf } from './entities/Etf';
|
|
export { Bond } from './entities/Bond';
|
|
|
|
// Adapters (external API clients)
|
|
export { YahooFinanceClient } from './adapters/YahooFinanceClient';
|
|
export { AnthropicClient } from './adapters/AnthropicClient';
|
|
export { SimpleFINClient } from './adapters/SimpleFINClient';
|
|
|
|
// Services
|
|
export { BenchmarkProvider } from './services/BenchmarkProvider';
|
|
export { CatalystAnalyst } from './services/CatalystAnalyst';
|
|
export { CatalystCache } from './services/CatalystCache';
|
|
export { LLMAnalyst } from './services/LLMAnalyst';
|
|
|
|
// Scoring
|
|
export { CREDIT_RATING_SCALE } from './scoring/ScoringConfig';
|
|
export { MarketRegime } from './scoring/MarketRegime';
|
|
|
|
// Persistence (repositories)
|
|
export { MarketCallRepository } from './persistence/MarketCallRepository';
|
|
export { PortfolioRepository } from './persistence/PortfolioRepository';
|
|
export { SignalSnapshotRepository } from './persistence/SignalSnapshotRepository';
|
|
export type { SnapshotInput } from './persistence/SignalSnapshotRepository';
|
|
export { DatabaseConnection, QueryAudit, createDb } from './db/index';
|
|
|
|
// Config & Constants
|
|
export {
|
|
SIGNAL,
|
|
SIGNAL_ORDER,
|
|
SCORE_MODE,
|
|
ASSET_TYPE,
|
|
REGIME,
|
|
CAP_CATEGORY,
|
|
GROWTH_CATEGORY,
|
|
SECTOR,
|
|
} from './config/constants';
|
|
|
|
// Types — re-export everything from types barrel
|
|
export type * from './types/index';
|
|
|
|
// Utils
|
|
export { noopLogger } from './utils/logger';
|
|
export { chunkArray } from './utils/Chunker';
|