fast-controllers
Version:
class based controllers, and implied folder route mapping for Fastify
8 lines (7 loc) • 356 B
TypeScript
import type { FastifyReply, FastifyRequest } from 'fastify';
import FastController from './FastController';
declare class SecureFastController extends FastController {
static scope: string;
onPreValidation(_request: FastifyRequest, _reply: FastifyReply, done: (err?: Error) => void): void | Promise<unknown>;
}
export default SecureFastController;