Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7f4939c

Browse files
ci: sync config between projects (#9931)
* ci: update typedoc* Remove old check
1 parentb7b452e commit7f4939c

File tree

129 files changed

+1942
-1786
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

129 files changed

+1942
-1786
lines changed

‎.github/workflows/pr.yml‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ jobs:
3333
main-branch-name:main
3434
-name:Run Checks
3535
run:pnpm run test:pr
36-
-name:Verify Links
37-
run:pnpm run verify-links
3836
-name:Stop Nx Agents
3937
if:${{ always() }}
4038
run:npx nx-cloud stop-all-agents

‎docs/framework/angular/guides/caching.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Let's assume we are using the default `gcTime` of **5 minutes** and the default
2323
- A second instance of`injectQuery(() => ({ queryKey: ['todos'], queryFn: fetchTodos })` initializes elsewhere.
2424
- Since the cache already has data for the`['todos']` key from the first query, that data is immediately returned from the cache.
2525
- The new instance triggers a new network request using its query function.
26-
- Note that regardless of whether both`fetchTodos` query functions are identical or not, both queries'[`status`](../../reference/functions/injectquery.md) are updated (including`isFetching`,`isPending`, and other related values) because they have the same query key.
26+
- Note that regardless of whether both`fetchTodos` query functions are identical or not, both queries'[`status`](../../reference/functions/injectQuery.md) are updated (including`isFetching`,`isPending`, and other related values) because they have the same query key.
2727
- When the request completes successfully, the cache's data under the`['todos']` key is updated with the new data, and both instances are updated with the new data.
2828
- Both instances of the`injectQuery(() => ({ queryKey: ['todos'], queryFn: fetchTodos })` query are destroyed and no longer in use.
2929
- Since there are no more active instances of this query, a garbage collection timeout is set using`gcTime` to delete and garbage collect the query (defaults to**5 minutes**).
@@ -32,4 +32,4 @@ Let's assume we are using the default `gcTime` of **5 minutes** and the default
3232
- No more instances of`injectQuery(() => ({ queryKey: ['todos'], queryFn: fetchTodos })` appear within**5 minutes**.
3333
- The cached data under the`['todos']` key is deleted and garbage collected.
3434

35-
For more advanced use-cases, see[injectQuery](../../reference/functions/injectquery.md).
35+
For more advanced use-cases, see[injectQuery](../../reference/functions/injectQuery.md).

‎docs/framework/angular/overview.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,4 +109,4 @@ interface Response {
109109

110110
##You talked me into it, so what now?
111111

112-
- Learn TanStack Query at your own pace with our amazingly thorough[Walkthrough Guide](../installation.md) and[API Reference](../reference/functions/injectquery.md)
112+
- Learn TanStack Query at your own pace with our amazingly thorough[Walkthrough Guide](../installation.md) and[API Reference](../reference/functions/injectQuery.md)

‎docs/framework/angular/reference/functions/infinitequeryoptions.md‎renamed to ‎docs/framework/angular/reference/functions/infiniteQueryOptions.md‎

Lines changed: 54 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ id: infiniteQueryOptions
33
title:infiniteQueryOptions
44
---
55

6-
<!-- DO NOT EDIT: this page is autogenerated from the type comments-->
7-
86
#Function: infiniteQueryOptions()
97

108
Allows to share and re-use infinite query options in a type-safe way.
@@ -18,7 +16,7 @@ The infinite query options to tag with the type from `queryFn`.
1816
##Call Signature
1917

2018
```ts
21-
function infiniteQueryOptions<TQueryFnData,TError,TData,TQueryKey,TPageParam>(options):CreateInfiniteQueryOptions<TQueryFnData,TError,TData,TQueryKey,TPageParam>&object&object
19+
function infiniteQueryOptions<TQueryFnData,TError,TData,TQueryKey,TPageParam>(options):CreateInfiniteQueryOptions<TQueryFnData,TError,TData,TQueryKey,TPageParam>&object&object;
2220
```
2321

2422
Defined in:[infinite-query-options.ts:88](https://github.com/TanStack/query/blob/main/packages/angular-query-experimental/src/infinite-query-options.ts#L88)
@@ -29,40 +27,44 @@ The `queryKey` will be tagged with the type from `queryFn`.
2927

3028
###Type Parameters
3129

32-
**TQueryFnData**
30+
####TQueryFnData
31+
32+
`TQueryFnData`
33+
34+
####TError
35+
36+
`TError` =`Error`
3337

34-
**TError**=`Error`
38+
####TData
3539

36-
**TData**=`InfiniteData`\<`TQueryFnData`,`unknown`\>
40+
`TData` =`InfiniteData`\<`TQueryFnData`,`unknown`\>
3741

38-
**TQueryKey***extends*readonly`unknown`[]=readonly`unknown`[]
42+
####TQueryKey
3943

40-
**TPageParam**=`unknown`
44+
`TQueryKey`*extends* readonly`unknown`[] = readonly`unknown`[]
45+
46+
####TPageParam
47+
48+
`TPageParam` =`unknown`
4149

4250
###Parameters
4351

4452
####options
4553

46-
[`DefinedInitialDataInfiniteOptions`](../../type-aliases/definedinitialdatainfiniteoptions.md)\<`TQueryFnData`,`TError`,`TData`,`TQueryKey`,`TPageParam`\>
54+
[`DefinedInitialDataInfiniteOptions`](../../type-aliases/DefinedInitialDataInfiniteOptions.md)\<`TQueryFnData`,`TError`,`TData`,`TQueryKey`,`TPageParam`\>
4755

4856
The infinite query options to tag with the type from`queryFn`.
4957

5058
###Returns
5159

52-
[`CreateInfiniteQueryOptions`](../../interfaces/createinfinitequeryoptions.md)\<`TQueryFnData`,`TError`,`TData`,`TQueryKey`,`TPageParam`\>&`object`&`object`
53-
54-
Thetaggedinfinitequeryoptions.
60+
[`CreateInfiniteQueryOptions`](../../interfaces/CreateInfiniteQueryOptions.md)\<`TQueryFnData`,`TError`,`TData`,`TQueryKey`,`TPageParam`\> &`object` &`object`
5561

5662
The tagged infinite query options.
5763

58-
###Param
59-
60-
Theinfinitequeryoptionstotagwiththetypefrom`queryFn`.
61-
6264
##Call Signature
6365

6466
```ts
65-
function infiniteQueryOptions<TQueryFnData, TError, TData, TQueryKey, TPageParam>(options): OmitKeyof<CreateInfiniteQueryOptions<TQueryFnData, TError, TData, TQueryKey, TPageParam>, "queryFn"> & object & object
67+
function infiniteQueryOptions<TQueryFnData,TError,TData,TQueryKey,TPageParam>(options):OmitKeyof<CreateInfiniteQueryOptions<TQueryFnData,TError,TData,TQueryKey,TPageParam>,"queryFn">&object&object;
6668
```
6769

6870
Defined in:[infinite-query-options.ts:119](https://github.com/TanStack/query/blob/main/packages/angular-query-experimental/src/infinite-query-options.ts#L119)
@@ -73,40 +75,44 @@ The `queryKey` will be tagged with the type from `queryFn`.
7375

7476
###Type Parameters
7577

76-
**TQueryFnData**
78+
####TQueryFnData
79+
80+
`TQueryFnData`
81+
82+
####TError
83+
84+
`TError` =`Error`
85+
86+
####TData
87+
88+
`TData` =`InfiniteData`\<`TQueryFnData`,`unknown`\>
7789

78-
**TError**=`Error`
90+
####TQueryKey
7991

80-
**TData**=`InfiniteData`\<`TQueryFnData`,`unknown`\>
92+
`TQueryKey`*extends* readonly`unknown`[] = readonly`unknown`[]
8193

82-
**TQueryKey***extends*readonly`unknown`[]=readonly`unknown`[]
94+
####TPageParam
8395

84-
**TPageParam**=`unknown`
96+
`TPageParam` =`unknown`
8597

8698
###Parameters
8799

88100
####options
89101

90-
[`UnusedSkipTokenInfiniteOptions`](../../type-aliases/unusedskiptokeninfiniteoptions.md)\<`TQueryFnData`,`TError`,`TData`,`TQueryKey`,`TPageParam`\>
102+
[`UnusedSkipTokenInfiniteOptions`](../../type-aliases/UnusedSkipTokenInfiniteOptions.md)\<`TQueryFnData`,`TError`,`TData`,`TQueryKey`,`TPageParam`\>
91103

92104
The infinite query options to tag with the type from`queryFn`.
93105

94106
###Returns
95107

96-
`OmitKeyof`\<[`CreateInfiniteQueryOptions`](../../interfaces/createinfinitequeryoptions.md)\<`TQueryFnData`,`TError`,`TData`,`TQueryKey`,`TPageParam`\>,`"queryFn"`\>&`object`&`object`
108+
`OmitKeyof`\<[`CreateInfiniteQueryOptions`](../../interfaces/CreateInfiniteQueryOptions.md)\<`TQueryFnData`,`TError`,`TData`,`TQueryKey`,`TPageParam`\>,`"queryFn"`\> &`object` &`object`
97109

98110
The tagged infinite query options.
99111

100-
Thetaggedinfinitequeryoptions.
101-
102-
###Param
103-
104-
Theinfinitequeryoptionstotagwiththetypefrom`queryFn`.
105-
106112
##Call Signature
107113

108114
```ts
109-
function infiniteQueryOptions<TQueryFnData, TError, TData, TQueryKey, TPageParam>(options): CreateInfiniteQueryOptions<TQueryFnData, TError, TData, TQueryKey, TPageParam> & object & object
115+
function infiniteQueryOptions<TQueryFnData,TError,TData,TQueryKey,TPageParam>(options):CreateInfiniteQueryOptions<TQueryFnData,TError,TData,TQueryKey,TPageParam>&object&object;
110116
```
111117

112118
Defined in:[infinite-query-options.ts:150](https://github.com/TanStack/query/blob/main/packages/angular-query-experimental/src/infinite-query-options.ts#L150)
@@ -117,32 +123,36 @@ The `queryKey` will be tagged with the type from `queryFn`.
117123

118124
###Type Parameters
119125

120-
**TQueryFnData**
126+
####TQueryFnData
127+
128+
`TQueryFnData`
129+
130+
####TError
131+
132+
`TError` =`Error`
121133

122-
**TError**=`Error`
134+
####TData
123135

124-
**TData**=`InfiniteData`\<`TQueryFnData`,`unknown`\>
136+
`TData` =`InfiniteData`\<`TQueryFnData`,`unknown`\>
125137

126-
**TQueryKey***extends*readonly`unknown`[]=readonly`unknown`[]
138+
####TQueryKey
127139

128-
**TPageParam**=`unknown`
140+
`TQueryKey`*extends* readonly`unknown`[] = readonly`unknown`[]
141+
142+
####TPageParam
143+
144+
`TPageParam` =`unknown`
129145

130146
###Parameters
131147

132148
####options
133149

134-
[`UndefinedInitialDataInfiniteOptions`](../../type-aliases/undefinedinitialdatainfiniteoptions.md)\<`TQueryFnData`,`TError`,`TData`,`TQueryKey`,`TPageParam`\>
150+
[`UndefinedInitialDataInfiniteOptions`](../../type-aliases/UndefinedInitialDataInfiniteOptions.md)\<`TQueryFnData`,`TError`,`TData`,`TQueryKey`,`TPageParam`\>
135151

136152
The infinite query options to tag with the type from`queryFn`.
137153

138154
###Returns
139155

140-
[`CreateInfiniteQueryOptions`](../../interfaces/createinfinitequeryoptions.md)\<`TQueryFnData`,`TError`,`TData`,`TQueryKey`,`TPageParam`\>&`object`&`object`
141-
142-
Thetaggedinfinitequeryoptions.
156+
[`CreateInfiniteQueryOptions`](../../interfaces/CreateInfiniteQueryOptions.md)\<`TQueryFnData`,`TError`,`TData`,`TQueryKey`,`TPageParam`\> &`object` &`object`
143157

144158
The tagged infinite query options.
145-
146-
###Param
147-
148-
Theinfinitequeryoptionstotagwiththetypefrom`queryFn`.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp