@buoy-gg/react-query 7.0.33 → 7.0.35

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.
Files changed (49) hide show
  1. package/lib/commonjs/react-query/components/DataEditorMode.js +2 -2
  2. package/lib/commonjs/react-query/components/FilterStatusBadge.js +1 -1
  3. package/lib/commonjs/react-query/components/MutationEditorMode.js +2 -2
  4. package/lib/commonjs/react-query/components/modals/MutationBrowserFooter.js +7 -19
  5. package/lib/commonjs/react-query/components/modals/QueryBrowserFooter.js +7 -19
  6. package/lib/commonjs/react-query/components/modals/ReactQueryModalHeader.js +23 -71
  7. package/lib/commonjs/react-query/components/query-browser/MutationButton.js +2 -2
  8. package/lib/commonjs/react-query/components/query-browser/MutationDetails.js +4 -4
  9. package/lib/commonjs/react-query/components/query-browser/MutationDetailsChips.js +1 -1
  10. package/lib/commonjs/react-query/components/query-browser/MutationInformation.js +1 -1
  11. package/lib/commonjs/react-query/components/query-browser/MutationStatusCount.js +51 -87
  12. package/lib/commonjs/react-query/components/query-browser/MutationsList.js +1 -1
  13. package/lib/commonjs/react-query/components/query-browser/QueryBrowser.js +3 -12
  14. package/lib/commonjs/react-query/components/query-browser/QueryDetails.js +4 -4
  15. package/lib/commonjs/react-query/components/query-browser/QueryDetailsChip.js +1 -1
  16. package/lib/commonjs/react-query/components/query-browser/QueryStatusCount.js +66 -112
  17. package/lib/commonjs/react-query/components/query-browser/StorageStatusCount.js +22 -67
  18. package/lib/commonjs/react-query/stores/reactQueryEventStore.js +13 -22
  19. package/lib/commonjs/react-query/sync/snapshotProvider.js +17 -62
  20. package/lib/module/react-query/components/DataEditorMode.js +3 -3
  21. package/lib/module/react-query/components/FilterStatusBadge.js +2 -2
  22. package/lib/module/react-query/components/MutationEditorMode.js +3 -3
  23. package/lib/module/react-query/components/modals/MutationBrowserFooter.js +8 -20
  24. package/lib/module/react-query/components/modals/QueryBrowserFooter.js +8 -20
  25. package/lib/module/react-query/components/modals/ReactQueryModalHeader.js +25 -73
  26. package/lib/module/react-query/components/query-browser/MutationButton.js +3 -3
  27. package/lib/module/react-query/components/query-browser/MutationDetails.js +5 -5
  28. package/lib/module/react-query/components/query-browser/MutationDetailsChips.js +2 -2
  29. package/lib/module/react-query/components/query-browser/MutationInformation.js +2 -2
  30. package/lib/module/react-query/components/query-browser/MutationStatusCount.js +51 -87
  31. package/lib/module/react-query/components/query-browser/MutationsList.js +2 -2
  32. package/lib/module/react-query/components/query-browser/QueryBrowser.js +4 -13
  33. package/lib/module/react-query/components/query-browser/QueryDetails.js +5 -5
  34. package/lib/module/react-query/components/query-browser/QueryDetailsChip.js +2 -2
  35. package/lib/module/react-query/components/query-browser/QueryStatusCount.js +66 -112
  36. package/lib/module/react-query/components/query-browser/StorageStatusCount.js +22 -67
  37. package/lib/module/react-query/stores/reactQueryEventStore.js +13 -22
  38. package/lib/module/react-query/sync/snapshotProvider.js +18 -63
  39. package/lib/typescript/react-query/components/modals/MutationBrowserFooter.d.ts.map +1 -1
  40. package/lib/typescript/react-query/components/modals/QueryBrowserFooter.d.ts.map +1 -1
  41. package/lib/typescript/react-query/components/modals/ReactQueryModalHeader.d.ts.map +1 -1
  42. package/lib/typescript/react-query/components/query-browser/MutationStatusCount.d.ts.map +1 -1
  43. package/lib/typescript/react-query/components/query-browser/QueryBrowser.d.ts.map +1 -1
  44. package/lib/typescript/react-query/components/query-browser/QueryStatusCount.d.ts.map +1 -1
  45. package/lib/typescript/react-query/components/query-browser/StorageStatusCount.d.ts.map +1 -1
  46. package/lib/typescript/react-query/stores/reactQueryEventStore.d.ts +3 -8
  47. package/lib/typescript/react-query/stores/reactQueryEventStore.d.ts.map +1 -1
  48. package/lib/typescript/react-query/sync/snapshotProvider.d.ts.map +1 -1
  49. package/package.json +3 -3
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
 
3
- import { useRef, useState } from "react";
4
- import { View, StyleSheet, ScrollView } from "react-native";
3
+ import { ChipStrip, useChipTap } from "@buoy-gg/shared-ui";
5
4
  import QueryStatus from "./QueryStatus";
6
5
  import useQueryStatusCounts from "../../hooks/useQueryStatusCounts";
