work on ib and cleanup

This commit is contained in:
Boki 2025-06-14 09:17:48 -04:00
parent a20a11c1aa
commit d686a72591
41 changed files with 601 additions and 2793 deletions

View file

@ -1,40 +1,22 @@
/**
* MongoDB Client Library for Stock Bot
* Simplified MongoDB Client Library for Stock Bot Data Service
*
* Provides type-safe MongoDB access for document storage, sentiment data,
* and raw content processing.
* Provides a singleton MongoDB client focused on batch upsert operations
* for high-performance data ingestion.
*/
export { MongoDBClient } from './client';
export { MongoDBHealthMonitor } from './health';
export { MongoDBTransactionManager } from './transactions';
export { MongoDBAggregationBuilder } from './aggregation';
// Types
export type {
MongoDBClientConfig,
MongoDBConnectionOptions,
MongoDBHealthStatus,
MongoDBMetrics,
CollectionNames,
DocumentBase,
SentimentData,
RawDocument,
NewsArticle,
SecFiling,
EarningsTranscript,
AnalystReport,
DocumentBase,
EarningsTranscript,
NewsArticle,
RawDocument,
SecFiling,
SentimentData,
} from './types';
// Schemas
export {
sentimentDataSchema,
rawDocumentSchema,
newsArticleSchema,
secFilingSchema,
earningsTranscriptSchema,
analystReportSchema,
} from './schemas';
// Utils
export { createMongoDBClient } from './factory';
// Factory functions
export { connectMongoDB, disconnectMongoDB, getMongoDBClient } from './factory';