getting aligned and refactored
This commit is contained in:
parent
60ada5f6a3
commit
a3459f5865
16 changed files with 296 additions and 273 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue