-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
feat(angular-query): move devtools to conditional sub-paths #9270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 32 commits
cd70269
fbc3eb0
1088d15
f8334ca
59ad3d8
09986a2
e9055fb
5523975
635774e
c2600eb
d6f6fa3
7eb9e72
891f8d6
6b72a82
4fa4b2a
4637f21
a05c217
63df240
4f148eb
9df1e24
f29d11e
4fbe3d2
34323da
727d5df
d6d621e
a32e4c0
55b220d
c18e6c2
b748f14
73c8099
51c4dce
7f8a863
6a46c1e
bc62387
8813efb
1f2db27
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -3,6 +3,8 @@ id: injectInfiniteQuery | |||||
| title: injectInfiniteQuery | ||||||
| --- | ||||||
|
|
||||||
| <!-- DO NOT EDIT: this page is autogenerated from the type comments --> | ||||||
|
|
||||||
| # Function: injectInfiniteQuery() | ||||||
|
|
||||||
| Injects an infinite query: a declarative dependency on an asynchronous source of data that is tied to a unique key. | ||||||
|
|
@@ -31,6 +33,8 @@ function injectInfiniteQuery< | |||||
| ): DefinedCreateInfiniteQueryResult<TData, TError> | ||||||
| ``` | ||||||
|
|
||||||
| Defined in: [inject-infinite-query.ts:41](https://github.com/TanStack/query/blob/main/packages/angular-query-experimental/src/inject-infinite-query.ts#L41) | ||||||
|
|
||||||
| Injects an infinite query: a declarative dependency on an asynchronous source of data that is tied to a unique key. | ||||||
| Infinite queries can additively "load more" data onto an existing set of data or "infinite scroll" | ||||||
|
|
||||||
|
|
@@ -76,10 +80,6 @@ A function that returns infinite query options. | |||||
|
|
||||||
| Additional configuration. | ||||||
|
|
||||||
| ### Defined in | ||||||
|
|
||||||
| [inject-infinite-query.ts:42](https://github.com/TanStack/query/blob/main/packages/angular-query-experimental/src/inject-infinite-query.ts#L42) | ||||||
|
|
||||||
| ## Call Signature | ||||||
|
|
||||||
| ```ts | ||||||
|
|
@@ -92,6 +92,8 @@ function injectInfiniteQuery< | |||||
| >(injectInfiniteQueryFn, options?): CreateInfiniteQueryResult<TData, TError> | ||||||
| ``` | ||||||
|
|
||||||
| Defined in: [inject-infinite-query.ts:65](https://github.com/TanStack/query/blob/main/packages/angular-query-experimental/src/inject-infinite-query.ts#L65) | ||||||
|
|
||||||
| Injects an infinite query: a declarative dependency on an asynchronous source of data that is tied to a unique key. | ||||||
| Infinite queries can additively "load more" data onto an existing set of data or "infinite scroll" | ||||||
|
|
||||||
|
|
@@ -137,10 +139,6 @@ A function that returns infinite query options. | |||||
|
|
||||||
| Additional configuration. | ||||||
|
|
||||||
| ### Defined in | ||||||
|
|
||||||
| [inject-infinite-query.ts:67](https://github.com/TanStack/query/blob/main/packages/angular-query-experimental/src/inject-infinite-query.ts#L67) | ||||||
|
|
||||||
| ## Call Signature | ||||||
|
|
||||||
| ```ts | ||||||
|
|
@@ -153,6 +151,8 @@ function injectInfiniteQuery< | |||||
| >(injectInfiniteQueryFn, options?): CreateInfiniteQueryResult<TData, TError> | ||||||
| ``` | ||||||
|
|
||||||
| Defined in: [inject-infinite-query.ts:89](https://github.com/TanStack/query/blob/main/packages/angular-query-experimental/src/inject-infinite-query.ts#L89) | ||||||
|
|
||||||
| Injects an infinite query: a declarative dependency on an asynchronous source of data that is tied to a unique key. | ||||||
| Infinite queries can additively "load more" data onto an existing set of data or "infinite scroll" | ||||||
|
|
||||||
|
|
@@ -172,7 +172,7 @@ Infinite queries can additively "load more" data onto an existing set of data or | |||||
|
|
||||||
| #### injectInfiniteQueryFn | ||||||
|
|
||||||
| () => [`CreateInfiniteQueryOptions`](../../interfaces/createinfinitequeryoptions.md)\<`TQueryFnData`, `TError`, `TData`, `TQueryFnData`, `TQueryKey`, `TPageParam`\> | ||||||
| () => [`CreateInfiniteQueryOptions`](../../interfaces/createinfinitequeryoptions.md)\<`TQueryFnData`, `TError`, `TData`, `TQueryKey`, `TPageParam`\> | ||||||
|
|
||||||
|
Comment on lines
+175
to
176
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Verification agent 🧩 Analysis chainValidate doc kind path for CreateInfiniteQueryOptions Link targets “interfaces/createinfinitequeryoptions.md”. Confirm actual location/kind to avoid 404s. 🏁 Script executed: #!/bin/bash
fd -a createinfinitequeryoptions.md docs | sed 's|^\./||'
rg -n "CreateInfiniteQueryOptions" -g "docs/**/*.md" -nLength of output: 4118 Fix broken relative link for CreateInfiniteQueryOptions - [`CreateInfiniteQueryOptions`](../../interfaces/createinfinitequeryoptions.md)
+ [`CreateInfiniteQueryOptions`](../interfaces/createinfinitequeryoptions.md)📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||
| A function that returns infinite query options. | ||||||
|
|
||||||
|
|
@@ -197,7 +197,3 @@ A function that returns infinite query options. | |||||
| ### Param | ||||||
|
|
||||||
| Additional configuration. | ||||||
|
|
||||||
| ### Defined in | ||||||
|
|
||||||
| [inject-infinite-query.ts:92](https://github.com/TanStack/query/blob/main/packages/angular-query-experimental/src/inject-infinite-query.ts#L92) | ||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Verification agent
🧩 Analysis chain
Validate doc kind path for CreateInfiniteQueryOptions
The link path uses “interfaces/createinfinitequeryoptions.md”. If CreateInfiniteQueryOptions is a type alias (not an interface), the path should be under type-aliases to avoid 404s/inconsistency. Please confirm the generator’s kind mapping.
You can scan for the emitted file to confirm:
Also applies to: 131-133, 191-193
🏁 Script executed:
Length of output: 2240
Update Angular docs CreateInfiniteQueryOptions path to type-aliases
Change all links in docs/framework/angular/reference from
../interfaces/createinfinitequeryoptions.mdto../type-aliases/createinfinitequeryoptions.md(in functions/infinitequeryoptions.md at lines 68, 131, 191; injectinfinitequery.md at line 175; and index.md at line 15).🤖 Prompt for AI Agents