Route registration that connects a contract to the handler implementing it.
Most apps keep route definitions in features/<feature>/routes.ts and compose them with defineRoutes(...).
features/<feature>/routes.ts
defineRoutes(...)
Contract builder or plain contract config for this route.
Handler that implements the contract.
Optional
Route-scoped hooks that run after group hooks and before the handler.
Route registration that connects a contract to the handler implementing it.
Most apps keep route definitions in
features/<feature>/routes.tsand compose them withdefineRoutes(...).