UNPKG

@whook/whook

Version:

Build strong and efficient REST web services.

26 lines (25 loc) 1.03 kB
import { type LogService } from 'common-services'; import { type FatalErrorService, type Knifecycle } from 'knifecycle'; import { type WhookRawCommandArgs } from '../libs/args.js'; import { type WhookSchemaValidatorsService } from './schemaValidators.js'; import { type WhookCoercionOptions } from '../libs/coercion.js'; import { type WhookCommandHandler, type WhookCommandDefinition } from '../types/commands.js'; import { type WhookOpenAPI } from '../types/openapi.js'; export type WhookCommandEnv = { CI?: string; NO_PROMPT?: string; }; declare const _default: import("knifecycle").ServiceInitializer<{ ENV: WhookCommandEnv; API: WhookOpenAPI; COMMAND_DEFINITION: WhookCommandDefinition; COERCION_OPTIONS?: WhookCoercionOptions; commandHandler: WhookCommandHandler; schemaValidators: WhookSchemaValidatorsService; $ready: Promise<void>; $instance: Knifecycle; $fatalError: FatalErrorService; args: WhookRawCommandArgs; log: LogService; }, void>; export default _default;