interface Route { DESCRIPTION?: string; ID: string; TYPE: ROUTETYPE; initialize( app: FastifyInstance< RawServerDefault, IncomingMessage, ServerResponse<IncomingMessage>, FastifyBaseLogger, FastifyTypeProviderDefault, >, ): Promise<void>;} Properties
Optional
DESCRIPTION
DESCRIPTION?: string
Methods
initialize
- initialize(
app: FastifyInstance<
RawServerDefault,
IncomingMessage,
ServerResponse<IncomingMessage>,
FastifyBaseLogger,
FastifyTypeProviderDefault,
>,
): Promise<void> Parameters
- app: FastifyInstance<
RawServerDefault,
IncomingMessage,
ServerResponse<IncomingMessage>,
FastifyBaseLogger,
FastifyTypeProviderDefault,
>
Returns Promise<void>
The base interface for all routes.
Route
Exports
Route
Example