UNPKG

@whook/whook

Version:

Build strong and efficient REST web services.

11 lines (10 loc) 565 B
import { type LogService } from 'common-services'; import { type WhookCronHandlerWrapper, type WhookCronHandler } from '../types/crons.js'; import { type JsonValue } from 'type-fest'; export type WhookCronsHandlersService = Record<string, WhookCronHandler<JsonValue>>; export type WhookCronsHandlersDependencies = { CRONS_WRAPPERS: WhookCronHandlerWrapper[]; log?: LogService; } & WhookCronsHandlersService; declare const _default: import("knifecycle").ServiceInitializer<WhookCronsHandlersDependencies, WhookCronsHandlersService>; export default _default;