UNPKG

@whook/whook

Version:

Build strong and efficient REST web services.

10 lines (9 loc) 540 B
import { type LogService } from 'common-services'; import { type WhookRouteHandlerWrapper, type WhookRouteHandler } from '../types/routes.js'; export type WhookRoutesHandlersService = Record<string, WhookRouteHandler>; export type WhookRoutesHandlersDependencies = { ROUTES_WRAPPERS: WhookRouteHandlerWrapper<WhookRouteHandler>[]; log?: LogService; } & WhookRoutesHandlersService; declare const _default: import("knifecycle").ServiceInitializer<WhookRoutesHandlersDependencies, WhookRoutesHandlersService>; export default _default;