UNPKG

@sentzunhat/zacatl

Version:

A modular, high-performance TypeScript microservice framework for Node.js, featuring layered architecture, dependency injection, and robust validation for building scalable APIs and distributed systems.

41 lines 1.68 kB
import { InternalServerError } from '../../../error/index.js'; export class Desktop { window; platform; constructor(config) { this.window = config.window; this.platform = config.platform; } async registerEntrypoints(_entryPoints) { throw new InternalServerError({ message: `Desktop IPC entrypoint registration for '${this.window.title}' is not yet implemented`, reason: 'ServiceType.DESKTOP IPC handler registration and event routing are not implemented. ' + 'This feature is planned for v0.1.0. Use ServiceType.SERVER for HTTP-based services.', component: 'Desktop', operation: 'registerEntrypoints', metadata: { platform: this.platform, window: { title: this.window.title }, }, }); } async start(_input) { throw new InternalServerError({ message: `Desktop platform '${this.window.title}' (${this.platform}) is not yet implemented`, reason: 'ServiceType.DESKTOP is declared but window initialization and IPC handler registration are not implemented. ' + 'This feature is planned for v0.1.0. Use ServiceType.SERVER for HTTP-based services.', component: 'Desktop', operation: 'start', metadata: { platform: this.platform, window: { title: this.window.title, width: this.window.width, height: this.window.height, }, }, }); } async stop() { } } //# sourceMappingURL=desktop.js.map