UNPKG

@athenna/http

Version:

The Athenna Http server. Built on top of fastify.

12 lines (11 loc) 437 B
/** * @athenna/http * * (c) João Lenon <lenon@athenna.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ import type { MiddlewareContract } from '#src/types/contracts/MiddlewareContract'; import type { HandleHandler } from '#src/types/middlewares/MiddlewareHandler'; export type MiddlewareRouteType = string | HandleHandler | MiddlewareContract;