definePatch
definePatch(
config,execute):object
Defined in: define-route.js:71
Type-inference helper for PATCH routes. Alias for definePost —
PATCH routes share the same auto-included body typing as POST/PUT.
Parameters
Section titled “Parameters”config
Section titled “config”object
Middleware configuration (without execute).
execute
Section titled “execute”Function
Route handler receiving the inferred accumulator.
Returns
Section titled “Returns”object
RouteConfig object with config and execute merged.