@whook/whook
Version:
Build strong and efficient REST web services.
11 lines (10 loc) • 609 B
TypeScript
import { type LogService } from 'common-services';
import { type WhookConsumerHandlerWrapper, type WhookConsumerHandler } from '../types/consumers.js';
import { type JsonValue } from 'type-fest';
export type WhookConsumersHandlersService = Record<string, WhookConsumerHandler<JsonValue>>;
export type WhookConsumersHandlersDependencies = {
CONSUMERS_WRAPPERS: WhookConsumerHandlerWrapper[];
log?: LogService;
} & WhookConsumersHandlersService;
declare const _default: import("knifecycle").ServiceInitializer<WhookConsumersHandlersDependencies, WhookConsumersHandlersService>;
export default _default;