Skip to content

definePost

definePost(config, execute): object

Defined in: define-route.js:36

Type-inference helper for POST/PUT/PATCH routes.

object

Middleware configuration (without execute).

Function

Route handler receiving the inferred accumulator.

object

RouteConfig object with config and execute merged.