removed configs from all libs and will inject them within the services themselves

This commit is contained in:
Boki 2025-06-18 14:50:47 -04:00
parent fd28162811
commit 6cc5b339bc
32 changed files with 366 additions and 349 deletions

View file

@ -1,7 +1,7 @@
/**
* Simplified MongoDB Client Library for Stock Bot Data Service
* MongoDB Client Library for Stock Bot Data Service
*
* Provides a singleton MongoDB client focused on batch upsert operations
* Provides a MongoDB client focused on batch upsert operations
* for high-performance data ingestion.
*/
@ -14,6 +14,8 @@ export type {
EarningsTranscript,
ExchangeSourceMapping,
MasterExchange,
MongoDBClientConfig,
MongoDBConnectionOptions,
NewsArticle,
RawDocument,
SecFiling,
@ -22,10 +24,6 @@ export type {
// Factory functions
export {
connectMongoDB,
disconnectMongoDB,
getCurrentDatabase,
getDatabase,
getMongoDBClient,
setDefaultDatabase,
createMongoDBClient,
createAndConnectMongoDBClient,
} from './factory';