* fix(react-query): fix type breaking when using useSuspenseQueries with spreaded queryOptions
* test: change test title
* refactor: restore missing readonly
* docs(react-query): fix incorrect paths in documentation
The documentation contained incorrect file paths.
Fixed the incorrect paths to match the actual directory structure.
* docs(react-query): fixed incorrect relative path (./ -> ../)
* docs(svelte-query): add the devtools page to the svelte-query docs
* docs(svelte-query): remove the angular stuff, what is skipped
---------
Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
* chore: ts 5.8
* chore: there are no errors anymore from eslint-plugin-react-hooks
* ci: apply automated fixes
* chore: lock file
* ci: apply automated fixes
* revert: there are no errors anymore from eslint-plugin-react-hooks
* chore: revert angular examples back to ts 5.7.2
as angular doesn't support 5.8 yet
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
- Change return type to exclude mutationKey using OmitKeyof
- Replace spread operator with Object.assign for better performance
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
* feat: typed query filters
* refactor: use util types to extract from dataTag
* chore: try to fix vue types with overloads
* chore: vue types
* test: from #8691
* fix: make options a MaybeRefDeep
* feat: types for filters on other queryClient methods
* fix: add a test for 8684
* test(query-core): add test case for queryClient.isFetching
* chore: update
* Update packages/query-core/src/__tests__/queryClient.test.tsx
* Update packages/query-core/src/__tests__/queryClient.test.tsx
* chore: use fake timers
* test(query-core): use fakeTimer for queryClient.test.tsx's all test
* chore(react-query): add warning when useBaseQuery is called without a queryFn
Added a console error in development mode when useBaseQuery is called without a queryFn or default queryFn.
This helps developers avoid potential issues by ensuring at least one of them is provided.
* fix(react-query): check queryFn after applying defaultQueryOptions
Move queryFn check after defaultOptions.
* chore(react-query): add env check before console error
* chore(react-query): add env check before console error
* ci: apply automated fixes
* fix(react-query): check queryFn after defaultOptions
* Update packages/react-query/src/useBaseQuery.ts
* Update packages/react-query/src/useBaseQuery.ts
* Update packages/react-query/src/useBaseQuery.ts
---------
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>