UNPKG

pandora

Version:

A powerful and lightweight application manager for Node.js applications powered by TypeScript.

23 lines (22 loc) 1.19 kB
import { ServiceCore } from './ServiceCore'; import { WorkerContextAccessor } from '../application/WorkerContextAccessor'; export declare class ServiceContextAccessor { serviceCore: ServiceCore; workerContext: WorkerContextAccessor; constructor(serviceCore: ServiceCore); appName: typeof WorkerContextAccessor.prototype.appName; appDir: typeof WorkerContextAccessor.prototype.appDir; processName: typeof WorkerContextAccessor.prototype.processName; env: typeof WorkerContextAccessor.prototype.env; environment: typeof WorkerContextAccessor.prototype.environment; hub: typeof WorkerContextAccessor.prototype.hub; getService: typeof WorkerContextAccessor.prototype.getService; getServiceClass: typeof WorkerContextAccessor.prototype.getServiceClass; logger: typeof ServiceCore.prototype.logger; dependencies: typeof ServiceCore.prototype.dependencies; representation: typeof ServiceCore.prototype.representation; serviceName: typeof ServiceCore.prototype.serviceName; config: typeof ServiceCore.prototype.config; publish: typeof ServiceCore.prototype.publish; getDependency: typeof ServiceCore.prototype.getDependency; }