23 lines
No EOL
646 B
TypeScript
23 lines
No EOL
646 B
TypeScript
/**
|
|
* Handler auto-registration
|
|
* Import all handlers here to trigger auto-registration
|
|
*/
|
|
|
|
import type { IDataIngestionServices } from '@stock-bot/di';
|
|
import { QMHandler } from './qm/qm.handler';
|
|
|
|
/**
|
|
* Initialize and register all handlers
|
|
*/
|
|
export function initializeAllHandlers(services: IDataIngestionServices): void {
|
|
// QM Handler
|
|
const qmHandler = new QMHandler(services);
|
|
qmHandler.register();
|
|
|
|
// TODO: Add other handlers here as they're converted
|
|
// const webShareHandler = new WebShareHandler(services);
|
|
// webShareHandler.register();
|
|
|
|
// const ibHandler = new IBHandler(services);
|
|
// ibHandler.register();
|
|
} |