UNPKG

@tryloop/oats

Version:

🌾 OATS - OpenAPI TypeScript Sync. The missing link between your OpenAPI specs and TypeScript applications. Automatically watch, generate, and sync TypeScript clients from your API definitions.

56 lines • 1.37 kB
/** * OATS Development Orchestrator * * Manages multiple development services with cross-platform compatibility * and coordinates synchronization between backend API and TypeScript client */ /// <reference types="node" /> import { EventEmitter } from 'events'; import type { RuntimeConfig } from '../types/config.types.js'; export declare class DevSyncOrchestrator extends EventEmitter { private config; private logger; private processManager; private shutdownManager; private services; private syncEngine?; private configWatcher?; constructor(config: RuntimeConfig); /** * Create service instances */ private createServices; /** * Start all services */ start(): Promise<void>; /** * Shutdown all services */ shutdown(): Promise<void>; /** * Stop all services without exiting the process */ private stop; /** * Link client package to frontend */ private linkClientPackage; /** * Set up sync engine event handlers */ private setupSyncHandlers; /** * Set up signal handlers */ private setupSignalHandlers; /** * Watch config file for changes */ private watchConfigFile; /** * Print service status */ private printServiceStatus; } //# sourceMappingURL=orchestrator.d.ts.map