Skip to content

definePut

definePut(config, execute): object

Defined in: define-route.js:59

Type-inference helper for PUT routes. Alias for definePost — PUT routes share the same auto-included body typing as POST/PATCH.

object

Middleware configuration (without execute).

Function

Route handler receiving the inferred accumulator.

object

RouteConfig object with config and execute merged.