@tanstack/react-query-devtools 4.0.2 → 4.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/packages/react-query-devtools/src/devtools.js +3 -16
- package/build/cjs/packages/react-query-devtools/src/devtools.js.map +1 -1
- package/build/cjs/packages/react-query-devtools/src/index.js +8 -4
- package/build/cjs/packages/react-query-devtools/src/index.js.map +1 -1
- package/build/cjs/packages/react-query-devtools/src/utils.js +13 -0
- package/build/cjs/packages/react-query-devtools/src/utils.js.map +1 -1
- package/build/esm/index.js +23 -16
- package/build/esm/index.js.map +1 -1
- package/build/esm/noop.js +7 -0
- package/build/stats-html.html +1 -1
- package/build/stats.json +156 -281
- package/build/types/react-query-devtools/src/__tests__/utils.d.ts +1 -1
- package/build/types/react-query-devtools/src/devtools.d.ts +2 -3
- package/build/types/react-query-devtools/src/index.d.ts +3 -1
- package/build/types/react-query-devtools/src/utils.d.ts +1 -0
- package/build/umd/index.development.js +18 -16
- package/build/umd/index.development.js.map +1 -1
- package/build/umd/index.production.js +1 -18
- package/build/umd/index.production.js.map +1 -1
- package/package.json +7 -1
- package/src/__tests__/devtools.test.tsx +1 -1
- package/src/__tests__/utils.tsx +1 -1
- package/src/devtools.tsx +2 -24
- package/src/index.ts +15 -1
- package/src/utils.ts +21 -0
package/build/stats-html.html
CHANGED
|
@@ -2669,7 +2669,7 @@ var drawChart = (function (exports) {
|
|
|
2669
2669
|
</script>
|
|
2670
2670
|
<script>
|
|
2671
2671
|
/*<!--*/
|
|
2672
|
-
const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.production.js","children":[{"
|
|
2672
|
+
const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.production.js","children":[{"name":"packages/react-query-devtools/src/index.ts","uid":"1eed-215"}]}],"isRoot":true},"nodeParts":{"1eed-215":{"renderedLength":136,"gzipLength":93,"brotliLength":0,"mainUid":"1eed-214"}},"nodeMetas":{"1eed-214":{"id":"/packages/react-query-devtools/src/index.ts","moduleParts":{"index.production.js":"1eed-215"},"imported":[{"uid":"1eed-216"}],"importedBy":[],"isEntry":true},"1eed-216":{"id":"/packages/react-query-devtools/src/devtools.tsx","moduleParts":{},"imported":[{"uid":"1eed-217"},{"uid":"1eed-218"},{"uid":"1eed-219"},{"uid":"1eed-220"},{"uid":"1eed-221"},{"uid":"1eed-222"},{"uid":"1eed-223"},{"uid":"1eed-224"},{"uid":"1eed-225"},{"uid":"1eed-226"},{"uid":"1eed-227"}],"importedBy":[{"uid":"1eed-214"}]},"1eed-217":{"id":"\u0000rollupPluginBabelHelpers.js","moduleParts":{},"imported":[],"importedBy":[{"uid":"1eed-216"},{"uid":"1eed-225"},{"uid":"1eed-226"},{"uid":"1eed-227"}]},"1eed-218":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"1eed-216"},{"uid":"1eed-222"},{"uid":"1eed-223"},{"uid":"1eed-225"},{"uid":"1eed-226"},{"uid":"1eed-227"},{"uid":"1eed-228"}],"isExternal":true},"1eed-219":{"id":"use-sync-external-store/shim","moduleParts":{},"imported":[],"importedBy":[{"uid":"1eed-216"}],"isExternal":true},"1eed-220":{"id":"@tanstack/react-query","moduleParts":{},"imported":[],"importedBy":[{"uid":"1eed-216"}],"isExternal":true},"1eed-221":{"id":"/node_modules/@tanstack/match-sorter-utils/build/esm/index.js","moduleParts":{},"imported":[],"importedBy":[{"uid":"1eed-216"}]},"1eed-222":{"id":"/packages/react-query-devtools/src/useLocalStorage.ts","moduleParts":{},"imported":[{"uid":"1eed-218"}],"importedBy":[{"uid":"1eed-216"}]},"1eed-223":{"id":"/packages/react-query-devtools/src/utils.ts","moduleParts":{},"imported":[{"uid":"1eed-218"},{"uid":"1eed-225"},{"uid":"1eed-228"}],"importedBy":[{"uid":"1eed-216"},{"uid":"1eed-224"},{"uid":"1eed-226"}]},"1eed-224":{"id":"/packages/react-query-devtools/src/styledComponents.ts","moduleParts":{},"imported":[{"uid":"1eed-223"}],"importedBy":[{"uid":"1eed-216"}]},"1eed-225":{"id":"/packages/react-query-devtools/src/theme.tsx","moduleParts":{},"imported":[{"uid":"1eed-217"},{"uid":"1eed-218"}],"importedBy":[{"uid":"1eed-216"},{"uid":"1eed-223"}]},"1eed-226":{"id":"/packages/react-query-devtools/src/Explorer.tsx","moduleParts":{},"imported":[{"uid":"1eed-217"},{"uid":"1eed-218"},{"uid":"1eed-223"}],"importedBy":[{"uid":"1eed-216"}]},"1eed-227":{"id":"/packages/react-query-devtools/src/Logo.tsx","moduleParts":{},"imported":[{"uid":"1eed-217"},{"uid":"1eed-218"}],"importedBy":[{"uid":"1eed-216"}]},"1eed-228":{"id":"/packages/react-query-devtools/src/useMediaQuery.ts","moduleParts":{},"imported":[{"uid":"1eed-218"}],"importedBy":[{"uid":"1eed-223"}]}},"env":{"rollup":"2.76.0"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
|
|
2673
2673
|
|
|
2674
2674
|
const run = () => {
|
|
2675
2675
|
const width = window.innerWidth;
|
package/build/stats.json
CHANGED
|
@@ -7,53 +7,8 @@
|
|
|
7
7
|
"name": "index.production.js",
|
|
8
8
|
"children": [
|
|
9
9
|
{
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
"name": "node_modules/@tanstack/match-sorter-utils/build/esm/index.js",
|
|
15
|
-
"uid": "00f1-242"
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"name": "packages/react-query-devtools/src",
|
|
19
|
-
"children": [
|
|
20
|
-
{
|
|
21
|
-
"uid": "00f1-244",
|
|
22
|
-
"name": "useLocalStorage.ts"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"uid": "00f1-246",
|
|
26
|
-
"name": "theme.tsx"
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"uid": "00f1-248",
|
|
30
|
-
"name": "useMediaQuery.ts"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"uid": "00f1-250",
|
|
34
|
-
"name": "utils.ts"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"uid": "00f1-252",
|
|
38
|
-
"name": "styledComponents.ts"
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"uid": "00f1-254",
|
|
42
|
-
"name": "Explorer.tsx"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"uid": "00f1-256",
|
|
46
|
-
"name": "Logo.tsx"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
"uid": "00f1-258",
|
|
50
|
-
"name": "devtools.tsx"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"uid": "00f1-260",
|
|
54
|
-
"name": "index.ts"
|
|
55
|
-
}
|
|
56
|
-
]
|
|
10
|
+
"name": "packages/react-query-devtools/src/index.ts",
|
|
11
|
+
"uid": "1eed-230"
|
|
57
12
|
}
|
|
58
13
|
]
|
|
59
14
|
}
|
|
@@ -61,355 +16,275 @@
|
|
|
61
16
|
"isRoot": true
|
|
62
17
|
},
|
|
63
18
|
"nodeParts": {
|
|
64
|
-
"
|
|
65
|
-
"renderedLength":
|
|
66
|
-
"gzipLength":
|
|
67
|
-
"brotliLength": 0,
|
|
68
|
-
"mainUid": "00f1-239"
|
|
69
|
-
},
|
|
70
|
-
"00f1-242": {
|
|
71
|
-
"renderedLength": 15355,
|
|
72
|
-
"gzipLength": 4575,
|
|
73
|
-
"brotliLength": 0,
|
|
74
|
-
"mainUid": "00f1-241"
|
|
75
|
-
},
|
|
76
|
-
"00f1-244": {
|
|
77
|
-
"renderedLength": 1063,
|
|
78
|
-
"gzipLength": 411,
|
|
79
|
-
"brotliLength": 0,
|
|
80
|
-
"mainUid": "00f1-243"
|
|
81
|
-
},
|
|
82
|
-
"00f1-246": {
|
|
83
|
-
"renderedLength": 682,
|
|
84
|
-
"gzipLength": 351,
|
|
85
|
-
"brotliLength": 0,
|
|
86
|
-
"mainUid": "00f1-245"
|
|
87
|
-
},
|
|
88
|
-
"00f1-248": {
|
|
89
|
-
"renderedLength": 821,
|
|
90
|
-
"gzipLength": 363,
|
|
91
|
-
"brotliLength": 0,
|
|
92
|
-
"mainUid": "00f1-247"
|
|
93
|
-
},
|
|
94
|
-
"00f1-250": {
|
|
95
|
-
"renderedLength": 2045,
|
|
96
|
-
"gzipLength": 831,
|
|
97
|
-
"brotliLength": 0,
|
|
98
|
-
"mainUid": "00f1-249"
|
|
99
|
-
},
|
|
100
|
-
"00f1-252": {
|
|
101
|
-
"renderedLength": 2420,
|
|
102
|
-
"gzipLength": 864,
|
|
103
|
-
"brotliLength": 0,
|
|
104
|
-
"mainUid": "00f1-251"
|
|
105
|
-
},
|
|
106
|
-
"00f1-254": {
|
|
107
|
-
"renderedLength": 5578,
|
|
108
|
-
"gzipLength": 1707,
|
|
109
|
-
"brotliLength": 0,
|
|
110
|
-
"mainUid": "00f1-253"
|
|
111
|
-
},
|
|
112
|
-
"00f1-256": {
|
|
113
|
-
"renderedLength": 9512,
|
|
114
|
-
"gzipLength": 4254,
|
|
115
|
-
"brotliLength": 0,
|
|
116
|
-
"mainUid": "00f1-255"
|
|
117
|
-
},
|
|
118
|
-
"00f1-258": {
|
|
119
|
-
"renderedLength": 28952,
|
|
120
|
-
"gzipLength": 5568,
|
|
19
|
+
"1eed-230": {
|
|
20
|
+
"renderedLength": 136,
|
|
21
|
+
"gzipLength": 93,
|
|
121
22
|
"brotliLength": 0,
|
|
122
|
-
"mainUid": "
|
|
123
|
-
},
|
|
124
|
-
"00f1-260": {
|
|
125
|
-
"renderedLength": 0,
|
|
126
|
-
"gzipLength": 0,
|
|
127
|
-
"brotliLength": 0,
|
|
128
|
-
"mainUid": "00f1-259"
|
|
23
|
+
"mainUid": "1eed-229"
|
|
129
24
|
}
|
|
130
25
|
},
|
|
131
26
|
"nodeMetas": {
|
|
132
|
-
"
|
|
133
|
-
"id": "
|
|
27
|
+
"1eed-229": {
|
|
28
|
+
"id": "/packages/react-query-devtools/src/index.ts",
|
|
134
29
|
"moduleParts": {
|
|
135
|
-
"index.production.js": "
|
|
30
|
+
"index.production.js": "1eed-230"
|
|
136
31
|
},
|
|
137
|
-
"imported": [
|
|
138
|
-
"importedBy": [
|
|
32
|
+
"imported": [
|
|
139
33
|
{
|
|
140
|
-
"uid": "
|
|
34
|
+
"uid": "1eed-231"
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"importedBy": [],
|
|
38
|
+
"isEntry": true
|
|
39
|
+
},
|
|
40
|
+
"1eed-231": {
|
|
41
|
+
"id": "/packages/react-query-devtools/src/devtools.tsx",
|
|
42
|
+
"moduleParts": {},
|
|
43
|
+
"imported": [
|
|
44
|
+
{
|
|
45
|
+
"uid": "1eed-232"
|
|
141
46
|
},
|
|
142
47
|
{
|
|
143
|
-
"uid": "
|
|
48
|
+
"uid": "1eed-233"
|
|
144
49
|
},
|
|
145
50
|
{
|
|
146
|
-
"uid": "
|
|
51
|
+
"uid": "1eed-234"
|
|
147
52
|
},
|
|
148
53
|
{
|
|
149
|
-
"uid": "
|
|
54
|
+
"uid": "1eed-235"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"uid": "1eed-236"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"uid": "1eed-237"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"uid": "1eed-238"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"uid": "1eed-239"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"uid": "1eed-240"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"uid": "1eed-241"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"uid": "1eed-242"
|
|
76
|
+
}
|
|
77
|
+
],
|
|
78
|
+
"importedBy": [
|
|
79
|
+
{
|
|
80
|
+
"uid": "1eed-229"
|
|
150
81
|
}
|
|
151
82
|
]
|
|
152
83
|
},
|
|
153
|
-
"
|
|
154
|
-
"id": "
|
|
155
|
-
"moduleParts": {
|
|
156
|
-
"index.production.js": "00f1-242"
|
|
157
|
-
},
|
|
84
|
+
"1eed-232": {
|
|
85
|
+
"id": "\u0000rollupPluginBabelHelpers.js",
|
|
86
|
+
"moduleParts": {},
|
|
158
87
|
"imported": [],
|
|
159
88
|
"importedBy": [
|
|
160
89
|
{
|
|
161
|
-
"uid": "
|
|
90
|
+
"uid": "1eed-231"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"uid": "1eed-240"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"uid": "1eed-241"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"uid": "1eed-242"
|
|
162
100
|
}
|
|
163
101
|
]
|
|
164
102
|
},
|
|
165
|
-
"
|
|
166
|
-
"id": "
|
|
167
|
-
"moduleParts": {
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
103
|
+
"1eed-233": {
|
|
104
|
+
"id": "react",
|
|
105
|
+
"moduleParts": {},
|
|
106
|
+
"imported": [],
|
|
107
|
+
"importedBy": [
|
|
108
|
+
{
|
|
109
|
+
"uid": "1eed-231"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"uid": "1eed-237"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"uid": "1eed-238"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"uid": "1eed-240"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"uid": "1eed-241"
|
|
122
|
+
},
|
|
171
123
|
{
|
|
172
|
-
"uid": "
|
|
124
|
+
"uid": "1eed-242"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"uid": "1eed-243"
|
|
173
128
|
}
|
|
174
129
|
],
|
|
130
|
+
"isExternal": true
|
|
131
|
+
},
|
|
132
|
+
"1eed-234": {
|
|
133
|
+
"id": "use-sync-external-store/shim",
|
|
134
|
+
"moduleParts": {},
|
|
135
|
+
"imported": [],
|
|
175
136
|
"importedBy": [
|
|
176
137
|
{
|
|
177
|
-
"uid": "
|
|
138
|
+
"uid": "1eed-231"
|
|
178
139
|
}
|
|
179
|
-
]
|
|
140
|
+
],
|
|
141
|
+
"isExternal": true
|
|
180
142
|
},
|
|
181
|
-
"
|
|
182
|
-
"id": "/
|
|
183
|
-
"moduleParts": {
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
"imported": [
|
|
187
|
-
{
|
|
188
|
-
"uid": "00f1-239"
|
|
189
|
-
},
|
|
143
|
+
"1eed-235": {
|
|
144
|
+
"id": "@tanstack/react-query",
|
|
145
|
+
"moduleParts": {},
|
|
146
|
+
"imported": [],
|
|
147
|
+
"importedBy": [
|
|
190
148
|
{
|
|
191
|
-
"uid": "
|
|
149
|
+
"uid": "1eed-231"
|
|
192
150
|
}
|
|
193
151
|
],
|
|
152
|
+
"isExternal": true
|
|
153
|
+
},
|
|
154
|
+
"1eed-236": {
|
|
155
|
+
"id": "/node_modules/@tanstack/match-sorter-utils/build/esm/index.js",
|
|
156
|
+
"moduleParts": {},
|
|
157
|
+
"imported": [],
|
|
194
158
|
"importedBy": [
|
|
195
159
|
{
|
|
196
|
-
"uid": "
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
"uid": "00f1-249"
|
|
160
|
+
"uid": "1eed-231"
|
|
200
161
|
}
|
|
201
162
|
]
|
|
202
163
|
},
|
|
203
|
-
"
|
|
204
|
-
"id": "/packages/react-query-devtools/src/
|
|
205
|
-
"moduleParts": {
|
|
206
|
-
"index.production.js": "00f1-248"
|
|
207
|
-
},
|
|
164
|
+
"1eed-237": {
|
|
165
|
+
"id": "/packages/react-query-devtools/src/useLocalStorage.ts",
|
|
166
|
+
"moduleParts": {},
|
|
208
167
|
"imported": [
|
|
209
168
|
{
|
|
210
|
-
"uid": "
|
|
169
|
+
"uid": "1eed-233"
|
|
211
170
|
}
|
|
212
171
|
],
|
|
213
172
|
"importedBy": [
|
|
214
173
|
{
|
|
215
|
-
"uid": "
|
|
174
|
+
"uid": "1eed-231"
|
|
216
175
|
}
|
|
217
176
|
]
|
|
218
177
|
},
|
|
219
|
-
"
|
|
178
|
+
"1eed-238": {
|
|
220
179
|
"id": "/packages/react-query-devtools/src/utils.ts",
|
|
221
|
-
"moduleParts": {
|
|
222
|
-
"index.production.js": "00f1-250"
|
|
223
|
-
},
|
|
180
|
+
"moduleParts": {},
|
|
224
181
|
"imported": [
|
|
225
182
|
{
|
|
226
|
-
"uid": "
|
|
183
|
+
"uid": "1eed-233"
|
|
227
184
|
},
|
|
228
185
|
{
|
|
229
|
-
"uid": "
|
|
186
|
+
"uid": "1eed-240"
|
|
230
187
|
},
|
|
231
188
|
{
|
|
232
|
-
"uid": "
|
|
189
|
+
"uid": "1eed-243"
|
|
233
190
|
}
|
|
234
191
|
],
|
|
235
192
|
"importedBy": [
|
|
236
193
|
{
|
|
237
|
-
"uid": "
|
|
194
|
+
"uid": "1eed-231"
|
|
238
195
|
},
|
|
239
196
|
{
|
|
240
|
-
"uid": "
|
|
197
|
+
"uid": "1eed-239"
|
|
241
198
|
},
|
|
242
199
|
{
|
|
243
|
-
"uid": "
|
|
200
|
+
"uid": "1eed-241"
|
|
244
201
|
}
|
|
245
202
|
]
|
|
246
203
|
},
|
|
247
|
-
"
|
|
204
|
+
"1eed-239": {
|
|
248
205
|
"id": "/packages/react-query-devtools/src/styledComponents.ts",
|
|
249
|
-
"moduleParts": {
|
|
250
|
-
"index.production.js": "00f1-252"
|
|
251
|
-
},
|
|
206
|
+
"moduleParts": {},
|
|
252
207
|
"imported": [
|
|
253
208
|
{
|
|
254
|
-
"uid": "
|
|
209
|
+
"uid": "1eed-238"
|
|
255
210
|
}
|
|
256
211
|
],
|
|
257
212
|
"importedBy": [
|
|
258
213
|
{
|
|
259
|
-
"uid": "
|
|
214
|
+
"uid": "1eed-231"
|
|
260
215
|
}
|
|
261
216
|
]
|
|
262
217
|
},
|
|
263
|
-
"
|
|
264
|
-
"id": "/packages/react-query-devtools/src/
|
|
265
|
-
"moduleParts": {
|
|
266
|
-
"index.production.js": "00f1-254"
|
|
267
|
-
},
|
|
218
|
+
"1eed-240": {
|
|
219
|
+
"id": "/packages/react-query-devtools/src/theme.tsx",
|
|
220
|
+
"moduleParts": {},
|
|
268
221
|
"imported": [
|
|
269
222
|
{
|
|
270
|
-
"uid": "
|
|
223
|
+
"uid": "1eed-232"
|
|
271
224
|
},
|
|
272
225
|
{
|
|
273
|
-
"uid": "
|
|
274
|
-
},
|
|
275
|
-
{
|
|
276
|
-
"uid": "00f1-249"
|
|
226
|
+
"uid": "1eed-233"
|
|
277
227
|
}
|
|
278
228
|
],
|
|
279
229
|
"importedBy": [
|
|
280
230
|
{
|
|
281
|
-
"uid": "
|
|
282
|
-
}
|
|
283
|
-
]
|
|
284
|
-
},
|
|
285
|
-
"00f1-255": {
|
|
286
|
-
"id": "/packages/react-query-devtools/src/Logo.tsx",
|
|
287
|
-
"moduleParts": {
|
|
288
|
-
"index.production.js": "00f1-256"
|
|
289
|
-
},
|
|
290
|
-
"imported": [
|
|
291
|
-
{
|
|
292
|
-
"uid": "00f1-239"
|
|
231
|
+
"uid": "1eed-231"
|
|
293
232
|
},
|
|
294
233
|
{
|
|
295
|
-
"uid": "
|
|
296
|
-
}
|
|
297
|
-
],
|
|
298
|
-
"importedBy": [
|
|
299
|
-
{
|
|
300
|
-
"uid": "00f1-257"
|
|
234
|
+
"uid": "1eed-238"
|
|
301
235
|
}
|
|
302
236
|
]
|
|
303
237
|
},
|
|
304
|
-
"
|
|
305
|
-
"id": "/packages/react-query-devtools/src/
|
|
306
|
-
"moduleParts": {
|
|
307
|
-
"index.production.js": "00f1-258"
|
|
308
|
-
},
|
|
238
|
+
"1eed-241": {
|
|
239
|
+
"id": "/packages/react-query-devtools/src/Explorer.tsx",
|
|
240
|
+
"moduleParts": {},
|
|
309
241
|
"imported": [
|
|
310
242
|
{
|
|
311
|
-
"uid": "
|
|
312
|
-
},
|
|
313
|
-
{
|
|
314
|
-
"uid": "00f1-261"
|
|
315
|
-
},
|
|
316
|
-
{
|
|
317
|
-
"uid": "00f1-262"
|
|
243
|
+
"uid": "1eed-232"
|
|
318
244
|
},
|
|
319
245
|
{
|
|
320
|
-
"uid": "
|
|
246
|
+
"uid": "1eed-233"
|
|
321
247
|
},
|
|
322
248
|
{
|
|
323
|
-
"uid": "
|
|
324
|
-
},
|
|
325
|
-
{
|
|
326
|
-
"uid": "00f1-243"
|
|
327
|
-
},
|
|
328
|
-
{
|
|
329
|
-
"uid": "00f1-249"
|
|
330
|
-
},
|
|
331
|
-
{
|
|
332
|
-
"uid": "00f1-251"
|
|
333
|
-
},
|
|
334
|
-
{
|
|
335
|
-
"uid": "00f1-245"
|
|
336
|
-
},
|
|
337
|
-
{
|
|
338
|
-
"uid": "00f1-253"
|
|
339
|
-
},
|
|
340
|
-
{
|
|
341
|
-
"uid": "00f1-255"
|
|
249
|
+
"uid": "1eed-238"
|
|
342
250
|
}
|
|
343
251
|
],
|
|
344
252
|
"importedBy": [
|
|
345
253
|
{
|
|
346
|
-
"uid": "
|
|
254
|
+
"uid": "1eed-231"
|
|
347
255
|
}
|
|
348
256
|
]
|
|
349
257
|
},
|
|
350
|
-
"
|
|
351
|
-
"id": "/packages/react-query-devtools/src/
|
|
352
|
-
"moduleParts": {
|
|
353
|
-
"index.production.js": "00f1-260"
|
|
354
|
-
},
|
|
258
|
+
"1eed-242": {
|
|
259
|
+
"id": "/packages/react-query-devtools/src/Logo.tsx",
|
|
260
|
+
"moduleParts": {},
|
|
355
261
|
"imported": [
|
|
356
262
|
{
|
|
357
|
-
"uid": "
|
|
263
|
+
"uid": "1eed-232"
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"uid": "1eed-233"
|
|
358
267
|
}
|
|
359
268
|
],
|
|
360
|
-
"importedBy": [],
|
|
361
|
-
"isEntry": true
|
|
362
|
-
},
|
|
363
|
-
"00f1-261": {
|
|
364
|
-
"id": "react",
|
|
365
|
-
"moduleParts": {},
|
|
366
|
-
"imported": [],
|
|
367
269
|
"importedBy": [
|
|
368
270
|
{
|
|
369
|
-
"uid": "
|
|
370
|
-
},
|
|
371
|
-
{
|
|
372
|
-
"uid": "00f1-243"
|
|
373
|
-
},
|
|
374
|
-
{
|
|
375
|
-
"uid": "00f1-249"
|
|
376
|
-
},
|
|
377
|
-
{
|
|
378
|
-
"uid": "00f1-245"
|
|
379
|
-
},
|
|
380
|
-
{
|
|
381
|
-
"uid": "00f1-253"
|
|
382
|
-
},
|
|
383
|
-
{
|
|
384
|
-
"uid": "00f1-255"
|
|
385
|
-
},
|
|
386
|
-
{
|
|
387
|
-
"uid": "00f1-247"
|
|
271
|
+
"uid": "1eed-231"
|
|
388
272
|
}
|
|
389
|
-
]
|
|
390
|
-
"isExternal": true
|
|
273
|
+
]
|
|
391
274
|
},
|
|
392
|
-
"
|
|
393
|
-
"id": "
|
|
275
|
+
"1eed-243": {
|
|
276
|
+
"id": "/packages/react-query-devtools/src/useMediaQuery.ts",
|
|
394
277
|
"moduleParts": {},
|
|
395
|
-
"imported": [
|
|
396
|
-
"importedBy": [
|
|
278
|
+
"imported": [
|
|
397
279
|
{
|
|
398
|
-
"uid": "
|
|
280
|
+
"uid": "1eed-233"
|
|
399
281
|
}
|
|
400
282
|
],
|
|
401
|
-
"isExternal": true
|
|
402
|
-
},
|
|
403
|
-
"00f1-263": {
|
|
404
|
-
"id": "@tanstack/react-query",
|
|
405
|
-
"moduleParts": {},
|
|
406
|
-
"imported": [],
|
|
407
283
|
"importedBy": [
|
|
408
284
|
{
|
|
409
|
-
"uid": "
|
|
285
|
+
"uid": "1eed-238"
|
|
410
286
|
}
|
|
411
|
-
]
|
|
412
|
-
"isExternal": true
|
|
287
|
+
]
|
|
413
288
|
}
|
|
414
289
|
},
|
|
415
290
|
"env": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MatcherFunction } from '@testing-library/dom/types/matches';
|
|
2
2
|
import { render } from '@testing-library/react';
|
|
3
3
|
import * as React from 'react';
|
|
4
|
-
import { ReactQueryDevtools } from '
|
|
4
|
+
import { ReactQueryDevtools } from '../devtools';
|
|
5
5
|
import { QueryClient, QueryCache } from '@tanstack/react-query';
|
|
6
6
|
export declare function renderWithClient(client: QueryClient, ui: React.ReactElement, devtoolsOptions?: Parameters<typeof ReactQueryDevtools>[number]): ReturnType<typeof render>;
|
|
7
7
|
export declare function sleep(timeout: number): Promise<void>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
interface DevtoolsOptions extends ContextOptions {
|
|
2
|
+
import { ContextOptions } from '@tanstack/react-query';
|
|
3
|
+
export interface DevtoolsOptions extends ContextOptions {
|
|
4
4
|
/**
|
|
5
5
|
* Set this true if you want the dev tools to default to being open
|
|
6
6
|
*/
|
|
@@ -60,6 +60,5 @@ interface DevtoolsPanelOptions extends ContextOptions {
|
|
|
60
60
|
handleDragStart: (e: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
61
61
|
}
|
|
62
62
|
export declare function ReactQueryDevtools({ initialIsOpen, panelProps, closeButtonProps, toggleButtonProps, position, containerElement: Container, context, styleNonce, }: DevtoolsOptions): React.ReactElement | null;
|
|
63
|
-
export declare const sortFns: Record<string, (a: Query, b: Query) => number>;
|
|
64
63
|
export declare const ReactQueryDevtoolsPanel: React.ForwardRefExoticComponent<DevtoolsPanelOptions & React.RefAttributes<HTMLDivElement>>;
|
|
65
64
|
export {};
|
|
@@ -18,4 +18,5 @@ export declare function useIsMounted(): () => boolean;
|
|
|
18
18
|
* @param {unknown} value Value to be stringified
|
|
19
19
|
*/
|
|
20
20
|
export declare const displayValue: (value: unknown) => string;
|
|
21
|
+
export declare const sortFns: Record<string, (a: Query, b: Query) => number>;
|
|
21
22
|
export {};
|