RPC-like client, contract, and server implementation for a pure REST API
createSingleRouteHandler
appRoute
to route handlers@tanstack/react-query
from @ts-rest/react-query/tanstack
to fix No QueryClient set
errors caused by version mismatchestype: module
to package.jsontype: module
to package.jsontype: module
to package.jsontype: module
to package.jsontype: module
to package.jsontype: module
to package.jsontype: module
to package.jsontype: module
to package.jsontype: module
to package.jsontype: module
to package.jsonappRoute
to route handlers@tanstack/react-query
from @ts-rest/react-query/tanstack
to fix No QueryClient set
errors caused by version mismatchesTsRestResponseError
so common responses can be thrown easilyTsRestResponseError
can be thrown from any server packageTsRestResponseError
can be thrown from any server packageTsRestResponseError
can be thrown from any server packageTsRestResponseError
can be thrown from any server packageTsRestResponseError
can be thrown from any server packageoperationMapper
option to extend OpenAPI operationsTsRestResponseError
can be thrown from any server package@ts-rest/serverless/next
handler