7
6
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
@@ -20,122 +19,77 @@ const QueryStatusCount = ({
20
19
  paused,
21
20
  inactive
22
21
  } = useQueryStatusCounts();
23
-
24
- // Scroll state management like ChipTabs
25
- const [isScrolling, setIsScrolling] = useState(false);
26
- const touchStartX = useRef(0);
27
- const touchStartY = useRef(0);
22
+ const {
23
+ scrollProps,
24
+ onTouchStart: handleTouchStart,
25
+ isTap
26
+ } = useChipTap();
28
27
  const handleFilterClick = (filter, event) => {
29
- if (event) {
30
- // Calculate distance moved during touch (like ChipTabs)
31
- const dx = Math.abs(event.nativeEvent.pageX - touchStartX.current);
32
- const dy = Math.abs(event.nativeEvent.pageY - touchStartY.current);
33
-
34
- // If touch moved more than 5px in any direction, it's a swipe, not a tap
35
- if (dx > 5 || dy > 5 || isScrolling) {
36
- return; // Don't trigger filter change
37
- }
38
- }
28
+ if (!isTap(event)) return;
39
29
  if (onFilterChange) {
40
30
  // Toggle filter: if already active, clear it; otherwise set it
41
31
  onFilterChange(activeFilter === filter ? null : filter);
42
32
  }
43
33
  };
44
- const handleTouchStart = event => {
45
- touchStartX.current = event.nativeEvent.pageX;
46
- touchStartY.current = event.nativeEvent.pageY;
47
- };
48
- return /*#__PURE__*/_jsx(View, {
49
- style: styles.queryStatusContainer,
50
- children: /*#__PURE__*/_jsxs(ScrollView, {
51
- "sentry-label": "ignore devtools query status count scroll",
52
- horizontal: true,
53
- showsHorizontalScrollIndicator: false,
54
- style: styles.scrollView,
55
- contentContainerStyle: styles.scrollContent,
56
- onScrollBeginDrag: () => setIsScrolling(true),
57
- onScrollEndDrag: () => setTimeout(() => setIsScrolling(false), 300),
58
- onMomentumScrollBegin: () => setIsScrolling(true),
59
- onMomentumScrollEnd: () => setTimeout(() => setIsScrolling(false), 300),
60
- children: [/*#__PURE__*/_jsx(QueryStatus, {
61
- label: "Fresh",
62
- color: "green",
63
- count: fresh,
64
- isActive: activeFilter === "fresh",
65
- onPress: event => handleFilterClick("fresh", event),
66
- onTouchStart: handleTouchStart,
67
- testID: "buoy-rq-status-fresh",
68
- showLabel: true // Always show labels now
69
- ,
70
- size: size
71
- }), /*#__PURE__*/_jsx(QueryStatus, {
72
- label: "Loading",
73
- color: "blue",
74
- count: fetching,
75
- isActive: activeFilter === "fetching",
76
- onPress: event => handleFilterClick("fetching", event),
77
- onTouchStart: handleTouchStart,
78
- testID: "buoy-rq-status-fetching",
79
- showLabel: true // Always show labels now
80
- ,
81
- size: size
82
- }), /*#__PURE__*/_jsx(QueryStatus, {
83
- label: "Paused",
84
- color: "purple",
85
- count: paused,
86
- isActive: activeFilter === "paused",
87
- onPress: event => handleFilterClick("paused", event),
88
- onTouchStart: handleTouchStart,
89
- testID: "buoy-rq-status-paused",
90
- showLabel: true // Always show labels now
91
- ,
92
- size: size
93
- }), /*#__PURE__*/_jsx(QueryStatus, {
94
- label: "Stale",
95
- color: "yellow",
96
- count: stale,
97
- isActive: activeFilter === "stale",
98
- onPress: event => handleFilterClick("stale", event),
99
- onTouchStart: handleTouchStart,
100
- testID: "buoy-rq-status-stale",
101
- showLabel: true // Always show labels now
102
- ,
103
- size: size
104
- }), /*#__PURE__*/_jsx(QueryStatus, {
105
- label: "Idle",
106
- color: "gray",
107
- count: inactive,
108
- isActive: activeFilter === "inactive",
109
- onPress: event => handleFilterClick("inactive", event),
110
- onTouchStart: handleTouchStart,
111
- testID: "buoy-rq-status-inactive",
112
- showLabel: true // Always show labels now
113
- ,
114
- size: size
115
- })]
116
- })
34
+ return /*#__PURE__*/_jsxs(ChipStrip, {
35
+ scrollProps: scrollProps,
36
+ sentryLabel: "ignore devtools query status count scroll",
37
+ children: [/*#__PURE__*/_jsx(QueryStatus, {
38
+ label: "Fresh",
39
+ color: "green",
40
+ count: fresh,
41
+ isActive: activeFilter === "fresh",
42
+ onPress: event => handleFilterClick("fresh", event),
43
+ onTouchStart: handleTouchStart,
44
+ testID: "buoy-rq-status-fresh",
45
+ showLabel: true // Always show labels now
46
+ ,
47
+ size: size
48
+ }), /*#__PURE__*/_jsx(QueryStatus, {
49
+ label: "Loading",
50
+ color: "blue",
51
+ count: fetching,
52
+ isActive: activeFilter === "fetching",
53
+ onPress: event => handleFilterClick("fetching", event),
54
+ onTouchStart: handleTouchStart,
55
+ testID: "buoy-rq-status-fetching",
56
+ showLabel: true // Always show labels now
57
+ ,
58
+ size: size
59
+ }), /*#__PURE__*/_jsx(QueryStatus, {
60
+ label: "Paused",
61
+ color: "purple",
62
+ count: paused,
63
+ isActive: activeFilter === "paused",
64
+ onPress: event => handleFilterClick("paused", event),
65
+ onTouchStart: handleTouchStart,
66
+ testID: "buoy-rq-status-paused",
67
+ showLabel: true // Always show labels now
68
+ ,
69
+ size: size
70
+ }), /*#__PURE__*/_jsx(QueryStatus, {
71
+ label: "Stale",
72
+ color: "yellow",
73
+ count: stale,
74
+ isActive: activeFilter === "stale",
75
+ onPress: event => handleFilterClick("stale", event),
76
+ onTouchStart: handleTouchStart,
77
+ testID: "buoy-rq-status-stale",
78
+ showLabel: true // Always show labels now
79
+ ,
80
+ size: size
81
+ }), /*#__PURE__*/_jsx(QueryStatus, {
82
+ label: "Idle",
83
+ color: "gray",
84
+ count: inactive,
85
+ isActive: activeFilter === "inactive",
86
+ onPress: event => handleFilterClick("inactive", event),
87
+ onTouchStart: handleTouchStart,
88
+ testID: "buoy-rq-status-inactive",
89
+ showLabel: true // Always show labels now
90
+ ,
91
+ size: size
92
+ })]
117
93
  });
118
94
  };
119
- const styles = StyleSheet.create({
120
- queryStatusContainer: {
121
- // Container for ScrollView - take full width
122
- flex: 1,
123
- minWidth: 0
124
- },
125
- scrollView: {
126
- // ScrollView itself styles
127
- flex: 1
128
- },
129
- scrollContent: {
130
- // ScrollView content styles
131
- flexDirection: "row",
132
- alignItems: "center",
133
- gap: 8,
134
- // Spacing between chips
135
- paddingHorizontal: 4,
136
- // Small padding on ends
137
- paddingVertical: 4,
138
- flexGrow: 1 // Allow content to grow to fill available space
139
- }
140
- });
141
95
  export default QueryStatusCount;
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
 
3
- import { useRef, useState } from "react";
4
- import { View, StyleSheet, ScrollView } from "react-native";
3
+ import { ChipStrip, useChipTap } from "@buoy-gg/shared-ui";
5
4
  import QueryStatus from "./QueryStatus";
6
5
  import { getStorageTypeLabel, getStorageTypeColor } from "../../utils/storageQueryUtils";
7
6
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -19,21 +18,13 @@ const StorageStatusCount = ({
19
18
  onStorageTypesChange,
20
19
  counts
21
20
  }) => {
22
- // Scroll state management like QueryStatusCount
23
- const [isScrolling, setIsScrolling] = useState(false);
24
- const touchStartX = useRef(0);
25
- const touchStartY = useRef(0);
21
+ const {
22
+ scrollProps,
23
+ onTouchStart: handleTouchStart,
24
+ isTap
25
+ } = useChipTap();
26
26
  const handleStorageTypeToggle = (storageType, event) => {
27
- if (event) {
28
- // Calculate distance moved during touch (like QueryStatusCount)
29
- const dx = Math.abs(event.nativeEvent.pageX - touchStartX.current);
30
- const dy = Math.abs(event.nativeEvent.pageY - touchStartY.current);
31
-
32
- // If touch moved more than 5px in any direction, it's a swipe, not a tap
33
- if (dx > 5 || dy > 5 || isScrolling) {
34
- return; // Don't trigger filter change
35
- }
36
- }
27
+ if (!isTap(event)) return;
37
28
  if (onStorageTypesChange) {
38
29
  const newStorageTypes = new Set(activeStorageTypes);
39
30
  if (newStorageTypes.has(storageType)) {
@@ -44,58 +35,22 @@ const StorageStatusCount = ({
44
35
  onStorageTypesChange(newStorageTypes);
45
36
  }
46
37
  };
47
- const handleTouchStart = event => {
48
- touchStartX.current = event.nativeEvent.pageX;
49
- touchStartY.current = event.nativeEvent.pageY;
50
- };
51
- return /*#__PURE__*/_jsx(View, {
52
- style: styles.storageStatusContainer,
53
- children: /*#__PURE__*/_jsx(ScrollView, {
54
- "sentry-label": "ignore devtools storage status count scroll",
55
- horizontal: true,
56
- showsHorizontalScrollIndicator: false,
57
- style: styles.scrollView,
58
- contentContainerStyle: styles.scrollContent,
59
- onScrollBeginDrag: () => setIsScrolling(true),
60
- onScrollEndDrag: () => setTimeout(() => setIsScrolling(false), 300),
61
- onMomentumScrollBegin: () => setIsScrolling(true),
62
- onMomentumScrollEnd: () => setTimeout(() => setIsScrolling(false), 300),
63
- children: allStorageTypes.map(storageType => {
64
- const count = counts?.[storageType] ?? 0;
65
- return /*#__PURE__*/_jsx(QueryStatus, {
66
- label: getStorageTypeLabel(storageType),
67
- color: getStorageTypeColor(storageType),
68
- count: count // Show actual storage query counts
69
- ,
70
- isActive: activeStorageTypes.has(storageType),
71
- onPress: event => handleStorageTypeToggle(storageType, event),
72
- onTouchStart: handleTouchStart,
73
- showLabel: true
74
- }, storageType);
75
- })
38
+ return /*#__PURE__*/_jsx(ChipStrip, {
39
+ scrollProps: scrollProps,
40
+ sentryLabel: "ignore devtools storage status count scroll",
41
+ children: allStorageTypes.map(storageType => {
42
+ const count = counts?.[storageType] ?? 0;
43
+ return /*#__PURE__*/_jsx(QueryStatus, {
44
+ label: getStorageTypeLabel(storageType),
45
+ color: getStorageTypeColor(storageType),
46
+ count: count // Show actual storage query counts
47
+ ,
48
+ isActive: activeStorageTypes.has(storageType),
49
+ onPress: event => handleStorageTypeToggle(storageType, event),
50
+ onTouchStart: handleTouchStart,
51
+ showLabel: true
52
+ }, storageType);
76
53
  })
77
54
  });
78
55
  };
79
- const styles = StyleSheet.create({
80
- storageStatusContainer: {
81
- // Container for ScrollView - take full width
82
- flex: 1,
83
- minWidth: 0
84
- },
85
- scrollView: {
86
- // ScrollView itself styles
87
- flex: 1
88
- },
89
- scrollContent: {
90
- // ScrollView content styles
91
- flexDirection: "row",
92
- alignItems: "center",
93
- gap: 8,
94
- // Spacing between chips
95
- paddingHorizontal: 4,
96
- // Small padding on ends
97
- paddingVertical: 4,
98
- flexGrow: 1 // Allow content to grow to fill available space
99
- }
100
- });
101
56
  export default StorageStatusCount;
@@ -12,6 +12,7 @@
12
12
  * 3. The Events DevTools subscribes to these events
13
13
  */
14
14
 
15
+ import { ChangeLog } from "@buoy-gg/shared-ui";
15
16
  import { isStorageQuery } from "../utils/storageQueryUtils";
16
17
 
17
18
  /**
@@ -26,13 +27,15 @@ let eventIdCounter = 0;
26
27
  function generateEventId() {
27
28
  return `rq-${Date.now()}-${++eventIdCounter}`;
28
29
  }
29
- class ReactQueryEventStore {
30
- events = [];
31
- listeners = new Set();
30
+ class ReactQueryEventStore extends ChangeLog {
32
31
  queryClient = null;
33
32
  queryUnsubscribe = null;
34
33
  mutationUnsubscribe = null;
35
- maxEvents = 200;
34
+ constructor() {
35
+ super({
36
+ max: 200
37
+ });
38
+ }
36
39
 
37
40
  // Track fetch start times for duration calculation
38
41
  fetchStartTimes = new Map();
@@ -243,43 +246,31 @@ class ReactQueryEventStore {
243
246
  * Add an event to the store
244
247
  */
245
248
  addEvent(event) {
246
- this.events = [event, ...this.events].slice(0, this.maxEvents);
247
- this.notifyListeners();
249
+ this.record(event);
248
250
  }
249
251
 
250
252
  /**
251
253
  * Get all events
252
254
  */
253
255
  getEvents() {
254
- return this.events;
256
+ return this.items;
255
257
  }
256
258
 
257
259
  /**
258
260
  * Subscribe to event changes
259
261
  */
260
262
  subscribe(listener) {
261
- this.listeners.add(listener);
263
+ const unsubscribe = super.subscribe(listener);
262
264
  // Immediately call with current events
263
- listener(this.events);
264
- return () => {
265
- this.listeners.delete(listener);
266
- };
267
- }
268
-
269
- /**
270
- * Notify all listeners
271
- */
272
- notifyListeners() {
273
- const events = this.events;
274
- this.listeners.forEach(listener => listener(events));
265
+ listener(this.items);
266
+ return unsubscribe;
275
267
  }
276
268
 
277
269
  /**
278
270
  * Clear all events
279
271
  */
280
272
  clearEvents() {
281
- this.events = [];
282
- this.notifyListeners();
273
+ this.clear();
283
274
  }
284
275
 
285
276
  /**
@@ -17,8 +17,7 @@
17
17
  * the mutation cache is cleared instead.
18
18
  */
19
19
 
20
- import { registerStateSnapshotProvider, superJsonSerialize } from "@buoy-gg/shared-ui";
21
- import { boundedDeepEqual, jsonLikelyLargerThan } from "@buoy-gg/shared-ui/dataViewer";
20
+ import { classifyPreviewItem, createRestoreScope, emptyRestoreResult, failedRestore, registerStateSnapshotProvider, superJsonSerialize } from "@buoy-gg/shared-ui";
22
21
  import { isWireDataMarker } from "./dehydrate";
23
22
  /** A restored query must never claim an in-flight fetch it doesn't have. */
24
23
  function normalizeState(state) {
@@ -49,7 +48,6 @@ function queryLabel(queryKey, queryHash) {
49
48
  return queryHash;
50
49
  }
51
50
  }
52
- const ITEM_RENDER_BYTE_LIMIT = 256 * 1024;
53
51
 
54
52
  /**
55
53
  * A query `error` (and `fetchFailureReason`) usually holds the live
@@ -151,31 +149,15 @@ export function createQuerySnapshotProvider(queryClient) {
151
149
  },
152
150
  async restore(data, options) {
153
151
  const snapshot = data;
154
- const excludedSet = new Set(options?.excludeKeys ?? []);
155
- const includedSet = options?.includeKeys ? new Set(options.includeKeys) : null;
156
- const touch = key => !excludedSet.has(key) && (!includedSet || includedSet.has(key));
157
- let excludedHits = 0;
158
- const result = {
159
- ok: true,
160
- applied: 0,
161
- skipped: [],
162
- warnings: []
163
- };
152
+ const scope = createRestoreScope(options);
153
+ const result = emptyRestoreResult();
164
154
  if (!snapshot?.queries) {
165
- return {
166
- ok: false,
167
- applied: 0,
168
- skipped: [],
169
- warnings: ["empty query snapshot"]
170
- };
155
+ return failedRestore("empty query snapshot");
171
156
  }
172
157
  const cache = queryClient.getQueryCache();
173
158
  const snapHashes = new Set(snapshot.queries.map(q => q.queryHash));
174
159
  for (const snap of snapshot.queries) {
175
- if (!touch(snap.queryHash)) {
176
- excludedHits += 1;
177
- continue;
178
- }
160
+ if (!scope.allows(snap.queryHash)) continue;
179
161
  // Snapshots taken before the raw-capture fix hold a wire placeholder
180
162
  // instead of the data. Writing that into the cache hands the app an
181
163
  // object with none of its fields — leave the live query alone and say
@@ -216,10 +198,7 @@ export function createQuerySnapshotProvider(queryClient) {
216
198
  // Cache entries the snapshot doesn't know about get removed; a mounted
217
199
  // observer will rebuild + refetch its query on next interaction.
218
200
  for (const query of cache.getAll().slice()) {
219
- if (!touch(query.queryHash)) {
220
- excludedHits += 1;
221
- continue;
222
- }
201
+ if (!scope.allows(query.queryHash)) continue;
223
202
  if (!snapHashes.has(query.queryHash)) {
224
203
  try {
225
204
  cache.remove(query);
@@ -237,9 +216,8 @@ export function createQuerySnapshotProvider(queryClient) {
237
216
  queryClient.getMutationCache().clear();
238
217
  result.warnings.push(`mutation cache cleared (${mutationCount} mutation(s))`);
239
218
  }
240
- if (excludedHits > 0) {
241
- result.warnings.push(`${excludedHits} quer(y/ies) excluded by you`);
242
- }
219
+ const excludedWarning = scope.excludedWarning("quer(y/ies)");
220
+ if (excludedWarning) result.warnings.push(excludedWarning);
243
221
  return result;
244
222
  },
245
223
  /** Per-query restore preview. `base` omitted = compare against live cache. */
@@ -265,39 +243,16 @@ export function createQuerySnapshotProvider(queryClient) {
265
243
  continue;
266
244
  }
267
245
  const baseQ = baseByHash.get(q.queryHash);
268
- if (!baseQ) {
269
- items.push({
270
- key: q.queryHash,
271
- label,
272
- verdict: "added",
273
- newValue: comparableQuery(q)
274
- });
275
- continue;
276
- }
277
- const oldVal = comparableQuery(baseQ);
278
- const newVal = comparableQuery(q);
279
- if (boundedDeepEqual(oldVal, newVal)) {
280
- items.push({
281
- key: q.queryHash,
282
- label,
283
- verdict: "unchanged"
284
- });
285
- } else if (jsonLikelyLargerThan(oldVal, ITEM_RENDER_BYTE_LIMIT) || jsonLikelyLargerThan(newVal, ITEM_RENDER_BYTE_LIMIT)) {
286
- items.push({
287
- key: q.queryHash,
288
- label,
289
- verdict: "too-large",
290
- reason: "query data too large to render a diff — restore still applies it"
291
- });
292
- } else {
293
- items.push({
294
- key: q.queryHash,
295
- label,
296
- verdict: "changed",
297
- oldValue: oldVal,
298
- newValue: newVal
299
- });
300
- }
246
+ items.push(classifyPreviewItem({
247
+ key: q.queryHash,
248
+ label,
249
+ oldValue: baseQ ? comparableQuery(baseQ) : undefined,
250
+ newValue: comparableQuery(q),
251
+ inOld: baseQ !== undefined,
252
+ inNew: true
253
+ }, {
254
+ tooLargeReason: "query data too large to render a diff — restore still applies it"
255
+ }));
301
256
  }
302
257
  for (const q of baseQueries) {
303
258
  if (!targetByHash.has(q.queryHash)) {
@@ -1 +1 @@
1
- {"version":3,"file":"MutationBrowserFooter.d.ts","sourceRoot":"","sources":["../../../../../src/react-query/components/modals/MutationBrowserFooter.tsx"],"names":[],"mappings":"AACA,OAAO,EAA4B,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAIzE,UAAU,0BAA0B;IAClC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACjD,SAAS,EAAE,SAAS,CAAC;IACrB,uDAAuD;IACvD,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;CAC5B;AAED;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,YAAY,EACZ,cAAc,EACd,SAAS,EACT,IAAgB,GACjB,EAAE,0BAA0B,+BA4B5B"}
1
+ {"version":3,"file":"MutationBrowserFooter.d.ts","sourceRoot":"","sources":["../../../../../src/react-query/components/modals/MutationBrowserFooter.tsx"],"names":[],"mappings":"AACA,OAAO,EAAiC,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAI9E,UAAU,0BAA0B;IAClC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACjD,SAAS,EAAE,SAAS,CAAC;IACrB,uDAAuD;IACvD,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;CAC5B;AAED;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,YAAY,EACZ,cAAc,EACd,SAAS,EACT,IAAgB,GACjB,EAAE,0BAA0B,+BA0B5B"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBrowserFooter.d.ts","sourceRoot":"","sources":["../../../../../src/react-query/components/modals/QueryBrowserFooter.tsx"],"names":[],"mappings":"AAIA,UAAU,uBAAuB;IAC/B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACjD,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,uDAAuD;IACvD,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;CAC5B;AAED;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,YAAY,EACZ,cAAc,EACd,cAAqB,EAAE,4CAA4C;AACnE,IAAgB,GACjB,EAAE,uBAAuB,+BAuBzB"}
1
+ {"version":3,"file":"QueryBrowserFooter.d.ts","sourceRoot":"","sources":["../../../../../src/react-query/components/modals/QueryBrowserFooter.tsx"],"names":[],"mappings":"AAIA,UAAU,uBAAuB;IAC/B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACjD,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,uDAAuD;IACvD,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;CAC5B;AAED;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,YAAY,EACZ,cAAc,EACd,cAAqB,EAAE,4CAA4C;AACnE,IAAgB,GACjB,EAAE,uBAAuB,+BAqBzB"}
@@ -1 +1 @@
1
- {"version":3,"file":"ReactQueryModalHeader.d.ts","sourceRoot":"","sources":["../../../../../src/react-query/components/modals/ReactQueryModalHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAMxD,UAAU,0BAA0B;IAClC,aAAa,CAAC,EAAE,KAAK,CAAC;IACtB,gBAAgB,CAAC,EAAE,QAAQ,CAAC;IAC5B,SAAS,EAAE,SAAS,GAAG,WAAW,CAAC;IACnC,WAAW,EAAE,CAAC,GAAG,EAAE,SAAS,GAAG,WAAW,KAAK,IAAI,CAAC;IACpD,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,aAAa,EACb,gBAAgB,EAChB,SAAS,EACT,WAAW,EACX,MAAM,EACN,UAAe,EACf,cAAc,EACd,aAAa,EACb,gBAAwB,EACxB,YAAY,EACZ,cAAsB,GACvB,EAAE,0BAA0B,+BA2M5B"}
1
+ {"version":3,"file":"ReactQueryModalHeader.d.ts","sourceRoot":"","sources":["../../../../../src/react-query/components/modals/ReactQueryModalHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAMxD,UAAU,0BAA0B;IAClC,aAAa,CAAC,EAAE,KAAK,CAAC;IACtB,gBAAgB,CAAC,EAAE,QAAQ,CAAC;IAC5B,SAAS,EAAE,SAAS,GAAG,WAAW,CAAC;IACnC,WAAW,EAAE,CAAC,GAAG,EAAE,SAAS,GAAG,WAAW,KAAK,IAAI,CAAC;IACpD,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,aAAa,EACb,gBAAgB,EAChB,SAAS,EACT,WAAW,EACX,MAAM,EACN,UAAe,EACf,cAAc,EACd,aAAa,EACb,gBAAwB,EACxB,YAAY,EACZ,cAAsB,GACvB,EAAE,0BAA0B,+BAgL5B"}
@@ -1 +1 @@
1
- {"version":3,"file":"MutationStatusCount.d.ts","sourceRoot":"","sources":["../../../../../src/react-query/components/query-browser/MutationStatusCount.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,EAAE,EAAoB,MAAM,OAAO,CAAC;AAE7C,UAAU,wBAAwB;IAChC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACjD,sDAAsD;IACtD,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;CAC5B;AAED;;;GAGG;AACH,QAAA,MAAM,mBAAmB,EAAE,EAAE,CAAC,wBAAwB,CA2FrD,CAAC;AAoBF,eAAe,mBAAmB,CAAC"}
1
+ {"version":3,"file":"MutationStatusCount.d.ts","sourceRoot":"","sources":["../../../../../src/react-query/components/query-browser/MutationStatusCount.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAE3B,UAAU,wBAAwB;IAChC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACjD,sDAAsD;IACtD,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;CAC5B;AAED;;;GAGG;AACH,QAAA,MAAM,mBAAmB,EAAE,EAAE,CAAC,wBAAwB,CAkErD,CAAC;AAGF,eAAe,mBAAmB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBrowser.d.ts","sourceRoot":"","sources":["../../../../../src/react-query/components/query-browser/QueryBrowser.tsx"],"names":[],"mappings":"AACA,OAAO,EAAoC,SAAS,EAAE,MAAM,cAAc,CAAC;AAC3E,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAI9C,OAAO,EAGL,KAAK,gBAAgB,EACtB,MAAM,oBAAoB,CAAC;AAE5B,UAAU,KAAK;IACb,aAAa,EAAE,KAAK,GAAG,SAAS,CAAC;IACjC,aAAa,EAAE,CAAC,KAAK,EAAE,KAAK,GAAG,SAAS,KAAK,IAAI,CAAC;IAClD,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;OAGG;IACH,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B,qBAAqB,CAAC,EAAE,SAAS,CAAC;IAClC,OAAO,CAAC,EAAE,KAAK,EAAE,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC9B,gBAAgB,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;CAChC;AAED;;GAEG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACnC,aAAa,EACb,aAAa,EACb,YAAY,EACZ,iBAAiB,EACjB,UAAU,EACV,qBAAqB,EACrB,OAAO,EAAE,eAAe,EACxB,UAAe,EACf,eAA2B,EAC3B,gBAA4B,GAC7B,EAAE,KAAK,+BAyJP"}
1
+ {"version":3,"file":"QueryBrowser.d.ts","sourceRoot":"","sources":["../../../../../src/react-query/components/query-browser/QueryBrowser.tsx"],"names":[],"mappings":"AACA,OAAO,EAAoC,SAAS,EAAE,MAAM,cAAc,CAAC;AAC3E,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAI9C,OAAO,EAGL,KAAK,gBAAgB,EAGtB,MAAM,oBAAoB,CAAC;AAE5B,UAAU,KAAK;IACb,aAAa,EAAE,KAAK,GAAG,SAAS,CAAC;IACjC,aAAa,EAAE,CAAC,KAAK,EAAE,KAAK,GAAG,SAAS,KAAK,IAAI,CAAC;IAClD,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;OAGG;IACH,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B,qBAAqB,CAAC,EAAE,SAAS,CAAC;IAClC,OAAO,CAAC,EAAE,KAAK,EAAE,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC9B,gBAAgB,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;CAChC;AAED;;GAEG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACnC,aAAa,EACb,aAAa,EACb,YAAY,EACZ,iBAAiB,EACjB,UAAU,EACV,qBAAqB,EACrB,OAAO,EAAE,eAAe,EACxB,UAAe,EACf,eAA2B,EAC3B,gBAA4B,GAC7B,EAAE,KAAK,+BA+IP"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryStatusCount.d.ts","sourceRoot":"","sources":["../../../../../src/react-query/components/query-browser/QueryStatusCount.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAoB,MAAM,OAAO,CAAC;AAU7C,UAAU,qBAAqB;IAC7B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACjD,sDAAsD;IACtD,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;CAC5B;AAED;;GAEG;AACH,QAAA,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CA0G/C,CAAC;AAuBF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"QueryStatusCount.d.ts","sourceRoot":"","sources":["../../../../../src/react-query/components/query-browser/QueryStatusCount.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAM3B,UAAU,qBAAqB;IAC7B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACjD,sDAAsD;IACtD,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;CAC5B;AAED;;GAEG;AACH,QAAA,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CA8E/C,CAAC;AAGF,eAAe,gBAAgB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"StorageStatusCount.d.ts","sourceRoot":"","sources":["../../../../../src/react-query/components/query-browser/StorageStatusCount.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAoB,MAAM,OAAO,CAAC;AAQ7C,OAAO,EACL,WAAW,EAGZ,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAEtE,UAAU,uBAAuB;IAC/B,kBAAkB,CAAC,EAAE,GAAG,CAAC,WAAW,CAAC,CAAC;IACtC,oBAAoB,CAAC,EAAE,CAAC,YAAY,EAAE,GAAG,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IAChE,MAAM,CAAC,EAAE,iBAAiB,CAAC;CAC5B;AAID;;;;;;GAMG;AACH,QAAA,MAAM,kBAAkB,EAAE,EAAE,CAAC,uBAAuB,CAwEnD,CAAC;AAuBF,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"StorageStatusCount.d.ts","sourceRoot":"","sources":["../../../../../src/react-query/components/query-browser/StorageStatusCount.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAI3B,OAAO,EACL,WAAW,EAGZ,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAEtE,UAAU,uBAAuB;IAC/B,kBAAkB,CAAC,EAAE,GAAG,CAAC,WAAW,CAAC,CAAC;IACtC,oBAAoB,CAAC,EAAE,CAAC,YAAY,EAAE,GAAG,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IAChE,MAAM,CAAC,EAAE,iBAAiB,CAAC;CAC5B;AAID;;;;;;GAMG;AACH,QAAA,MAAM,kBAAkB,EAAE,EAAE,CAAC,uBAAuB,CA4CnD,CAAC;AAGF,eAAe,kBAAkB,CAAC"}
@@ -9,6 +9,7 @@
9
9
  * 2. The store will emit events for query/mutation state changes
10
10
  * 3. The Events DevTools subscribes to these events
11
11
  */
12
+ import { ChangeLog } from "@buoy-gg/shared-ui";
12
13
  import type { QueryClient, Query, Mutation } from "@tanstack/react-query";
13
14
  /**
14
15
  * React Query event types for the unified timeline
@@ -35,13 +36,11 @@ export interface ReactQueryEvent {
35
36
  mutation?: Mutation;
36
37
  }
37
38
  type ReactQueryEventListener = (events: ReactQueryEvent[]) => void;
38
- declare class ReactQueryEventStore {
39
- private events;
40
- private listeners;
39
+ declare class ReactQueryEventStore extends ChangeLog<ReactQueryEvent> {
41
40
  private queryClient;
42
41
  private queryUnsubscribe;
43
42
  private mutationUnsubscribe;
44
- private maxEvents;
43
+ constructor();
45
44
  private fetchStartTimes;
46
45
  private mutationStartTimes;
47
46
  private lastQueryStates;
@@ -75,10 +74,6 @@ declare class ReactQueryEventStore {
75
74
  * Subscribe to event changes
76
75
  */
77
76
  subscribe(listener: ReactQueryEventListener): () => void;
78
- /**
79
- * Notify all listeners
80
- */
81
- private notifyListeners;
82
77
  /**
83
78
  * Clear all events
84
79
  */
@@ -1 +1 @@
1
- {"version":3,"file":"reactQueryEventStore.d.ts","sourceRoot":"","sources":["../../../../src/react-query/stores/reactQueryEventStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAG1E;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAC3B,mBAAmB,GACnB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,gBAAgB,GAChB,kBAAkB,GAClB,gBAAgB,CAAC;AAErB;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,mBAAmB,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC;IAElB,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,EAAE,CAAC;IACxB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB;AAED,KAAK,uBAAuB,GAAG,CAAC,MAAM,EAAE,eAAe,EAAE,KAAK,IAAI,CAAC;AAOnE,cAAM,oBAAoB;IACxB,OAAO,CAAC,MAAM,CAAyB;IACvC,OAAO,CAAC,SAAS,CAA2C;IAC5D,OAAO,CAAC,WAAW,CAA4B;IAC/C,OAAO,CAAC,gBAAgB,CAA6B;IACrD,OAAO,CAAC,mBAAmB,CAA6B;IACxD,OAAO,CAAC,SAAS,CAAO;IAGxB,OAAO,CAAC,eAAe,CAAkC;IACzD,OAAO,CAAC,kBAAkB,CAAkC;IAG5D,OAAO,CAAC,eAAe,CAAmE;IAC1F,OAAO,CAAC,kBAAkB,CAAkC;IAE5D;;;OAGG;IACH,cAAc,CAAC,WAAW,EAAE,WAAW,GAAG,IAAI;IAqB9C;;OAEG;IACH,UAAU,IAAI,IAAI;IAgBlB;;OAEG;IACH,OAAO,CAAC,iBAAiB;IA6FzB;;OAEG;IACH,OAAO,CAAC,oBAAoB;IA4D5B;;OAEG;IACH,OAAO,CAAC,QAAQ;IAKhB;;OAEG;IACH,SAAS,IAAI,eAAe,EAAE;IAI9B;;OAEG;IACH,SAAS,CAAC,QAAQ,EAAE,uBAAuB,GAAG,MAAM,IAAI;IASxD;;OAEG;IACH,OAAO,CAAC,eAAe;IAKvB;;OAEG;IACH,WAAW,IAAI,IAAI;IAKnB;;OAEG;IACH,WAAW,IAAI,OAAO;CAGvB;AAGD,eAAO,MAAM,oBAAoB,sBAA6B,CAAC;AAG/D,eAAO,MAAM,cAAc,GAAI,aAAa,WAAW,SACL,CAAC;AACnD,eAAO,MAAM,qBAAqB,YAA0C,CAAC;AAC7E,eAAO,MAAM,mBAAmB,yBAAyC,CAAC;AAC1E,eAAO,MAAM,2BAA2B,GAAI,UAAU,uBAAuB,WAzCvB,IA0CZ,CAAC;AAC3C,eAAO,MAAM,qBAAqB,YAA2C,CAAC;AAC9E,eAAO,MAAM,qBAAqB,eAA2C,CAAC"}
1
+ {"version":3,"file":"reactQueryEventStore.d.ts","sourceRoot":"","sources":["../../../../src/react-query/stores/reactQueryEventStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAG1E;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAC3B,mBAAmB,GACnB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,gBAAgB,GAChB,kBAAkB,GAClB,gBAAgB,CAAC;AAErB;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,mBAAmB,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC;IAElB,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,EAAE,CAAC;IACxB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB;AAED,KAAK,uBAAuB,GAAG,CAAC,MAAM,EAAE,eAAe,EAAE,KAAK,IAAI,CAAC;AAOnE,cAAM,oBAAqB,SAAQ,SAAS,CAAC,eAAe,CAAC;IAC3D,OAAO,CAAC,WAAW,CAA4B;IAC/C,OAAO,CAAC,gBAAgB,CAA6B;IACrD,OAAO,CAAC,mBAAmB,CAA6B;;IAOxD,OAAO,CAAC,eAAe,CAAkC;IACzD,OAAO,CAAC,kBAAkB,CAAkC;IAG5D,OAAO,CAAC,eAAe,CAAmE;IAC1F,OAAO,CAAC,kBAAkB,CAAkC;IAE5D;;;OAGG;IACH,cAAc,CAAC,WAAW,EAAE,WAAW,GAAG,IAAI;IAqB9C;;OAEG;IACH,UAAU,IAAI,IAAI;IAgBlB;;OAEG;IACH,OAAO,CAAC,iBAAiB;IA6FzB;;OAEG;IACH,OAAO,CAAC,oBAAoB;IA4D5B;;OAEG;IACH,OAAO,CAAC,QAAQ;IAIhB;;OAEG;IACH,SAAS,IAAI,eAAe,EAAE;IAI9B;;OAEG;IACM,SAAS,CAAC,QAAQ,EAAE,uBAAuB,GAAG,MAAM,IAAI;IAOjE;;OAEG;IACH,WAAW,IAAI,IAAI;IAInB;;OAEG;IACH,WAAW,IAAI,OAAO;CAGvB;AAGD,eAAO,MAAM,oBAAoB,sBAA6B,CAAC;AAG/D,eAAO,MAAM,cAAc,GAAI,aAAa,WAAW,SACL,CAAC;AACnD,eAAO,MAAM,qBAAqB,YAA0C,CAAC;AAC7E,eAAO,MAAM,mBAAmB,yBAAyC,CAAC;AAC1E,eAAO,MAAM,2BAA2B,GAAI,UAAU,uBAAuB,WA9Bd,IA+BrB,CAAC;AAC3C,eAAO,MAAM,qBAAqB,YAA2C,CAAC;AAC9E,eAAO,MAAM,qBAAqB,eAA2C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"snapshotProvider.d.ts","sourceRoot":"","sources":["../../../../src/react-query/sync/snapshotProvider.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,KAAK,EAAE,WAAW,EAAc,MAAM,uBAAuB,CAAC;AACrE,OAAO,EAGL,KAAK,qBAAqB,EAK3B,MAAM,oBAAoB,CAAC;AA8G5B,wBAAgB,2BAA2B,CACzC,WAAW,EAAE,WAAW,GACvB,qBAAqB,CAwMvB;AAED,4EAA4E;AAC5E,wBAAgB,6BAA6B,CAC3C,WAAW,EAAE,WAAW,GACvB,MAAM,IAAI,CAEZ"}
1
+ {"version":3,"file":"snapshotProvider.d.ts","sourceRoot":"","sources":["../../../../src/react-query/sync/snapshotProvider.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,KAAK,EAAE,WAAW,EAAc,MAAM,uBAAuB,CAAC;AACrE,OAAO,EAOL,KAAK,qBAAqB,EAK3B,MAAM,oBAAoB,CAAC;AA2G5B,wBAAgB,2BAA2B,CACzC,WAAW,EAAE,WAAW,GACvB,qBAAqB,CAmKvB;AAED,4EAA4E;AAC5E,wBAAgB,6BAA6B,CAC3C,WAAW,EAAE,WAAW,GACvB,MAAM,IAAI,CAEZ"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@buoy-gg/react-query",
3
- "version": "7.0.33",
3
+ "version": "7.0.35",
4
4
  "description": "TanStack Query devtools inside your React Native app — cache inspection, refetch & invalidate, offline toggle. Part of Buoy devtools.",
5
5
  "main": "lib/commonjs/index.js",
6
6
  "module": "lib/module/index.js",
@@ -29,8 +29,8 @@
29
29
  "**/snapshotProvider.ts"
30
30
  ],
31
31
  "dependencies": {
32
- "@buoy-gg/floating-tools-core": "^7.0.33",
33
- "@buoy-gg/shared-ui": "^7.0.33"
32
+ "@buoy-gg/shared-ui": "^7.0.35",
33
+ "@buoy-gg/floating-tools-core": "^7.0.35"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "@tanstack/react-query": ">=5.0.0",