@openapi-qraft/tanstack-query-react-plugin@2.15.0-beta.1
Pre-release
Pre-release
·
5 commits
to main
since this release
Minor Changes
-
a282960: Introduce unified CLI tool
@qraft/clithat extends code generation capabilities beyond OpenAPI to support AsyncAPI
specifications. The new CLI provides three main commands:qraft openapi- Generate type-safe code from OpenAPI documents (React Query hooks and TypeScript types)qraft asyncapi- Generate TypeScript types from AsyncAPI documentsqraft redocly- Generate code from Redocly configuration files supporting both OpenAPI and AsyncAPI APIs
The CLI uses a plugin-based architecture where plugins are installed as peer dependencies, allowing users to install
only the plugins they need. It maintains full backward compatibility with existing OpenAPI workflows while adding
seamless support for event-driven API specifications.
Patch Changes
- 7074f50: Fix incorrect overload order in
ServiceOperationUseQueryandServiceOperationUseInfiniteQueryinterfaces. The overloads were swapped, causing TypeScript to incorrectly infer return types. Now the first overload correctly handles cases withinitialData(returnsDefinedUseQueryResult), and the second handles cases without it (returnsUseQueryResult). - Updated dependencies [a282960]
- @openapi-qraft/plugin@2.15.0-beta.1
- @qraft/cli-utils@1.0.0-beta.0
- @qraft/plugin@1.0.0-beta.0