Cancel running queries that match the provided filters. Used to prevent race conditions when mutations affect data.
Set query data for a specific query key. Used for optimistic updates after successful mutations.
Invalidate queries that match the provided filters. Used to trigger refetches of related data after mutations.
Interface defining the minimal QueryClient methods required by this library.
This interface ensures compatibility with different versions of @tanstack/vue-query by only requiring the specific methods that are actually used internally. This prevents version compatibility issues where internal implementation details (like private properties) might differ between versions.