Route registration for one contract.
Route definitions connect a contract to the handler that implements it. Most apps keep these 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.
Route registration for one contract.
Route definitions connect a contract to the handler that implements it. Most apps keep these in
features/<feature>/routes.tsand compose them withdefineRoutes(...).