@tanstack/vue-query
Advanced tools
Comparing version 5.21.2 to 5.21.4
@@ -8,3 +8,3 @@ export * from '@tanstack/query-core'; | ||
export { MutationCache } from './mutationCache.js'; | ||
export { d as UseInfiniteQueryOptions, e as UseInfiniteQueryReturnType, c as UseQueryDefinedReturnType, U as UseQueryOptions, b as UseQueryReturnType, a as useInfiniteQuery, u as useQuery } from './useQuery-E3oRpddL.js'; | ||
export { d as UseInfiniteQueryOptions, e as UseInfiniteQueryReturnType, c as UseQueryDefinedReturnType, U as UseQueryOptions, b as UseQueryReturnType, a as useInfiniteQuery, u as useQuery } from './useQuery-8rmWO98w.js'; | ||
export { UseQueriesOptions, UseQueriesResults, useQueries } from './useQueries.js'; | ||
@@ -11,0 +11,0 @@ export { UseMutationOptions, UseMutationReturnType, useMutation } from './useMutation.js'; |
@@ -34,3 +34,3 @@ import * as vue_demi from 'vue-demi'; | ||
setQueryDefaults(queryKey: MaybeRefDeep<QueryKey>, options: MaybeRefDeep<Omit<QueryObserverOptions<unknown, any, any, any>, 'queryKey'>>): void; | ||
getQueryDefaults(queryKey: MaybeRefDeep<QueryKey>): QueryObserverOptions<any, any, any, any, any>; | ||
getQueryDefaults(queryKey: MaybeRefDeep<QueryKey>): Omit<QueryObserverOptions<any, any, any, any, any>, 'queryKey'>; | ||
setMutationDefaults(mutationKey: MaybeRefDeep<MutationKey>, options: MaybeRefDeep<MutationObserverOptions<any, any, any, any>>): void; | ||
@@ -37,0 +37,0 @@ getMutationDefaults(mutationKey: MaybeRefDeep<MutationKey>): MutationObserverOptions<any, any, any, any>; |
import { DefaultError, QueryKey, DataTag } from '@tanstack/query-core'; | ||
import { f as UndefinedInitialQueryOptions, D as DefinedInitialQueryOptions } from './useQuery-E3oRpddL.js'; | ||
import { f as UndefinedInitialQueryOptions, D as DefinedInitialQueryOptions } from './useQuery-8rmWO98w.js'; | ||
import 'vue-demi'; | ||
@@ -4,0 +4,0 @@ import './queryClient.js'; |
import 'vue-demi'; | ||
import '@tanstack/query-core'; | ||
import './queryClient.js'; | ||
export { g as UseBaseQueryReturnType, h as useBaseQuery } from './useQuery-E3oRpddL.js'; | ||
export { g as UseBaseQueryReturnType, h as useBaseQuery } from './useQuery-8rmWO98w.js'; | ||
import './types.js'; |
import '@tanstack/query-core'; | ||
export { d as UseInfiniteQueryOptions, e as UseInfiniteQueryReturnType, a as useInfiniteQuery } from './useQuery-E3oRpddL.js'; | ||
export { d as UseInfiniteQueryOptions, e as UseInfiniteQueryReturnType, a as useInfiniteQuery } from './useQuery-8rmWO98w.js'; | ||
import './types.js'; | ||
import './queryClient.js'; | ||
import 'vue-demi'; |
import { ShallowRef } from 'vue-demi'; | ||
import { QueryObserverResult, QueryKey, QueriesPlaceholderDataFunction, QueryFunction, ThrowOnError, DefaultError, DefinedQueryObserverResult } from '@tanstack/query-core'; | ||
import { U as UseQueryOptions } from './useQuery-E3oRpddL.js'; | ||
import { U as UseQueryOptions } from './useQuery-8rmWO98w.js'; | ||
import { QueryClient } from './queryClient.js'; | ||
@@ -5,0 +5,0 @@ import { MaybeRefDeep, DistributiveOmit, DeepUnwrapRef } from './types.js'; |
import '@tanstack/query-core'; | ||
export { D as DefinedInitialQueryOptions, f as UndefinedInitialQueryOptions, c as UseQueryDefinedReturnType, U as UseQueryOptions, b as UseQueryReturnType, u as useQuery } from './useQuery-E3oRpddL.js'; | ||
export { D as DefinedInitialQueryOptions, f as UndefinedInitialQueryOptions, c as UseQueryDefinedReturnType, U as UseQueryOptions, b as UseQueryReturnType, u as useQuery } from './useQuery-8rmWO98w.js'; | ||
import './types.js'; | ||
import './queryClient.js'; | ||
import 'vue-demi'; |
@@ -8,3 +8,3 @@ export * from '@tanstack/query-core'; | ||
export { MutationCache } from './mutationCache.js'; | ||
export { d as UseInfiniteQueryOptions, e as UseInfiniteQueryReturnType, c as UseQueryDefinedReturnType, U as UseQueryOptions, b as UseQueryReturnType, a as useInfiniteQuery, u as useQuery } from './useQuery-E3oRpddL.js'; | ||
export { d as UseInfiniteQueryOptions, e as UseInfiniteQueryReturnType, c as UseQueryDefinedReturnType, U as UseQueryOptions, b as UseQueryReturnType, a as useInfiniteQuery, u as useQuery } from './useQuery-8rmWO98w.js'; | ||
export { UseQueriesOptions, UseQueriesResults, useQueries } from './useQueries.js'; | ||
@@ -11,0 +11,0 @@ export { UseMutationOptions, UseMutationReturnType, useMutation } from './useMutation.js'; |
@@ -34,3 +34,3 @@ import * as vue_demi from 'vue-demi'; | ||
setQueryDefaults(queryKey: MaybeRefDeep<QueryKey>, options: MaybeRefDeep<Omit<QueryObserverOptions<unknown, any, any, any>, 'queryKey'>>): void; | ||
getQueryDefaults(queryKey: MaybeRefDeep<QueryKey>): QueryObserverOptions<any, any, any, any, any>; | ||
getQueryDefaults(queryKey: MaybeRefDeep<QueryKey>): Omit<QueryObserverOptions<any, any, any, any, any>, 'queryKey'>; | ||
setMutationDefaults(mutationKey: MaybeRefDeep<MutationKey>, options: MaybeRefDeep<MutationObserverOptions<any, any, any, any>>): void; | ||
@@ -37,0 +37,0 @@ getMutationDefaults(mutationKey: MaybeRefDeep<MutationKey>): MutationObserverOptions<any, any, any, any>; |
import { DefaultError, QueryKey, DataTag } from '@tanstack/query-core'; | ||
import { f as UndefinedInitialQueryOptions, D as DefinedInitialQueryOptions } from './useQuery-E3oRpddL.js'; | ||
import { f as UndefinedInitialQueryOptions, D as DefinedInitialQueryOptions } from './useQuery-8rmWO98w.js'; | ||
import 'vue-demi'; | ||
@@ -4,0 +4,0 @@ import './queryClient.js'; |
import 'vue-demi'; | ||
import '@tanstack/query-core'; | ||
import './queryClient.js'; | ||
export { g as UseBaseQueryReturnType, h as useBaseQuery } from './useQuery-E3oRpddL.js'; | ||
export { g as UseBaseQueryReturnType, h as useBaseQuery } from './useQuery-8rmWO98w.js'; | ||
import './types.js'; |
import '@tanstack/query-core'; | ||
export { d as UseInfiniteQueryOptions, e as UseInfiniteQueryReturnType, a as useInfiniteQuery } from './useQuery-E3oRpddL.js'; | ||
export { d as UseInfiniteQueryOptions, e as UseInfiniteQueryReturnType, a as useInfiniteQuery } from './useQuery-8rmWO98w.js'; | ||
import './types.js'; | ||
import './queryClient.js'; | ||
import 'vue-demi'; |
import { ShallowRef } from 'vue-demi'; | ||
import { QueryObserverResult, QueryKey, QueriesPlaceholderDataFunction, QueryFunction, ThrowOnError, DefaultError, DefinedQueryObserverResult } from '@tanstack/query-core'; | ||
import { U as UseQueryOptions } from './useQuery-E3oRpddL.js'; | ||
import { U as UseQueryOptions } from './useQuery-8rmWO98w.js'; | ||
import { QueryClient } from './queryClient.js'; | ||
@@ -5,0 +5,0 @@ import { MaybeRefDeep, DistributiveOmit, DeepUnwrapRef } from './types.js'; |
import '@tanstack/query-core'; | ||
export { D as DefinedInitialQueryOptions, f as UndefinedInitialQueryOptions, c as UseQueryDefinedReturnType, U as UseQueryOptions, b as UseQueryReturnType, u as useQuery } from './useQuery-E3oRpddL.js'; | ||
export { D as DefinedInitialQueryOptions, f as UndefinedInitialQueryOptions, c as UseQueryDefinedReturnType, U as UseQueryOptions, b as UseQueryReturnType, u as useQuery } from './useQuery-8rmWO98w.js'; | ||
import './types.js'; | ||
import './queryClient.js'; | ||
import 'vue-demi'; |
{ | ||
"name": "@tanstack/vue-query", | ||
"version": "5.21.2", | ||
"version": "5.21.4", | ||
"description": "Hooks for managing, caching and syncing asynchronous and remote data in Vue", | ||
@@ -52,3 +52,3 @@ "author": "Damian Osipiuk", | ||
"vue-demi": "^0.14.6", | ||
"@tanstack/query-core": "5.21.2" | ||
"@tanstack/query-core": "5.21.4" | ||
}, | ||
@@ -55,0 +55,0 @@ "devDependencies": { |
@@ -388,3 +388,3 @@ import { ref } from 'vue-demi' | ||
queryKey: MaybeRefDeep<QueryKey>, | ||
): QueryObserverOptions<any, any, any, any, any> { | ||
): Omit<QueryObserverOptions<any, any, any, any, any>, 'queryKey'> { | ||
return super.getQueryDefaults(cloneDeepUnref(queryKey)) | ||
@@ -391,0 +391,0 @@ } |
@@ -10,3 +10,2 @@ import { InfiniteQueryObserver } from '@tanstack/query-core' | ||
QueryObserver, | ||
WithRequired, | ||
} from '@tanstack/query-core' | ||
@@ -58,12 +57,9 @@ | ||
: MaybeRefDeep< | ||
WithRequired< | ||
InfiniteQueryObserverOptions< | ||
TQueryFnData, | ||
TError, | ||
TData, | ||
TQueryData, | ||
TQueryKey, | ||
TPageParam | ||
>, | ||
'queryKey' | ||
InfiniteQueryObserverOptions< | ||
TQueryFnData, | ||
TError, | ||
TData, | ||
TQueryData, | ||
TQueryKey, | ||
TPageParam | ||
>[Property] | ||
@@ -70,0 +66,0 @@ > |
@@ -8,3 +8,2 @@ import { QueryObserver } from '@tanstack/query-core' | ||
QueryObserverOptions, | ||
WithRequired, | ||
} from '@tanstack/query-core' | ||
@@ -54,11 +53,8 @@ import type { UseBaseQueryReturnType } from './useBaseQuery' | ||
: MaybeRefDeep< | ||
WithRequired< | ||
QueryObserverOptions< | ||
TQueryFnData, | ||
TError, | ||
TData, | ||
TQueryData, | ||
TQueryKey | ||
>, | ||
'queryKey' | ||
QueryObserverOptions< | ||
TQueryFnData, | ||
TError, | ||
TData, | ||
TQueryData, | ||
TQueryKey | ||
>[Property] | ||
@@ -65,0 +61,0 @@ > |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
742321
10222
+ Added@tanstack/query-core@5.21.4(transitive)
- Removed@tanstack/query-core@5.21.2(transitive)
Updated@tanstack/query-core@5.21.4