UNPKG

@whook/whook

Version:

Build strong and efficient REST web services.

19 lines (18 loc) 846 B
import { type OpenAPITypesGenerationOptions } from 'schema2dts'; import { type LogService } from 'common-services'; import { type WhookCommandHandler, type WhookCommandDefinition } from '../types/commands.js'; export type OpenAPITypesConfig = { OPEN_API_TYPES_CONFIG: OpenAPITypesGenerationOptions; }; export declare const definition: { readonly name: "generateOpenAPITypes"; readonly description: "Write openAPI types to stdout"; readonly example: "whook generateOpenAPITypes"; readonly arguments: []; }; declare const _default: import("knifecycle").ServiceInitializer<OpenAPITypesConfig & { instream: NodeJS.ReadableStream; outstream: NodeJS.WritableStream; log: LogService; }, WhookCommandHandler<Record<string, import("../types/commands.js").WhookArgsTypes>, WhookCommandDefinition>>; export default _default;