@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.
20 lines (18 loc) • 385 B
text/typescript
import { IncomingMessage } from "http";
import { FastifySchema, FastifyRequest, RawServerBase } from "fastify";
export type Request<
TBody = void,
TQuerystring = void,
TParams = void,
THeaders = void
> = FastifyRequest<
{
Body: TBody;
Querystring: TQuerystring;
Params: TParams;
Headers: THeaders;
},
RawServerBase,
IncomingMessage,
FastifySchema
>;