modern decodators
This commit is contained in:
parent
8405f44bd9
commit
931f212ec7
6 changed files with 262 additions and 150 deletions
23
apps/data-ingestion/src/handlers/index.ts
Normal file
23
apps/data-ingestion/src/handlers/index.ts
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
/**
|
||||
* 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();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue