@tanstack/query-core
Advanced tools
Comparing version 4.10.1 to 4.10.3
@@ -25,3 +25,5 @@ import type { MutationState } from './mutation'; | ||
} | ||
export declare type QueryMeta = Record<string, unknown>; | ||
export interface QueryMeta { | ||
[index: string]: unknown; | ||
} | ||
export declare type NetworkMode = 'online' | 'always' | 'offlineFirst'; | ||
@@ -334,3 +336,5 @@ export interface QueryOptions<TQueryFnData = unknown, TError = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey> { | ||
export declare type MutationStatus = 'idle' | 'loading' | 'success' | 'error'; | ||
export declare type MutationMeta = Record<string, unknown>; | ||
export interface MutationMeta { | ||
[index: string]: unknown; | ||
} | ||
export declare type MutationFunction<TData = unknown, TVariables = unknown> = (variables: TVariables) => Promise<TData>; | ||
@@ -337,0 +341,0 @@ export interface MutationOptions<TData = unknown, TError = unknown, TVariables = void, TContext = unknown> { |
{ | ||
"name": "@tanstack/query-core", | ||
"version": "4.10.1", | ||
"version": "4.10.3", | ||
"description": "TODO", | ||
@@ -5,0 +5,0 @@ "author": "tannerlinsley", |
@@ -51,3 +51,5 @@ /* istanbul ignore file */ | ||
export type QueryMeta = Record<string, unknown> | ||
export interface QueryMeta { | ||
[index: string]: unknown | ||
} | ||
@@ -538,3 +540,5 @@ export type NetworkMode = 'online' | 'always' | 'offlineFirst' | ||
export type MutationMeta = Record<string, unknown> | ||
export interface MutationMeta { | ||
[index: string]: unknown | ||
} | ||
@@ -541,0 +545,0 @@ export type MutationFunction<TData = unknown, TVariables = unknown> = ( |
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
2069385
21847