UNPKG

@sentzunhat/zacatl

Version:

A modular, high-performance TypeScript microservice framework for Node.js, featuring layered architecture, dependency injection, and robust validation for building scalable APIs and distributed systems.

7 lines 371 B
import type { FastifyReply, FastifyRequest } from '../../../../../../third-party/fastify.js'; export type HookHandlerName = 'onRequest' | 'preHandler' | 'preValidation' | 'preSerialization'; export interface HookHandler { name: HookHandlerName; execute: (request: FastifyRequest, reply: FastifyReply) => Promise<void>; } //# sourceMappingURL=hook-handler.d.ts.map