moved folders around
This commit is contained in:
parent
4f89affc2b
commit
36cb84b343
202 changed files with 1160 additions and 660 deletions
42
libs/data/postgres/src/index.ts
Normal file
42
libs/data/postgres/src/index.ts
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
/**
|
||||
* PostgreSQL Client Library for Stock Bot
|
||||
*
|
||||
* Provides type-safe PostgreSQL access for operational data,
|
||||
* transactions, and relational queries.
|
||||
*/
|
||||
|
||||
export { PostgreSQLClient } from './client';
|
||||
export { PostgreSQLHealthMonitor } from './health';
|
||||
export { PostgreSQLTransactionManager } from './transactions';
|
||||
export { PostgreSQLQueryBuilder } from './query-builder';
|
||||
// export { PostgreSQLMigrationManager } from './migrations'; // TODO: Implement migrations
|
||||
|
||||
// Types
|
||||
export type {
|
||||
PostgreSQLClientConfig,
|
||||
PostgreSQLConnectionOptions,
|
||||
PostgreSQLHealthStatus,
|
||||
PostgreSQLMetrics,
|
||||
QueryResult,
|
||||
TransactionCallback,
|
||||
SchemaNames,
|
||||
TableNames,
|
||||
Trade,
|
||||
Order,
|
||||
Position,
|
||||
Portfolio,
|
||||
Strategy,
|
||||
RiskLimit,
|
||||
AuditLog,
|
||||
PoolMetrics,
|
||||
ConnectionEvents,
|
||||
DynamicPoolConfig,
|
||||
} from './types';
|
||||
|
||||
// Factory functions
|
||||
export {
|
||||
createPostgreSQLClient,
|
||||
createAndConnectPostgreSQLClient,
|
||||
} from './factory';
|
||||
|
||||
// Singleton pattern removed - use factory functions instead
|
||||
Loading…
Add table
Add a link
Reference in a new issue