@trpc/react-query
Advanced tools
Comparing version 11.0.0-rc.531 to 11.0.0-rc.532
{ | ||
"bundleSize": 36974, | ||
"bundleOrigSize": 80347, | ||
"bundleReduction": 53.98, | ||
"bundleOrigSize": 80466, | ||
"bundleReduction": 54.05, | ||
"modules": [ | ||
@@ -190,3 +190,3 @@ { | ||
"size": 154, | ||
"origSize": 7157, | ||
"origSize": 7276, | ||
"renderedExports": [ | ||
@@ -204,3 +204,3 @@ "contextProps", | ||
"percent": 0.42, | ||
"reduction": 97.85 | ||
"reduction": 97.88 | ||
}, | ||
@@ -207,0 +207,0 @@ { |
@@ -7,4 +7,11 @@ import type { CancelOptions, FetchInfiniteQueryOptions, FetchQueryOptions, InfiniteData, InvalidateOptions, InvalidateQueryFilters, MutationOptions, QueryClient, QueryFilters, QueryKey, RefetchOptions, RefetchQueryFilters, ResetOptions, SetDataOptions, Updater } from '@tanstack/react-query'; | ||
import type { TRPCMutationKey, TRPCQueryKey } from './getQueryKey'; | ||
export type TRPCFetchQueryOptions<TOutput, TError> = DistributiveOmit<FetchQueryOptions<TOutput, TError>, 'queryKey'> & TRPCRequestOptions; | ||
export type TRPCFetchInfiniteQueryOptions<TInput, TOutput, TError> = DistributiveOmit<FetchInfiniteQueryOptions<TOutput, TError, TOutput, TRPCQueryKey, ExtractCursorType<TInput>>, 'queryKey' | 'initialPageParam'> & TRPCRequestOptions & { | ||
interface TRPCUseUtilsOptions { | ||
/** | ||
* tRPC-related options | ||
*/ | ||
trpc?: TRPCRequestOptions; | ||
} | ||
export interface TRPCFetchQueryOptions<TOutput, TError> extends DistributiveOmit<FetchQueryOptions<TOutput, TError>, 'queryKey'>, TRPCUseUtilsOptions { | ||
} | ||
export type TRPCFetchInfiniteQueryOptions<TInput, TOutput, TError> = DistributiveOmit<FetchInfiniteQueryOptions<TOutput, TError, TOutput, TRPCQueryKey, ExtractCursorType<TInput>>, 'queryKey' | 'initialPageParam'> & TRPCUseUtilsOptions & { | ||
initialCursor?: ExtractCursorType<TInput>; | ||
@@ -136,2 +143,3 @@ }; | ||
export declare const TRPCContext: React.Context<any>; | ||
export {}; | ||
//# sourceMappingURL=context.d.ts.map |
{ | ||
"name": "@trpc/react-query", | ||
"version": "11.0.0-rc.531+42d5af1b1", | ||
"version": "11.0.0-rc.532+476db0d8c", | ||
"description": "The tRPC React library", | ||
@@ -67,4 +67,4 @@ "author": "KATT", | ||
"@tanstack/react-query": "^5.54.1", | ||
"@trpc/client": "11.0.0-rc.531+42d5af1b1", | ||
"@trpc/server": "11.0.0-rc.531+42d5af1b1", | ||
"@trpc/client": "11.0.0-rc.532+476db0d8c", | ||
"@trpc/server": "11.0.0-rc.532+476db0d8c", | ||
"react": ">=18.2.0", | ||
@@ -75,4 +75,4 @@ "react-dom": ">=18.2.0" | ||
"@tanstack/react-query": "^5.54.1", | ||
"@trpc/client": "11.0.0-rc.531+42d5af1b1", | ||
"@trpc/server": "11.0.0-rc.531+42d5af1b1", | ||
"@trpc/client": "11.0.0-rc.532+476db0d8c", | ||
"@trpc/server": "11.0.0-rc.532+476db0d8c", | ||
"@types/express": "^4.17.17", | ||
@@ -97,3 +97,3 @@ "@types/node": "^20.10.0", | ||
], | ||
"gitHead": "42d5af1b189a1b80b1f128deb81550b1ddc6eeb6" | ||
"gitHead": "476db0d8c42cd886182b117f6fd1ecbe0ae7cbd8" | ||
} |
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
305507
6894