@tanstack/query-devtools 5.90.1 → 5.91.0
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/DevtoolsComponent/{NCMVHL6D.js → 3Y4HR3WR.js} +1 -1
- package/build/DevtoolsComponent/{6ELMOJL2.js → TO44TVBA.js} +1 -1
- package/build/DevtoolsPanelComponent/{2AITGKQY.js → NZQXYXX4.js} +1 -1
- package/build/DevtoolsPanelComponent/{PULY4AJ7.js → YK4QRCEX.js} +1 -1
- package/build/dev.cjs +24 -4
- package/build/dev.js +24 -4
- package/build/index.cjs +24 -4
- package/build/index.d.cts +5 -1
- package/build/index.d.ts +5 -1
- package/build/index.js +24 -4
- package/package.json +2 -2
- package/src/DevtoolsComponent.tsx +4 -4
- package/src/DevtoolsPanelComponent.tsx +4 -4
- package/src/TanstackQueryDevtools.tsx +12 -0
- package/src/TanstackQueryDevtoolsPanel.tsx +12 -0
- package/src/contexts/QueryDevtoolsContext.ts +2 -0
- package/src/index.ts +1 -0
|
@@ -8,7 +8,7 @@ var DevtoolsComponent = (props) => {
|
|
|
8
8
|
});
|
|
9
9
|
const colorScheme = getPreferredColorScheme();
|
|
10
10
|
const theme = createMemo(() => {
|
|
11
|
-
const preference = localStore.theme_preference || THEME_PREFERENCE;
|
|
11
|
+
const preference = props.theme || localStore.theme_preference || THEME_PREFERENCE;
|
|
12
12
|
if (preference !== "system") return preference;
|
|
13
13
|
return colorScheme();
|
|
14
14
|
});
|
|
@@ -8,7 +8,7 @@ var DevtoolsComponent = (props) => {
|
|
|
8
8
|
});
|
|
9
9
|
const colorScheme = getPreferredColorScheme();
|
|
10
10
|
const theme = createMemo(() => {
|
|
11
|
-
const preference = localStore.theme_preference || THEME_PREFERENCE;
|
|
11
|
+
const preference = props.theme || localStore.theme_preference || THEME_PREFERENCE;
|
|
12
12
|
if (preference !== "system") return preference;
|
|
13
13
|
return colorScheme();
|
|
14
14
|
});
|
|
@@ -8,7 +8,7 @@ var DevtoolsPanelComponent = (props) => {
|
|
|
8
8
|
});
|
|
9
9
|
const colorScheme = getPreferredColorScheme();
|
|
10
10
|
const theme = createMemo(() => {
|
|
11
|
-
const preference = localStore.theme_preference || THEME_PREFERENCE;
|
|
11
|
+
const preference = props.theme || localStore.theme_preference || THEME_PREFERENCE;
|
|
12
12
|
if (preference !== "system") return preference;
|
|
13
13
|
return colorScheme();
|
|
14
14
|
});
|
|
@@ -8,7 +8,7 @@ var DevtoolsPanelComponent = (props) => {
|
|
|
8
8
|
});
|
|
9
9
|
const colorScheme = getPreferredColorScheme();
|
|
10
10
|
const theme = createMemo(() => {
|
|
11
|
-
const preference = localStore.theme_preference || THEME_PREFERENCE;
|
|
11
|
+
const preference = props.theme || localStore.theme_preference || THEME_PREFERENCE;
|
|
12
12
|
if (preference !== "system") return preference;
|
|
13
13
|
return colorScheme();
|
|
14
14
|
});
|
package/build/dev.cjs
CHANGED
|
@@ -15936,7 +15936,7 @@ var init_DevtoolsComponent = __esm({
|
|
|
15936
15936
|
});
|
|
15937
15937
|
const colorScheme = getPreferredColorScheme();
|
|
15938
15938
|
const theme = createMemo(() => {
|
|
15939
|
-
const preference = localStore.theme_preference || THEME_PREFERENCE;
|
|
15939
|
+
const preference = props.theme || localStore.theme_preference || THEME_PREFERENCE;
|
|
15940
15940
|
if (preference !== "system") return preference;
|
|
15941
15941
|
return colorScheme();
|
|
15942
15942
|
});
|
|
@@ -15986,7 +15986,7 @@ var init_DevtoolsPanelComponent = __esm({
|
|
|
15986
15986
|
});
|
|
15987
15987
|
const colorScheme = getPreferredColorScheme();
|
|
15988
15988
|
const theme = createMemo(() => {
|
|
15989
|
-
const preference = localStore.theme_preference || THEME_PREFERENCE;
|
|
15989
|
+
const preference = props.theme || localStore.theme_preference || THEME_PREFERENCE;
|
|
15990
15990
|
if (preference !== "system") return preference;
|
|
15991
15991
|
return colorScheme();
|
|
15992
15992
|
});
|
|
@@ -16044,6 +16044,7 @@ exports.TanstackQueryDevtools = class TanstackQueryDevtools {
|
|
|
16044
16044
|
#errorTypes;
|
|
16045
16045
|
#hideDisabledQueries;
|
|
16046
16046
|
#Component;
|
|
16047
|
+
#theme;
|
|
16047
16048
|
#dispose;
|
|
16048
16049
|
constructor(config) {
|
|
16049
16050
|
const {
|
|
@@ -16057,7 +16058,8 @@ exports.TanstackQueryDevtools = class TanstackQueryDevtools {
|
|
|
16057
16058
|
errorTypes,
|
|
16058
16059
|
styleNonce,
|
|
16059
16060
|
shadowDOMTarget,
|
|
16060
|
-
hideDisabledQueries
|
|
16061
|
+
hideDisabledQueries,
|
|
16062
|
+
theme
|
|
16061
16063
|
} = config;
|
|
16062
16064
|
this.#client = createSignal(client);
|
|
16063
16065
|
this.#queryFlavor = queryFlavor;
|
|
@@ -16070,6 +16072,7 @@ exports.TanstackQueryDevtools = class TanstackQueryDevtools {
|
|
|
16070
16072
|
this.#initialIsOpen = createSignal(initialIsOpen);
|
|
16071
16073
|
this.#errorTypes = createSignal(errorTypes);
|
|
16072
16074
|
this.#hideDisabledQueries = createSignal(hideDisabledQueries);
|
|
16075
|
+
this.#theme = createSignal(theme);
|
|
16073
16076
|
}
|
|
16074
16077
|
setButtonPosition(position) {
|
|
16075
16078
|
this.#buttonPosition[1](position);
|
|
@@ -16086,6 +16089,9 @@ exports.TanstackQueryDevtools = class TanstackQueryDevtools {
|
|
|
16086
16089
|
setClient(client) {
|
|
16087
16090
|
this.#client[1](client);
|
|
16088
16091
|
}
|
|
16092
|
+
setTheme(theme) {
|
|
16093
|
+
this.#theme[1](theme);
|
|
16094
|
+
}
|
|
16089
16095
|
mount(el) {
|
|
16090
16096
|
if (this.#isMounted) {
|
|
16091
16097
|
throw new Error("Devtools is already mounted");
|
|
@@ -16098,6 +16104,7 @@ exports.TanstackQueryDevtools = class TanstackQueryDevtools {
|
|
|
16098
16104
|
const [errors] = this.#errorTypes;
|
|
16099
16105
|
const [hideDisabledQueries] = this.#hideDisabledQueries;
|
|
16100
16106
|
const [queryClient] = this.#client;
|
|
16107
|
+
const [theme] = this.#theme;
|
|
16101
16108
|
let Devtools2;
|
|
16102
16109
|
if (this.#Component) {
|
|
16103
16110
|
Devtools2 = this.#Component;
|
|
@@ -16137,6 +16144,9 @@ exports.TanstackQueryDevtools = class TanstackQueryDevtools {
|
|
|
16137
16144
|
},
|
|
16138
16145
|
get hideDisabledQueries() {
|
|
16139
16146
|
return hideDisabledQueries();
|
|
16147
|
+
},
|
|
16148
|
+
get theme() {
|
|
16149
|
+
return theme();
|
|
16140
16150
|
}
|
|
16141
16151
|
}));
|
|
16142
16152
|
}, el);
|
|
@@ -16173,6 +16183,7 @@ exports.TanstackQueryDevtoolsPanel = class TanstackQueryDevtoolsPanel {
|
|
|
16173
16183
|
#hideDisabledQueries;
|
|
16174
16184
|
#onClose;
|
|
16175
16185
|
#Component;
|
|
16186
|
+
#theme;
|
|
16176
16187
|
#dispose;
|
|
16177
16188
|
constructor(config) {
|
|
16178
16189
|
const {
|
|
@@ -16187,7 +16198,8 @@ exports.TanstackQueryDevtoolsPanel = class TanstackQueryDevtoolsPanel {
|
|
|
16187
16198
|
styleNonce,
|
|
16188
16199
|
shadowDOMTarget,
|
|
16189
16200
|
onClose,
|
|
16190
|
-
hideDisabledQueries
|
|
16201
|
+
hideDisabledQueries,
|
|
16202
|
+
theme
|
|
16191
16203
|
} = config;
|
|
16192
16204
|
this.#client = createSignal(client);
|
|
16193
16205
|
this.#queryFlavor = queryFlavor;
|
|
@@ -16201,6 +16213,7 @@ exports.TanstackQueryDevtoolsPanel = class TanstackQueryDevtoolsPanel {
|
|
|
16201
16213
|
this.#errorTypes = createSignal(errorTypes);
|
|
16202
16214
|
this.#hideDisabledQueries = createSignal(hideDisabledQueries);
|
|
16203
16215
|
this.#onClose = createSignal(onClose);
|
|
16216
|
+
this.#theme = createSignal(theme);
|
|
16204
16217
|
}
|
|
16205
16218
|
setButtonPosition(position) {
|
|
16206
16219
|
this.#buttonPosition[1](position);
|
|
@@ -16220,6 +16233,9 @@ exports.TanstackQueryDevtoolsPanel = class TanstackQueryDevtoolsPanel {
|
|
|
16220
16233
|
setOnClose(onClose) {
|
|
16221
16234
|
this.#onClose[1](() => onClose);
|
|
16222
16235
|
}
|
|
16236
|
+
setTheme(theme) {
|
|
16237
|
+
this.#theme[1](theme);
|
|
16238
|
+
}
|
|
16223
16239
|
mount(el) {
|
|
16224
16240
|
if (this.#isMounted) {
|
|
16225
16241
|
throw new Error("Devtools is already mounted");
|
|
@@ -16233,6 +16249,7 @@ exports.TanstackQueryDevtoolsPanel = class TanstackQueryDevtoolsPanel {
|
|
|
16233
16249
|
const [hideDisabledQueries] = this.#hideDisabledQueries;
|
|
16234
16250
|
const [queryClient] = this.#client;
|
|
16235
16251
|
const [onClose] = this.#onClose;
|
|
16252
|
+
const [theme] = this.#theme;
|
|
16236
16253
|
let Devtools2;
|
|
16237
16254
|
if (this.#Component) {
|
|
16238
16255
|
Devtools2 = this.#Component;
|
|
@@ -16275,6 +16292,9 @@ exports.TanstackQueryDevtoolsPanel = class TanstackQueryDevtoolsPanel {
|
|
|
16275
16292
|
},
|
|
16276
16293
|
get onClose() {
|
|
16277
16294
|
return onClose();
|
|
16295
|
+
},
|
|
16296
|
+
get theme() {
|
|
16297
|
+
return theme();
|
|
16278
16298
|
}
|
|
16279
16299
|
}));
|
|
16280
16300
|
}, el);
|
package/build/dev.js
CHANGED
|
@@ -15,6 +15,7 @@ var TanstackQueryDevtools = class {
|
|
|
15
15
|
#errorTypes;
|
|
16
16
|
#hideDisabledQueries;
|
|
17
17
|
#Component;
|
|
18
|
+
#theme;
|
|
18
19
|
#dispose;
|
|
19
20
|
constructor(config) {
|
|
20
21
|
const {
|
|
@@ -28,7 +29,8 @@ var TanstackQueryDevtools = class {
|
|
|
28
29
|
errorTypes,
|
|
29
30
|
styleNonce,
|
|
30
31
|
shadowDOMTarget,
|
|
31
|
-
hideDisabledQueries
|
|
32
|
+
hideDisabledQueries,
|
|
33
|
+
theme
|
|
32
34
|
} = config;
|
|
33
35
|
this.#client = createSignal(client);
|
|
34
36
|
this.#queryFlavor = queryFlavor;
|
|
@@ -41,6 +43,7 @@ var TanstackQueryDevtools = class {
|
|
|
41
43
|
this.#initialIsOpen = createSignal(initialIsOpen);
|
|
42
44
|
this.#errorTypes = createSignal(errorTypes);
|
|
43
45
|
this.#hideDisabledQueries = createSignal(hideDisabledQueries);
|
|
46
|
+
this.#theme = createSignal(theme);
|
|
44
47
|
}
|
|
45
48
|
setButtonPosition(position) {
|
|
46
49
|
this.#buttonPosition[1](position);
|
|
@@ -57,6 +60,9 @@ var TanstackQueryDevtools = class {
|
|
|
57
60
|
setClient(client) {
|
|
58
61
|
this.#client[1](client);
|
|
59
62
|
}
|
|
63
|
+
setTheme(theme) {
|
|
64
|
+
this.#theme[1](theme);
|
|
65
|
+
}
|
|
60
66
|
mount(el) {
|
|
61
67
|
if (this.#isMounted) {
|
|
62
68
|
throw new Error("Devtools is already mounted");
|
|
@@ -69,11 +75,12 @@ var TanstackQueryDevtools = class {
|
|
|
69
75
|
const [errors] = this.#errorTypes;
|
|
70
76
|
const [hideDisabledQueries] = this.#hideDisabledQueries;
|
|
71
77
|
const [queryClient] = this.#client;
|
|
78
|
+
const [theme] = this.#theme;
|
|
72
79
|
let Devtools;
|
|
73
80
|
if (this.#Component) {
|
|
74
81
|
Devtools = this.#Component;
|
|
75
82
|
} else {
|
|
76
|
-
Devtools = lazy(() => import('./DevtoolsComponent/
|
|
83
|
+
Devtools = lazy(() => import('./DevtoolsComponent/TO44TVBA.js'));
|
|
77
84
|
this.#Component = Devtools;
|
|
78
85
|
}
|
|
79
86
|
setupStyleSheet(this.#styleNonce, this.#shadowDOMTarget);
|
|
@@ -108,6 +115,9 @@ var TanstackQueryDevtools = class {
|
|
|
108
115
|
},
|
|
109
116
|
get hideDisabledQueries() {
|
|
110
117
|
return hideDisabledQueries();
|
|
118
|
+
},
|
|
119
|
+
get theme() {
|
|
120
|
+
return theme();
|
|
111
121
|
}
|
|
112
122
|
}));
|
|
113
123
|
}, el);
|
|
@@ -139,6 +149,7 @@ var TanstackQueryDevtoolsPanel = class {
|
|
|
139
149
|
#hideDisabledQueries;
|
|
140
150
|
#onClose;
|
|
141
151
|
#Component;
|
|
152
|
+
#theme;
|
|
142
153
|
#dispose;
|
|
143
154
|
constructor(config) {
|
|
144
155
|
const {
|
|
@@ -153,7 +164,8 @@ var TanstackQueryDevtoolsPanel = class {
|
|
|
153
164
|
styleNonce,
|
|
154
165
|
shadowDOMTarget,
|
|
155
166
|
onClose,
|
|
156
|
-
hideDisabledQueries
|
|
167
|
+
hideDisabledQueries,
|
|
168
|
+
theme
|
|
157
169
|
} = config;
|
|
158
170
|
this.#client = createSignal(client);
|
|
159
171
|
this.#queryFlavor = queryFlavor;
|
|
@@ -167,6 +179,7 @@ var TanstackQueryDevtoolsPanel = class {
|
|
|
167
179
|
this.#errorTypes = createSignal(errorTypes);
|
|
168
180
|
this.#hideDisabledQueries = createSignal(hideDisabledQueries);
|
|
169
181
|
this.#onClose = createSignal(onClose);
|
|
182
|
+
this.#theme = createSignal(theme);
|
|
170
183
|
}
|
|
171
184
|
setButtonPosition(position) {
|
|
172
185
|
this.#buttonPosition[1](position);
|
|
@@ -186,6 +199,9 @@ var TanstackQueryDevtoolsPanel = class {
|
|
|
186
199
|
setOnClose(onClose) {
|
|
187
200
|
this.#onClose[1](() => onClose);
|
|
188
201
|
}
|
|
202
|
+
setTheme(theme) {
|
|
203
|
+
this.#theme[1](theme);
|
|
204
|
+
}
|
|
189
205
|
mount(el) {
|
|
190
206
|
if (this.#isMounted) {
|
|
191
207
|
throw new Error("Devtools is already mounted");
|
|
@@ -199,11 +215,12 @@ var TanstackQueryDevtoolsPanel = class {
|
|
|
199
215
|
const [hideDisabledQueries] = this.#hideDisabledQueries;
|
|
200
216
|
const [queryClient] = this.#client;
|
|
201
217
|
const [onClose] = this.#onClose;
|
|
218
|
+
const [theme] = this.#theme;
|
|
202
219
|
let Devtools;
|
|
203
220
|
if (this.#Component) {
|
|
204
221
|
Devtools = this.#Component;
|
|
205
222
|
} else {
|
|
206
|
-
Devtools = lazy(() => import('./DevtoolsPanelComponent/
|
|
223
|
+
Devtools = lazy(() => import('./DevtoolsPanelComponent/YK4QRCEX.js'));
|
|
207
224
|
this.#Component = Devtools;
|
|
208
225
|
}
|
|
209
226
|
setupStyleSheet(this.#styleNonce, this.#shadowDOMTarget);
|
|
@@ -241,6 +258,9 @@ var TanstackQueryDevtoolsPanel = class {
|
|
|
241
258
|
},
|
|
242
259
|
get onClose() {
|
|
243
260
|
return onClose();
|
|
261
|
+
},
|
|
262
|
+
get theme() {
|
|
263
|
+
return theme();
|
|
244
264
|
}
|
|
245
265
|
}));
|
|
246
266
|
}, el);
|
package/build/index.cjs
CHANGED
|
@@ -15934,7 +15934,7 @@ var init_DevtoolsComponent = __esm({
|
|
|
15934
15934
|
});
|
|
15935
15935
|
const colorScheme = getPreferredColorScheme();
|
|
15936
15936
|
const theme = createMemo(() => {
|
|
15937
|
-
const preference = localStore.theme_preference || THEME_PREFERENCE;
|
|
15937
|
+
const preference = props.theme || localStore.theme_preference || THEME_PREFERENCE;
|
|
15938
15938
|
if (preference !== "system") return preference;
|
|
15939
15939
|
return colorScheme();
|
|
15940
15940
|
});
|
|
@@ -15984,7 +15984,7 @@ var init_DevtoolsPanelComponent = __esm({
|
|
|
15984
15984
|
});
|
|
15985
15985
|
const colorScheme = getPreferredColorScheme();
|
|
15986
15986
|
const theme = createMemo(() => {
|
|
15987
|
-
const preference = localStore.theme_preference || THEME_PREFERENCE;
|
|
15987
|
+
const preference = props.theme || localStore.theme_preference || THEME_PREFERENCE;
|
|
15988
15988
|
if (preference !== "system") return preference;
|
|
15989
15989
|
return colorScheme();
|
|
15990
15990
|
});
|
|
@@ -16042,6 +16042,7 @@ exports.TanstackQueryDevtools = class TanstackQueryDevtools {
|
|
|
16042
16042
|
#errorTypes;
|
|
16043
16043
|
#hideDisabledQueries;
|
|
16044
16044
|
#Component;
|
|
16045
|
+
#theme;
|
|
16045
16046
|
#dispose;
|
|
16046
16047
|
constructor(config) {
|
|
16047
16048
|
const {
|
|
@@ -16055,7 +16056,8 @@ exports.TanstackQueryDevtools = class TanstackQueryDevtools {
|
|
|
16055
16056
|
errorTypes,
|
|
16056
16057
|
styleNonce,
|
|
16057
16058
|
shadowDOMTarget,
|
|
16058
|
-
hideDisabledQueries
|
|
16059
|
+
hideDisabledQueries,
|
|
16060
|
+
theme
|
|
16059
16061
|
} = config;
|
|
16060
16062
|
this.#client = createSignal(client);
|
|
16061
16063
|
this.#queryFlavor = queryFlavor;
|
|
@@ -16068,6 +16070,7 @@ exports.TanstackQueryDevtools = class TanstackQueryDevtools {
|
|
|
16068
16070
|
this.#initialIsOpen = createSignal(initialIsOpen);
|
|
16069
16071
|
this.#errorTypes = createSignal(errorTypes);
|
|
16070
16072
|
this.#hideDisabledQueries = createSignal(hideDisabledQueries);
|
|
16073
|
+
this.#theme = createSignal(theme);
|
|
16071
16074
|
}
|
|
16072
16075
|
setButtonPosition(position) {
|
|
16073
16076
|
this.#buttonPosition[1](position);
|
|
@@ -16084,6 +16087,9 @@ exports.TanstackQueryDevtools = class TanstackQueryDevtools {
|
|
|
16084
16087
|
setClient(client) {
|
|
16085
16088
|
this.#client[1](client);
|
|
16086
16089
|
}
|
|
16090
|
+
setTheme(theme) {
|
|
16091
|
+
this.#theme[1](theme);
|
|
16092
|
+
}
|
|
16087
16093
|
mount(el) {
|
|
16088
16094
|
if (this.#isMounted) {
|
|
16089
16095
|
throw new Error("Devtools is already mounted");
|
|
@@ -16096,6 +16102,7 @@ exports.TanstackQueryDevtools = class TanstackQueryDevtools {
|
|
|
16096
16102
|
const [errors] = this.#errorTypes;
|
|
16097
16103
|
const [hideDisabledQueries] = this.#hideDisabledQueries;
|
|
16098
16104
|
const [queryClient] = this.#client;
|
|
16105
|
+
const [theme] = this.#theme;
|
|
16099
16106
|
let Devtools2;
|
|
16100
16107
|
if (this.#Component) {
|
|
16101
16108
|
Devtools2 = this.#Component;
|
|
@@ -16135,6 +16142,9 @@ exports.TanstackQueryDevtools = class TanstackQueryDevtools {
|
|
|
16135
16142
|
},
|
|
16136
16143
|
get hideDisabledQueries() {
|
|
16137
16144
|
return hideDisabledQueries();
|
|
16145
|
+
},
|
|
16146
|
+
get theme() {
|
|
16147
|
+
return theme();
|
|
16138
16148
|
}
|
|
16139
16149
|
}));
|
|
16140
16150
|
}, el);
|
|
@@ -16171,6 +16181,7 @@ exports.TanstackQueryDevtoolsPanel = class TanstackQueryDevtoolsPanel {
|
|
|
16171
16181
|
#hideDisabledQueries;
|
|
16172
16182
|
#onClose;
|
|
16173
16183
|
#Component;
|
|
16184
|
+
#theme;
|
|
16174
16185
|
#dispose;
|
|
16175
16186
|
constructor(config) {
|
|
16176
16187
|
const {
|
|
@@ -16185,7 +16196,8 @@ exports.TanstackQueryDevtoolsPanel = class TanstackQueryDevtoolsPanel {
|
|
|
16185
16196
|
styleNonce,
|
|
16186
16197
|
shadowDOMTarget,
|
|
16187
16198
|
onClose,
|
|
16188
|
-
hideDisabledQueries
|
|
16199
|
+
hideDisabledQueries,
|
|
16200
|
+
theme
|
|
16189
16201
|
} = config;
|
|
16190
16202
|
this.#client = createSignal(client);
|
|
16191
16203
|
this.#queryFlavor = queryFlavor;
|
|
@@ -16199,6 +16211,7 @@ exports.TanstackQueryDevtoolsPanel = class TanstackQueryDevtoolsPanel {
|
|
|
16199
16211
|
this.#errorTypes = createSignal(errorTypes);
|
|
16200
16212
|
this.#hideDisabledQueries = createSignal(hideDisabledQueries);
|
|
16201
16213
|
this.#onClose = createSignal(onClose);
|
|
16214
|
+
this.#theme = createSignal(theme);
|
|
16202
16215
|
}
|
|
16203
16216
|
setButtonPosition(position) {
|
|
16204
16217
|
this.#buttonPosition[1](position);
|
|
@@ -16218,6 +16231,9 @@ exports.TanstackQueryDevtoolsPanel = class TanstackQueryDevtoolsPanel {
|
|
|
16218
16231
|
setOnClose(onClose) {
|
|
16219
16232
|
this.#onClose[1](() => onClose);
|
|
16220
16233
|
}
|
|
16234
|
+
setTheme(theme) {
|
|
16235
|
+
this.#theme[1](theme);
|
|
16236
|
+
}
|
|
16221
16237
|
mount(el) {
|
|
16222
16238
|
if (this.#isMounted) {
|
|
16223
16239
|
throw new Error("Devtools is already mounted");
|
|
@@ -16231,6 +16247,7 @@ exports.TanstackQueryDevtoolsPanel = class TanstackQueryDevtoolsPanel {
|
|
|
16231
16247
|
const [hideDisabledQueries] = this.#hideDisabledQueries;
|
|
16232
16248
|
const [queryClient] = this.#client;
|
|
16233
16249
|
const [onClose] = this.#onClose;
|
|
16250
|
+
const [theme] = this.#theme;
|
|
16234
16251
|
let Devtools2;
|
|
16235
16252
|
if (this.#Component) {
|
|
16236
16253
|
Devtools2 = this.#Component;
|
|
@@ -16273,6 +16290,9 @@ exports.TanstackQueryDevtoolsPanel = class TanstackQueryDevtoolsPanel {
|
|
|
16273
16290
|
},
|
|
16274
16291
|
get onClose() {
|
|
16275
16292
|
return onClose();
|
|
16293
|
+
},
|
|
16294
|
+
get theme() {
|
|
16295
|
+
return theme();
|
|
16276
16296
|
}
|
|
16277
16297
|
}));
|
|
16278
16298
|
}, el);
|
package/build/index.d.cts
CHANGED
|
@@ -4,6 +4,7 @@ type XPosition = 'left' | 'right';
|
|
|
4
4
|
type YPosition = 'top' | 'bottom';
|
|
5
5
|
type DevtoolsPosition = XPosition | YPosition;
|
|
6
6
|
type DevtoolsButtonPosition = `${YPosition}-${XPosition}` | 'relative';
|
|
7
|
+
type Theme = 'dark' | 'light' | 'system';
|
|
7
8
|
interface DevtoolsErrorType {
|
|
8
9
|
/**
|
|
9
10
|
* The name of the error.
|
|
@@ -26,6 +27,7 @@ interface QueryDevtoolsProps {
|
|
|
26
27
|
shadowDOMTarget?: ShadowRoot;
|
|
27
28
|
onClose?: () => unknown;
|
|
28
29
|
hideDisabledQueries?: boolean;
|
|
30
|
+
theme?: Theme;
|
|
29
31
|
}
|
|
30
32
|
|
|
31
33
|
interface TanstackQueryDevtoolsConfig extends QueryDevtoolsProps {
|
|
@@ -40,6 +42,7 @@ declare class TanstackQueryDevtools {
|
|
|
40
42
|
setInitialIsOpen(isOpen: boolean): void;
|
|
41
43
|
setErrorTypes(errorTypes: Array<DevtoolsErrorType>): void;
|
|
42
44
|
setClient(client: QueryClient): void;
|
|
45
|
+
setTheme(theme?: Theme): void;
|
|
43
46
|
mount<T extends HTMLElement>(el: T): void;
|
|
44
47
|
unmount(): void;
|
|
45
48
|
}
|
|
@@ -58,8 +61,9 @@ declare class TanstackQueryDevtoolsPanel {
|
|
|
58
61
|
setErrorTypes(errorTypes: Array<DevtoolsErrorType>): void;
|
|
59
62
|
setClient(client: QueryClient): void;
|
|
60
63
|
setOnClose(onClose: () => unknown): void;
|
|
64
|
+
setTheme(theme?: Theme): void;
|
|
61
65
|
mount<T extends HTMLElement>(el: T): void;
|
|
62
66
|
unmount(): void;
|
|
63
67
|
}
|
|
64
68
|
|
|
65
|
-
export { type DevtoolsButtonPosition, type DevtoolsErrorType, type DevtoolsPosition, TanstackQueryDevtools, type TanstackQueryDevtoolsConfig, TanstackQueryDevtoolsPanel, type TanstackQueryDevtoolsPanelConfig };
|
|
69
|
+
export { type DevtoolsButtonPosition, type DevtoolsErrorType, type DevtoolsPosition, TanstackQueryDevtools, type TanstackQueryDevtoolsConfig, TanstackQueryDevtoolsPanel, type TanstackQueryDevtoolsPanelConfig, type Theme };
|
package/build/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ type XPosition = 'left' | 'right';
|
|
|
4
4
|
type YPosition = 'top' | 'bottom';
|
|
5
5
|
type DevtoolsPosition = XPosition | YPosition;
|
|
6
6
|
type DevtoolsButtonPosition = `${YPosition}-${XPosition}` | 'relative';
|
|
7
|
+
type Theme = 'dark' | 'light' | 'system';
|
|
7
8
|
interface DevtoolsErrorType {
|
|
8
9
|
/**
|
|
9
10
|
* The name of the error.
|
|
@@ -26,6 +27,7 @@ interface QueryDevtoolsProps {
|
|
|
26
27
|
shadowDOMTarget?: ShadowRoot;
|
|
27
28
|
onClose?: () => unknown;
|
|
28
29
|
hideDisabledQueries?: boolean;
|
|
30
|
+
theme?: Theme;
|
|
29
31
|
}
|
|
30
32
|
|
|
31
33
|
interface TanstackQueryDevtoolsConfig extends QueryDevtoolsProps {
|
|
@@ -40,6 +42,7 @@ declare class TanstackQueryDevtools {
|
|
|
40
42
|
setInitialIsOpen(isOpen: boolean): void;
|
|
41
43
|
setErrorTypes(errorTypes: Array<DevtoolsErrorType>): void;
|
|
42
44
|
setClient(client: QueryClient): void;
|
|
45
|
+
setTheme(theme?: Theme): void;
|
|
43
46
|
mount<T extends HTMLElement>(el: T): void;
|
|
44
47
|
unmount(): void;
|
|
45
48
|
}
|
|
@@ -58,8 +61,9 @@ declare class TanstackQueryDevtoolsPanel {
|
|
|
58
61
|
setErrorTypes(errorTypes: Array<DevtoolsErrorType>): void;
|
|
59
62
|
setClient(client: QueryClient): void;
|
|
60
63
|
setOnClose(onClose: () => unknown): void;
|
|
64
|
+
setTheme(theme?: Theme): void;
|
|
61
65
|
mount<T extends HTMLElement>(el: T): void;
|
|
62
66
|
unmount(): void;
|
|
63
67
|
}
|
|
64
68
|
|
|
65
|
-
export { type DevtoolsButtonPosition, type DevtoolsErrorType, type DevtoolsPosition, TanstackQueryDevtools, type TanstackQueryDevtoolsConfig, TanstackQueryDevtoolsPanel, type TanstackQueryDevtoolsPanelConfig };
|
|
69
|
+
export { type DevtoolsButtonPosition, type DevtoolsErrorType, type DevtoolsPosition, TanstackQueryDevtools, type TanstackQueryDevtoolsConfig, TanstackQueryDevtoolsPanel, type TanstackQueryDevtoolsPanelConfig, type Theme };
|
package/build/index.js
CHANGED
|
@@ -15,6 +15,7 @@ var TanstackQueryDevtools = class {
|
|
|
15
15
|
#errorTypes;
|
|
16
16
|
#hideDisabledQueries;
|
|
17
17
|
#Component;
|
|
18
|
+
#theme;
|
|
18
19
|
#dispose;
|
|
19
20
|
constructor(config) {
|
|
20
21
|
const {
|
|
@@ -28,7 +29,8 @@ var TanstackQueryDevtools = class {
|
|
|
28
29
|
errorTypes,
|
|
29
30
|
styleNonce,
|
|
30
31
|
shadowDOMTarget,
|
|
31
|
-
hideDisabledQueries
|
|
32
|
+
hideDisabledQueries,
|
|
33
|
+
theme
|
|
32
34
|
} = config;
|
|
33
35
|
this.#client = createSignal(client);
|
|
34
36
|
this.#queryFlavor = queryFlavor;
|
|
@@ -41,6 +43,7 @@ var TanstackQueryDevtools = class {
|
|
|
41
43
|
this.#initialIsOpen = createSignal(initialIsOpen);
|
|
42
44
|
this.#errorTypes = createSignal(errorTypes);
|
|
43
45
|
this.#hideDisabledQueries = createSignal(hideDisabledQueries);
|
|
46
|
+
this.#theme = createSignal(theme);
|
|
44
47
|
}
|
|
45
48
|
setButtonPosition(position) {
|
|
46
49
|
this.#buttonPosition[1](position);
|
|
@@ -57,6 +60,9 @@ var TanstackQueryDevtools = class {
|
|
|
57
60
|
setClient(client) {
|
|
58
61
|
this.#client[1](client);
|
|
59
62
|
}
|
|
63
|
+
setTheme(theme) {
|
|
64
|
+
this.#theme[1](theme);
|
|
65
|
+
}
|
|
60
66
|
mount(el) {
|
|
61
67
|
if (this.#isMounted) {
|
|
62
68
|
throw new Error("Devtools is already mounted");
|
|
@@ -69,11 +75,12 @@ var TanstackQueryDevtools = class {
|
|
|
69
75
|
const [errors] = this.#errorTypes;
|
|
70
76
|
const [hideDisabledQueries] = this.#hideDisabledQueries;
|
|
71
77
|
const [queryClient] = this.#client;
|
|
78
|
+
const [theme] = this.#theme;
|
|
72
79
|
let Devtools;
|
|
73
80
|
if (this.#Component) {
|
|
74
81
|
Devtools = this.#Component;
|
|
75
82
|
} else {
|
|
76
|
-
Devtools = lazy(() => import('./DevtoolsComponent/
|
|
83
|
+
Devtools = lazy(() => import('./DevtoolsComponent/3Y4HR3WR.js'));
|
|
77
84
|
this.#Component = Devtools;
|
|
78
85
|
}
|
|
79
86
|
setupStyleSheet(this.#styleNonce, this.#shadowDOMTarget);
|
|
@@ -108,6 +115,9 @@ var TanstackQueryDevtools = class {
|
|
|
108
115
|
},
|
|
109
116
|
get hideDisabledQueries() {
|
|
110
117
|
return hideDisabledQueries();
|
|
118
|
+
},
|
|
119
|
+
get theme() {
|
|
120
|
+
return theme();
|
|
111
121
|
}
|
|
112
122
|
}));
|
|
113
123
|
}, el);
|
|
@@ -139,6 +149,7 @@ var TanstackQueryDevtoolsPanel = class {
|
|
|
139
149
|
#hideDisabledQueries;
|
|
140
150
|
#onClose;
|
|
141
151
|
#Component;
|
|
152
|
+
#theme;
|
|
142
153
|
#dispose;
|
|
143
154
|
constructor(config) {
|
|
144
155
|
const {
|
|
@@ -153,7 +164,8 @@ var TanstackQueryDevtoolsPanel = class {
|
|
|
153
164
|
styleNonce,
|
|
154
165
|
shadowDOMTarget,
|
|
155
166
|
onClose,
|
|
156
|
-
hideDisabledQueries
|
|
167
|
+
hideDisabledQueries,
|
|
168
|
+
theme
|
|
157
169
|
} = config;
|
|
158
170
|
this.#client = createSignal(client);
|
|
159
171
|
this.#queryFlavor = queryFlavor;
|
|
@@ -167,6 +179,7 @@ var TanstackQueryDevtoolsPanel = class {
|
|
|
167
179
|
this.#errorTypes = createSignal(errorTypes);
|
|
168
180
|
this.#hideDisabledQueries = createSignal(hideDisabledQueries);
|
|
169
181
|
this.#onClose = createSignal(onClose);
|
|
182
|
+
this.#theme = createSignal(theme);
|
|
170
183
|
}
|
|
171
184
|
setButtonPosition(position) {
|
|
172
185
|
this.#buttonPosition[1](position);
|
|
@@ -186,6 +199,9 @@ var TanstackQueryDevtoolsPanel = class {
|
|
|
186
199
|
setOnClose(onClose) {
|
|
187
200
|
this.#onClose[1](() => onClose);
|
|
188
201
|
}
|
|
202
|
+
setTheme(theme) {
|
|
203
|
+
this.#theme[1](theme);
|
|
204
|
+
}
|
|
189
205
|
mount(el) {
|
|
190
206
|
if (this.#isMounted) {
|
|
191
207
|
throw new Error("Devtools is already mounted");
|
|
@@ -199,11 +215,12 @@ var TanstackQueryDevtoolsPanel = class {
|
|
|
199
215
|
const [hideDisabledQueries] = this.#hideDisabledQueries;
|
|
200
216
|
const [queryClient] = this.#client;
|
|
201
217
|
const [onClose] = this.#onClose;
|
|
218
|
+
const [theme] = this.#theme;
|
|
202
219
|
let Devtools;
|
|
203
220
|
if (this.#Component) {
|
|
204
221
|
Devtools = this.#Component;
|
|
205
222
|
} else {
|
|
206
|
-
Devtools = lazy(() => import('./DevtoolsPanelComponent/
|
|
223
|
+
Devtools = lazy(() => import('./DevtoolsPanelComponent/NZQXYXX4.js'));
|
|
207
224
|
this.#Component = Devtools;
|
|
208
225
|
}
|
|
209
226
|
setupStyleSheet(this.#styleNonce, this.#shadowDOMTarget);
|
|
@@ -241,6 +258,9 @@ var TanstackQueryDevtoolsPanel = class {
|
|
|
241
258
|
},
|
|
242
259
|
get onClose() {
|
|
243
260
|
return onClose();
|
|
261
|
+
},
|
|
262
|
+
get theme() {
|
|
263
|
+
return theme();
|
|
244
264
|
}
|
|
245
265
|
}));
|
|
246
266
|
}, el);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/query-devtools",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.91.0",
|
|
4
4
|
"description": "Developer tools to interact with and visualize the TanStack Query cache",
|
|
5
5
|
"author": "tannerlinsley",
|
|
6
6
|
"license": "MIT",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"superjson": "^2.2.2",
|
|
58
58
|
"tsup-preset-solid": "^2.2.0",
|
|
59
59
|
"vite-plugin-solid": "^2.11.6",
|
|
60
|
-
"@tanstack/query-core": "5.90.
|
|
60
|
+
"@tanstack/query-core": "5.90.10"
|
|
61
61
|
},
|
|
62
62
|
"scripts": {
|
|
63
63
|
"clean": "premove ./build ./coverage ./dist-ts",
|
|
@@ -4,6 +4,7 @@ import { Devtools } from './Devtools'
|
|
|
4
4
|
import { getPreferredColorScheme } from './utils'
|
|
5
5
|
import { THEME_PREFERENCE } from './constants'
|
|
6
6
|
import { PiPProvider, QueryDevtoolsContext, ThemeContext } from './contexts'
|
|
7
|
+
import type { Theme } from './contexts'
|
|
7
8
|
import type { DevtoolsComponentType } from './Devtools'
|
|
8
9
|
|
|
9
10
|
const DevtoolsComponent: DevtoolsComponentType = (props) => {
|
|
@@ -14,10 +15,9 @@ const DevtoolsComponent: DevtoolsComponentType = (props) => {
|
|
|
14
15
|
const colorScheme = getPreferredColorScheme()
|
|
15
16
|
|
|
16
17
|
const theme = createMemo(() => {
|
|
17
|
-
const preference = (
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
| 'light'
|
|
18
|
+
const preference = (props.theme ||
|
|
19
|
+
localStore.theme_preference ||
|
|
20
|
+
THEME_PREFERENCE) as Theme
|
|
21
21
|
if (preference !== 'system') return preference
|
|
22
22
|
return colorScheme()
|
|
23
23
|
})
|
|
@@ -4,6 +4,7 @@ import { ContentView, ParentPanel } from './Devtools'
|
|
|
4
4
|
import { getPreferredColorScheme } from './utils'
|
|
5
5
|
import { THEME_PREFERENCE } from './constants'
|
|
6
6
|
import { PiPProvider, QueryDevtoolsContext, ThemeContext } from './contexts'
|
|
7
|
+
import type { Theme } from './contexts'
|
|
7
8
|
import type { DevtoolsComponentType } from './Devtools'
|
|
8
9
|
|
|
9
10
|
const DevtoolsPanelComponent: DevtoolsComponentType = (props) => {
|
|
@@ -14,10 +15,9 @@ const DevtoolsPanelComponent: DevtoolsComponentType = (props) => {
|
|
|
14
15
|
const colorScheme = getPreferredColorScheme()
|
|
15
16
|
|
|
16
17
|
const theme = createMemo(() => {
|
|
17
|
-
const preference = (
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
| 'light'
|
|
18
|
+
const preference = (props.theme ||
|
|
19
|
+
localStore.theme_preference ||
|
|
20
|
+
THEME_PREFERENCE) as Theme
|
|
21
21
|
if (preference !== 'system') return preference
|
|
22
22
|
return colorScheme()
|
|
23
23
|
})
|
|
@@ -11,6 +11,7 @@ import type {
|
|
|
11
11
|
DevtoolsErrorType,
|
|
12
12
|
DevtoolsPosition,
|
|
13
13
|
QueryDevtoolsProps,
|
|
14
|
+
Theme,
|
|
14
15
|
} from './contexts'
|
|
15
16
|
import type { Signal } from 'solid-js'
|
|
16
17
|
|
|
@@ -33,6 +34,7 @@ class TanstackQueryDevtools {
|
|
|
33
34
|
#errorTypes: Signal<Array<DevtoolsErrorType> | undefined>
|
|
34
35
|
#hideDisabledQueries: Signal<boolean | undefined>
|
|
35
36
|
#Component: DevtoolsComponentType | undefined
|
|
37
|
+
#theme: Signal<Theme | undefined>
|
|
36
38
|
#dispose?: () => void
|
|
37
39
|
|
|
38
40
|
constructor(config: TanstackQueryDevtoolsConfig) {
|
|
@@ -48,6 +50,7 @@ class TanstackQueryDevtools {
|
|
|
48
50
|
styleNonce,
|
|
49
51
|
shadowDOMTarget,
|
|
50
52
|
hideDisabledQueries,
|
|
53
|
+
theme,
|
|
51
54
|
} = config
|
|
52
55
|
this.#client = createSignal(client)
|
|
53
56
|
this.#queryFlavor = queryFlavor
|
|
@@ -60,6 +63,7 @@ class TanstackQueryDevtools {
|
|
|
60
63
|
this.#initialIsOpen = createSignal(initialIsOpen)
|
|
61
64
|
this.#errorTypes = createSignal(errorTypes)
|
|
62
65
|
this.#hideDisabledQueries = createSignal(hideDisabledQueries)
|
|
66
|
+
this.#theme = createSignal(theme)
|
|
63
67
|
}
|
|
64
68
|
|
|
65
69
|
setButtonPosition(position: DevtoolsButtonPosition) {
|
|
@@ -82,6 +86,10 @@ class TanstackQueryDevtools {
|
|
|
82
86
|
this.#client[1](client)
|
|
83
87
|
}
|
|
84
88
|
|
|
89
|
+
setTheme(theme?: Theme) {
|
|
90
|
+
this.#theme[1](theme)
|
|
91
|
+
}
|
|
92
|
+
|
|
85
93
|
mount<T extends HTMLElement>(el: T) {
|
|
86
94
|
if (this.#isMounted) {
|
|
87
95
|
throw new Error('Devtools is already mounted')
|
|
@@ -93,6 +101,7 @@ class TanstackQueryDevtools {
|
|
|
93
101
|
const [errors] = this.#errorTypes
|
|
94
102
|
const [hideDisabledQueries] = this.#hideDisabledQueries
|
|
95
103
|
const [queryClient] = this.#client
|
|
104
|
+
const [theme] = this.#theme
|
|
96
105
|
let Devtools: DevtoolsComponentType
|
|
97
106
|
|
|
98
107
|
if (this.#Component) {
|
|
@@ -128,6 +137,9 @@ class TanstackQueryDevtools {
|
|
|
128
137
|
get hideDisabledQueries() {
|
|
129
138
|
return hideDisabledQueries()
|
|
130
139
|
},
|
|
140
|
+
get theme() {
|
|
141
|
+
return theme()
|
|
142
|
+
},
|
|
131
143
|
}}
|
|
132
144
|
/>
|
|
133
145
|
)
|
|
@@ -11,6 +11,7 @@ import type {
|
|
|
11
11
|
DevtoolsErrorType,
|
|
12
12
|
DevtoolsPosition,
|
|
13
13
|
QueryDevtoolsProps,
|
|
14
|
+
Theme,
|
|
14
15
|
} from './contexts'
|
|
15
16
|
import type { Signal } from 'solid-js'
|
|
16
17
|
|
|
@@ -35,6 +36,7 @@ class TanstackQueryDevtoolsPanel {
|
|
|
35
36
|
#hideDisabledQueries: Signal<boolean | undefined>
|
|
36
37
|
#onClose: Signal<(() => unknown) | undefined>
|
|
37
38
|
#Component: DevtoolsComponentType | undefined
|
|
39
|
+
#theme: Signal<Theme | undefined>
|
|
38
40
|
#dispose?: () => void
|
|
39
41
|
|
|
40
42
|
constructor(config: TanstackQueryDevtoolsPanelConfig) {
|
|
@@ -51,6 +53,7 @@ class TanstackQueryDevtoolsPanel {
|
|
|
51
53
|
shadowDOMTarget,
|
|
52
54
|
onClose,
|
|
53
55
|
hideDisabledQueries,
|
|
56
|
+
theme,
|
|
54
57
|
} = config
|
|
55
58
|
this.#client = createSignal(client)
|
|
56
59
|
this.#queryFlavor = queryFlavor
|
|
@@ -64,6 +67,7 @@ class TanstackQueryDevtoolsPanel {
|
|
|
64
67
|
this.#errorTypes = createSignal(errorTypes)
|
|
65
68
|
this.#hideDisabledQueries = createSignal(hideDisabledQueries)
|
|
66
69
|
this.#onClose = createSignal(onClose)
|
|
70
|
+
this.#theme = createSignal(theme)
|
|
67
71
|
}
|
|
68
72
|
|
|
69
73
|
setButtonPosition(position: DevtoolsButtonPosition) {
|
|
@@ -90,6 +94,10 @@ class TanstackQueryDevtoolsPanel {
|
|
|
90
94
|
this.#onClose[1](() => onClose)
|
|
91
95
|
}
|
|
92
96
|
|
|
97
|
+
setTheme(theme?: Theme) {
|
|
98
|
+
this.#theme[1](theme)
|
|
99
|
+
}
|
|
100
|
+
|
|
93
101
|
mount<T extends HTMLElement>(el: T) {
|
|
94
102
|
if (this.#isMounted) {
|
|
95
103
|
throw new Error('Devtools is already mounted')
|
|
@@ -102,6 +110,7 @@ class TanstackQueryDevtoolsPanel {
|
|
|
102
110
|
const [hideDisabledQueries] = this.#hideDisabledQueries
|
|
103
111
|
const [queryClient] = this.#client
|
|
104
112
|
const [onClose] = this.#onClose
|
|
113
|
+
const [theme] = this.#theme
|
|
105
114
|
let Devtools: DevtoolsComponentType
|
|
106
115
|
|
|
107
116
|
if (this.#Component) {
|
|
@@ -140,6 +149,9 @@ class TanstackQueryDevtoolsPanel {
|
|
|
140
149
|
get onClose() {
|
|
141
150
|
return onClose()
|
|
142
151
|
},
|
|
152
|
+
get theme() {
|
|
153
|
+
return theme()
|
|
154
|
+
},
|
|
143
155
|
}}
|
|
144
156
|
/>
|
|
145
157
|
)
|
|
@@ -5,6 +5,7 @@ type XPosition = 'left' | 'right'
|
|
|
5
5
|
type YPosition = 'top' | 'bottom'
|
|
6
6
|
export type DevtoolsPosition = XPosition | YPosition
|
|
7
7
|
export type DevtoolsButtonPosition = `${YPosition}-${XPosition}` | 'relative'
|
|
8
|
+
export type Theme = 'dark' | 'light' | 'system'
|
|
8
9
|
|
|
9
10
|
export interface DevtoolsErrorType {
|
|
10
11
|
/**
|
|
@@ -30,6 +31,7 @@ export interface QueryDevtoolsProps {
|
|
|
30
31
|
shadowDOMTarget?: ShadowRoot
|
|
31
32
|
onClose?: () => unknown
|
|
32
33
|
hideDisabledQueries?: boolean
|
|
34
|
+
theme?: Theme
|
|
33
35
|
}
|
|
34
36
|
|
|
35
37
|
export const QueryDevtoolsContext = createContext<QueryDevtoolsProps>({
|