@buoy-gg/react-query 7.0.34 → 7.0.36
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/lib/commonjs/react-query/components/DataEditorMode.js +2 -2
- package/lib/commonjs/react-query/components/FilterStatusBadge.js +1 -1
- package/lib/commonjs/react-query/components/MutationEditorMode.js +2 -2
- package/lib/commonjs/react-query/components/query-browser/MutationButton.js +2 -2
- package/lib/commonjs/react-query/components/query-browser/MutationDetails.js +4 -4
- package/lib/commonjs/react-query/components/query-browser/MutationDetailsChips.js +1 -1
- package/lib/commonjs/react-query/components/query-browser/MutationInformation.js +1 -1
- package/lib/commonjs/react-query/components/query-browser/MutationsList.js +1 -1
- package/lib/commonjs/react-query/components/query-browser/QueryBrowser.js +1 -1
- package/lib/commonjs/react-query/components/query-browser/QueryDetails.js +4 -4
- package/lib/commonjs/react-query/components/query-browser/QueryDetailsChip.js +1 -1
- package/lib/commonjs/react-query/sync/reactQuerySyncAdapter.js +399 -6
- package/lib/module/react-query/components/DataEditorMode.js +3 -3
- package/lib/module/react-query/components/FilterStatusBadge.js +2 -2
- package/lib/module/react-query/components/MutationEditorMode.js +3 -3
- package/lib/module/react-query/components/query-browser/MutationButton.js +3 -3
- package/lib/module/react-query/components/query-browser/MutationDetails.js +5 -5
- package/lib/module/react-query/components/query-browser/MutationDetailsChips.js +2 -2
- package/lib/module/react-query/components/query-browser/MutationInformation.js +2 -2
- package/lib/module/react-query/components/query-browser/MutationsList.js +2 -2
- package/lib/module/react-query/components/query-browser/QueryBrowser.js +2 -2
- package/lib/module/react-query/components/query-browser/QueryDetails.js +5 -5
- package/lib/module/react-query/components/query-browser/QueryDetailsChip.js +2 -2
- package/lib/module/react-query/sync/reactQuerySyncAdapter.js +400 -6
- package/lib/typescript/react-query/components/query-browser/QueryBrowser.d.ts.map +1 -1
- package/lib/typescript/react-query/sync/reactQuerySyncAdapter.d.ts +100 -16
- package/lib/typescript/react-query/sync/reactQuerySyncAdapter.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { View, Text, StyleSheet, ScrollView } from "react-native";
|
|
4
4
|
import { useQueryClient } from "@tanstack/react-query";
|
|
5
|
-
import { useSafeAreaInsets, night } from "@buoy-gg/shared-ui";
|
|
5
|
+
import { useSafeAreaInsets, night, monoFont } from "@buoy-gg/shared-ui";
|
|
6
6
|
import Explorer from "./query-browser/Explorer";
|
|
7
7
|
import QueryDetails from "./query-browser/QueryDetails";
|
|
8
8
|
import ActionButton from "./query-browser/ActionButton";
|
|
@@ -270,7 +270,7 @@ const styles = StyleSheet.create({
|
|
|
270
270
|
borderBottomColor: night.color.accent + "33",
|
|
271
271
|
letterSpacing: 0.5,
|
|
272
272
|
textTransform: "uppercase",
|
|
273
|
-
fontFamily:
|
|
273
|
+
fontFamily: monoFont
|
|
274
274
|
},
|
|
275
275
|
queryExplorerContent: {
|
|
276
276
|
padding: 8
|
|
@@ -303,7 +303,7 @@ const styles = StyleSheet.create({
|
|
|
303
303
|
borderBottomColor: night.color.accent + "33",
|
|
304
304
|
letterSpacing: 0.5,
|
|
305
305
|
textTransform: "uppercase",
|
|
306
|
-
fontFamily:
|
|
306
|
+
fontFamily: monoFont
|
|
307
307
|
},
|
|
308
308
|
dataContent: {
|
|
309
309
|
padding: 8
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import { View, Text, StyleSheet, TouchableOpacity } from "react-native";
|
|
4
|
-
import { night } from "@buoy-gg/shared-ui";
|
|
4
|
+
import { night, monoFont } from "@buoy-gg/shared-ui";
|
|
5
5
|
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
6
6
|
/**
|
|
7
7
|
* Compact badge showing filter status (e.g., "Showing 5 of 12")
|
|
@@ -46,6 +46,6 @@ const styles = StyleSheet.create({
|
|
|
46
46
|
text: {
|
|
47
47
|
fontSize: 9,
|
|
48
48
|
color: night.color.textTertiary,
|
|
49
|
-
fontFamily:
|
|
49
|
+
fontFamily: monoFont
|
|
50
50
|
}
|
|
51
51
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import { View, Text, StyleSheet, ScrollView } from "react-native";
|
|
4
|
-
import { useSafeAreaInsets, night } from "@buoy-gg/shared-ui";
|
|
4
|
+
import { useSafeAreaInsets, night, monoFont } from "@buoy-gg/shared-ui";
|
|
5
5
|
import Explorer from "./query-browser/Explorer";
|
|
6
6
|
import MutationDetails from "./query-browser/MutationDetails";
|
|
7
7
|
import ActionButton from "./query-browser/ActionButton";
|
|
@@ -230,7 +230,7 @@ const styles = StyleSheet.create({
|
|
|
230
230
|
borderBottomColor: night.color.accent + "33",
|
|
231
231
|
letterSpacing: 0.5,
|
|
232
232
|
textTransform: "uppercase",
|
|
233
|
-
fontFamily:
|
|
233
|
+
fontFamily: monoFont
|
|
234
234
|
},
|
|
235
235
|
mutationExplorerContent: {
|
|
236
236
|
padding: 8
|
|
@@ -262,7 +262,7 @@ const styles = StyleSheet.create({
|
|
|
262
262
|
borderBottomColor: night.color.accent + "33",
|
|
263
263
|
letterSpacing: 0.5,
|
|
264
264
|
textTransform: "uppercase",
|
|
265
|
-
fontFamily:
|
|
265
|
+
fontFamily: monoFont
|
|
266
266
|
},
|
|
267
267
|
dataContent: {
|
|
268
268
|
padding: 8
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { TouchableOpacity, Text, View, StyleSheet } from "react-native";
|
|
4
4
|
import { CheckCircle, LoadingCircle, PauseCircle, XCircle } from "./svgs";
|
|
5
|
-
import { buoyColors, night, useRelativeTime } from "@buoy-gg/shared-ui";
|
|
5
|
+
import { buoyColors, night, useRelativeTime, monoFont } from "@buoy-gg/shared-ui";
|
|
6
6
|
import { mutationRowTestID } from "../../utils/testIDs";
|
|
7
7
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
8
8
|
const getMutationText = mutation => {
|
|
@@ -168,7 +168,7 @@ const styles = StyleSheet.create({
|
|
|
168
168
|
paddingHorizontal: 12
|
|
169
169
|
},
|
|
170
170
|
mutationKey: {
|
|
171
|
-
fontFamily:
|
|
171
|
+
fontFamily: monoFont,
|
|
172
172
|
fontSize: 12,
|
|
173
173
|
color: night.color.text,
|
|
174
174
|
lineHeight: 16
|
|
@@ -181,6 +181,6 @@ const styles = StyleSheet.create({
|
|
|
181
181
|
bottomRightText: {
|
|
182
182
|
fontSize: 9,
|
|
183
183
|
color: night.color.textTertiary,
|
|
184
|
-
fontFamily:
|
|
184
|
+
fontFamily: monoFont
|
|
185
185
|
}
|
|
186
186
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import { View, Text, ScrollView, StyleSheet } from "react-native";
|
|
4
|
-
import { displayValue, night } from "@buoy-gg/shared-ui";
|
|
4
|
+
import { displayValue, night, monoFont } from "@buoy-gg/shared-ui";
|
|
5
5
|
import MutationDetailsChips from "./MutationDetailsChips";
|
|
6
6
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
7
7
|
/**
|
|
@@ -73,7 +73,7 @@ const styles = StyleSheet.create({
|
|
|
73
73
|
borderBottomColor: night.color.accent + "33",
|
|
74
74
|
letterSpacing: 0.5,
|
|
75
75
|
textTransform: "uppercase",
|
|
76
|
-
fontFamily:
|
|
76
|
+
fontFamily: monoFont
|
|
77
77
|
},
|
|
78
78
|
row: {
|
|
79
79
|
flexDirection: "row",
|
|
@@ -91,7 +91,7 @@ const styles = StyleSheet.create({
|
|
|
91
91
|
flexWrap: {
|
|
92
92
|
fontSize: 12,
|
|
93
93
|
color: night.color.text,
|
|
94
|
-
fontFamily:
|
|
94
|
+
fontFamily: monoFont,
|
|
95
95
|
lineHeight: 18,
|
|
96
96
|
flexShrink: 1,
|
|
97
97
|
backgroundColor: night.color.accent + "15",
|
|
@@ -107,13 +107,13 @@ const styles = StyleSheet.create({
|
|
|
107
107
|
fontWeight: "600",
|
|
108
108
|
letterSpacing: 0.5,
|
|
109
109
|
textTransform: "uppercase",
|
|
110
|
-
fontFamily:
|
|
110
|
+
fontFamily: monoFont
|
|
111
111
|
},
|
|
112
112
|
valueText: {
|
|
113
113
|
fontSize: 12,
|
|
114
114
|
color: night.color.text,
|
|
115
115
|
fontWeight: "500",
|
|
116
116
|
fontVariant: ["tabular-nums"],
|
|
117
|
-
fontFamily:
|
|
117
|
+
fontFamily: monoFont
|
|
118
118
|
}
|
|
119
119
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import { Text, View, StyleSheet } from "react-native";
|
|
4
|
-
import { buoyColors } from "@buoy-gg/shared-ui";
|
|
4
|
+
import { buoyColors, monoFont } from "@buoy-gg/shared-ui";
|
|
5
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
6
|
const backgroundColors = {
|
|
7
7
|
success: buoyColors.success + "15",
|
|
@@ -59,6 +59,6 @@ const styles = StyleSheet.create({
|
|
|
59
59
|
fontWeight: "600",
|
|
60
60
|
textTransform: "uppercase",
|
|
61
61
|
letterSpacing: 0.5,
|
|
62
|
-
fontFamily:
|
|
62
|
+
fontFamily: monoFont
|
|
63
63
|
}
|
|
64
64
|
});
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import DataExplorer from "./Explorer";
|
|
4
4
|
import { ScrollView, Text, View, StyleSheet } from "react-native";
|
|
5
5
|
import MutationDetails from "./MutationDetails";
|
|
6
|
-
import { night } from "@buoy-gg/shared-ui";
|
|
6
|
+
import { night, monoFont } from "@buoy-gg/shared-ui";
|
|
7
7
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
8
8
|
/** Detailed information block for a selected mutation within the modal experience. */
|
|
9
9
|
export default function MutationInformation({
|
|
@@ -97,7 +97,7 @@ const styles = StyleSheet.create({
|
|
|
97
97
|
borderTopRightRadius: 8,
|
|
98
98
|
borderBottomWidth: 1,
|
|
99
99
|
borderBottomColor: night.color.accent + "33",
|
|
100
|
-
fontFamily:
|
|
100
|
+
fontFamily: monoFont,
|
|
101
101
|
letterSpacing: 1,
|
|
102
102
|
textTransform: "uppercase"
|
|
103
103
|
},
|
|
@@ -5,7 +5,7 @@ import { View, StyleSheet, PanResponder, Animated, Dimensions, FlatList } from "
|
|
|
5
5
|
import MutationButton from "./MutationButton";
|
|
6
6
|
import MutationInformation from "./MutationInformation";
|
|
7
7
|
import useAllMutations from "../../hooks/useAllMutations";
|
|
8
|
-
import { night, ToolEmptyState } from "@buoy-gg/shared-ui";
|
|
8
|
+
import { night, ToolEmptyState, monoFont } from "@buoy-gg/shared-ui";
|
|
9
9
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
10
|
/**
|
|
11
11
|
* Virtualized list of mutations with filtering and selection support for the mutation browser.
|
|
@@ -209,7 +209,7 @@ const styles = StyleSheet.create({
|
|
|
209
209
|
color: night.color.textTertiary,
|
|
210
210
|
fontSize: 14,
|
|
211
211
|
textAlign: "center",
|
|
212
|
-
fontFamily:
|
|
212
|
+
fontFamily: monoFont,
|
|
213
213
|
letterSpacing: 0.5
|
|
214
214
|
}
|
|
215
215
|
});
|
|
@@ -5,7 +5,7 @@ import { StyleSheet, FlatList } from "react-native";
|
|
|
5
5
|
import QueryRow from "./QueryRow";
|
|
6
6
|
import useAllQueries from "../../hooks/useAllQueries";
|
|
7
7
|
import { getQueryStatusLabel } from "../../utils/getQueryStatusLabel";
|
|
8
|
-
import { night, ToolEmptyState, EVENT_LIST_PRESET } from "@buoy-gg/shared-ui";
|
|
8
|
+
import { night, ToolEmptyState, EVENT_LIST_PRESET, monoFont } from "@buoy-gg/shared-ui";
|
|
9
9
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
10
|
/**
|
|
11
11
|
* Scrollable list view of cached queries with filtering support and selection handling.
|
|
@@ -170,7 +170,7 @@ const styles = StyleSheet.create({
|
|
|
170
170
|
color: night.color.textTertiary,
|
|
171
171
|
fontSize: 14,
|
|
172
172
|
textAlign: "center",
|
|
173
|
-
fontFamily:
|
|
173
|
+
fontFamily: monoFont,
|
|
174
174
|
letterSpacing: 0.5
|
|
175
175
|
}
|
|
176
176
|
});
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import QueryDetailsChip from "./QueryDetailsChip";
|
|
4
4
|
import { View, Text, ScrollView, StyleSheet } from "react-native";
|
|
5
|
-
import { displayValue, night } from "@buoy-gg/shared-ui";
|
|
5
|
+
import { displayValue, night, monoFont } from "@buoy-gg/shared-ui";
|
|
6
6
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
7
7
|
/**
|
|
8
8
|
* Renders the primary metadata summary for a selected query, including fetch status and timings.
|
|
@@ -90,7 +90,7 @@ const styles = StyleSheet.create({
|
|
|
90
90
|
borderBottomColor: night.color.accent + "33",
|
|
91
91
|
letterSpacing: 0.5,
|
|
92
92
|
textTransform: "uppercase",
|
|
93
|
-
fontFamily:
|
|
93
|
+
fontFamily: monoFont
|
|
94
94
|
},
|
|
95
95
|
row: {
|
|
96
96
|
flexDirection: "row",
|
|
@@ -108,7 +108,7 @@ const styles = StyleSheet.create({
|
|
|
108
108
|
queryKeyText: {
|
|
109
109
|
fontSize: 12,
|
|
110
110
|
color: night.color.text,
|
|
111
|
-
fontFamily:
|
|
111
|
+
fontFamily: monoFont,
|
|
112
112
|
lineHeight: 18,
|
|
113
113
|
flexShrink: 1,
|
|
114
114
|
backgroundColor: night.color.accent + "15",
|
|
@@ -124,13 +124,13 @@ const styles = StyleSheet.create({
|
|
|
124
124
|
fontWeight: "600",
|
|
125
125
|
letterSpacing: 0.5,
|
|
126
126
|
textTransform: "uppercase",
|
|
127
|
-
fontFamily:
|
|
127
|
+
fontFamily: monoFont
|
|
128
128
|
},
|
|
129
129
|
valueText: {
|
|
130
130
|
fontSize: 12,
|
|
131
131
|
color: night.color.text,
|
|
132
132
|
fontWeight: "500",
|
|
133
133
|
fontVariant: ["tabular-nums"],
|
|
134
|
-
fontFamily:
|
|
134
|
+
fontFamily: monoFont
|
|
135
135
|
}
|
|
136
136
|
});
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { getQueryStatusLabel } from "../../utils/getQueryStatusLabel";
|
|
4
4
|
import { Text, View, StyleSheet } from "react-native";
|
|
5
|
-
import { buoyColors } from "@buoy-gg/shared-ui";
|
|
5
|
+
import { buoyColors, monoFont } from "@buoy-gg/shared-ui";
|
|
6
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
7
|
const backgroundColors = {
|
|
8
8
|
fresh: buoyColors.success + "15",
|
|
@@ -69,6 +69,6 @@ const styles = StyleSheet.create({
|
|
|
69
69
|
fontWeight: "600",
|
|
70
70
|
textTransform: "uppercase",
|
|
71
71
|
letterSpacing: 0.5,
|
|
72
|
-
fontFamily:
|
|
72
|
+
fontFamily: monoFont
|
|
73
73
|
}
|
|
74
74
|
});
|