getting aligned and refactored

This commit is contained in:
Boki 2025-06-22 18:27:48 -04:00
parent 60ada5f6a3
commit a3459f5865
16 changed files with 296 additions and 273 deletions

View file

@ -1,6 +1,6 @@
import { getLogger } from '@stock-bot/logger';
import { handlerRegistry, createJobHandler, type HandlerConfig, type ScheduledJobConfig } from '@stock-bot/queue';
import type { ServiceContainer } from '@stock-bot/di';
import type { IServiceContainer } from '@stock-bot/handlers';
import { exchangeOperations } from './operations';
const logger = getLogger('exchanges-handler');
@ -52,7 +52,7 @@ const exchangesHandlerConfig: HandlerConfig = {
},
};
export function initializeExchangesHandler(container: ServiceContainer) {
export function initializeExchangesHandler(container: IServiceContainer) {
logger.info('Registering exchanges handler...');
// Update operations to use container