Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
cd70269fbc3eb01088d15f8334ca59ad3d809986a2e9055fb5523975635774ec2600ebd6f6fa37eb9e72891f8d66b72a824fa4b2a4637f21a05c21763df2404f148eb9df1e24f29d11e4fbe3d234323da727d5dfd6d621ea32e4c055b220dc18e6c2b748f1473c809951c4dce7f8a8636a46c1ebc623878813efb1f2db27File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
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) | ||||||
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
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