37 lines
862 B
TypeScript
37 lines
862 B
TypeScript
/**
|
|
* 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,
|
|
} from './types';
|
|
|
|
// Utils
|
|
export {
|
|
createPostgreSQLClient,
|
|
createAndConnectPostgreSQLClient,
|
|
} from './factory';
|