Socket
Socket
Sign inDemoInstall

@kubb/swagger-tanstack-query

Package Overview
Dependencies
9
Maintainers
0
Versions
431
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kubb/swagger-tanstack-query

Generator swagger-tanstack-query


Version published
Weekly downloads
4.1K
decreased by-2.68%
Maintainers
0
Created
Weekly downloads
 

Readme

Source

@kubb/swagger-tanstack-query

Swagger integration for React-Query to generate all the different hooks based on an OpenAPI specification.

logo

npm version npm downloads Coverage License

View Demo · Documentation · Report Bug · Request Feature

options query

v4

UseBaseQueryOptions => react-query only UseQueryOptions => vue-query only CreateQueryOptions => solid-query only CreateQueryOptions => svelte-query only

v5

UseBaseQueryOptions => react-query only https://github.com/TanStack/query/blob/ce1305c27e7ac7988656d171d882a665a286cc6a/packages/react-query/src/types.ts#L18 QueryObserverOptions => vue-query only https://github.com/TanStack/query/blob/main/packages/vue-query/src/useQuery.ts#L24 UseQueryOptions => solid-query only

result query

v4

UseQueryResult => react-query only UseQueryReturnType => vue-query only CreateQueryResult => solid-query only CreateQueryResult => svelte-query only

v5

UseQueryResult => react-query only UseQueryReturnType => vue-query only

queryOptions() query

v5

queryOptions => react-query only

{
  query: {
    types: {
      options: 'UseBaseQueryOptions'
      result: 'UseQueryResult'
    }
  }
}

options mutation

v4

UseMutationOptions => react-query only VueMutationObserverOptions => vue-query only

v5

UseMutationOptions => react-query only MutationObserverOptions => vue-query only

result mutation

v4

UseMutationResult => react-query only UseMutationReturnType => vue-query only

v5

UseMutationResult => react-query only UseMutationReturnType => vue-query only

Keywords

FAQs

Package last updated on 09 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc