refactored db's and browser

This commit is contained in:
Boki 2025-06-22 08:45:14 -04:00
parent a0a3b26177
commit 89cbfb7848
12 changed files with 111 additions and 39 deletions

View file

@ -14,6 +14,7 @@ export abstract class BaseHandler implements IHandler {
readonly queue;
readonly http;
readonly proxy;
readonly browser;
readonly mongodb;
readonly postgres;
readonly questdb;
@ -27,6 +28,7 @@ export abstract class BaseHandler implements IHandler {
this.queue = services.queue;
this.http = services.http;
this.proxy = services.proxy;
this.browser = services.browser;
this.mongodb = services.mongodb;
this.postgres = services.postgres;
this.questdb = services.questdb;

View file

@ -16,6 +16,7 @@ export interface IServiceContainer {
readonly queue: any; // Queue manager (BullMQ)
readonly http: any; // HTTP client with proxy support
readonly proxy: ProxyManager; // Proxy manager service
readonly browser?: any; // Browser automation (Playwright)
// Database clients
readonly mongodb: any; // MongoDB client