more lint fixes
This commit is contained in:
parent
781ea7a9df
commit
2e073b1d44
4 changed files with 47 additions and 35 deletions
|
|
@ -2,6 +2,8 @@
|
|||
* Enhanced Sync Manager - Improved syncing with comprehensive exchange data
|
||||
*/
|
||||
import { getLogger } from '@stock-bot/logger';
|
||||
import { MongoDBClient } from '@stock-bot/mongodb-client';
|
||||
import { PostgreSQLClient } from '@stock-bot/postgres-client';
|
||||
import { getMongoDBClient, getPostgreSQLClient } from '../clients';
|
||||
|
||||
const logger = getLogger('enhanced-sync-manager');
|
||||
|
|
@ -32,8 +34,8 @@ interface SyncStatus {
|
|||
|
||||
export class EnhancedSyncManager {
|
||||
private isInitialized = false;
|
||||
private mongoClient: any;
|
||||
private postgresClient: any;
|
||||
private mongoClient: MongoDBClient;
|
||||
private postgresClient: PostgreSQLClient;
|
||||
private exchangeCache: Map<string, ExchangeMapping> = new Map();
|
||||
|
||||
async initialize(): Promise<void> {
|
||||
|
|
@ -301,7 +303,7 @@ export class EnhancedSyncManager {
|
|||
// Start transaction
|
||||
await this.postgresClient.query('BEGIN');
|
||||
|
||||
let symbols: any[] = [];
|
||||
let symbols: Record<string, unknown>[] = [];
|
||||
|
||||
// Get symbols based on provider
|
||||
const db = this.getMongoDatabase();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue