* refactor(angular-query): change query functions to accept an options object instead of an injector
change query functions to accept an options object instead of an injector so that it matches angular APIs such as effect and allows adding more options in the future.
Closes#8711
* ci: apply automated fixes
* fix build error
* revert changes to deprecated injectQueryClient
* Rename optionsFn as we now also have an options parameter
* Revert changes to injectQueries as there's a PR in progress for that
* Add types for options
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Arnoud de Vries <6420061+arnoud-dv@users.noreply.github.com>