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.

22 lines • 1.37 kB
/** * OATSJS - OpenAPI TypeScript Sync * * Main entry point for programmatic usage of OATS. * This module exports all public APIs for both CLI and programmatic usage. * * @module oatsjs * @license MIT */ export { DevSyncOrchestrator } from './core/orchestrator.js'; export { DevSyncEngine } from './core/dev-sync-optimized.js'; export { SwaggerChangeDetector } from './core/swagger-diff.js'; export { init } from './cli/init.js'; export { start } from './cli/start.js'; export { detect } from './cli/detect.js'; export { validate } from './cli/validate.js'; export type { OatsConfig, ServicesConfig, BackendServiceConfig, ClientServiceConfig, FrontendServiceConfig, SyncConfig, LogConfig, ApiSpecConfig, GeneratorConfig, ConfigValidationResult, ConfigValidationWarning, RuntimeConfig, ApiSpecFormat, GeneratorType, ServiceType, SyncStrategy, } from './types/config.types.js'; export { OatsError, ConfigError, ConfigValidationError, ServiceError, ServiceStartError, FileSystemError, ApiSpecError, GeneratorError, NetworkError, DependencyError, CommandError, TimeoutError, UserCancelledError, ErrorWithSuggestion, ErrorHandler, } from './errors/index.js'; export { configSchema, validateConfig, mergeWithDefaults, } from './config/schema.js'; export { defineConfig } from './config.js'; export declare const VERSION: string; //# sourceMappingURL=index.d.ts.map