import { Injectable, Injector, signal } from '@angular/core'; import type { IPluginServices } from '@phx-erp/shared-ui'; @Injectable({ providedIn: 'root' }) export class PhoenixHostBridgeService { private readonly _hostInjector = signal(null); private readonly _pluginServices = signal(null); hostInjector(): Injector | null { return this._hostInjector(); } setHostInjector(injector: Injector): void { this._hostInjector.set(injector); } pluginServices(): IPluginServices | null { return this._pluginServices(); } setPluginServices(services: IPluginServices): void { this._pluginServices.set(services); } }