frontend: pull tanstack's query storage & persist clients

Pedro Lucas Porcellis porcellis@eletrotupi.com 1 month ago 17dd47ad86ed5f8c9bc9360a4eb3917a7a635c8d
Parents: 391cc72
2 file(s) changed
  • frontend/package-lock.json +46 -0
  • frontend/package.json +2 -0
frontend/package-lock.json
@@ -16,7 +16,9 @@ "@react-native-community/slider": "5.0.1",
16 16 "@react-navigation/bottom-tabs": "^7.4.0",
17 17 "@react-navigation/elements": "^2.6.3",
18 18 "@react-navigation/native": "^7.1.8",
19 + "@tanstack/query-sync-storage-persister": "^5.100.10",
19 20 "@tanstack/react-query": "^5.100.10",
21 + "@tanstack/react-query-persist-client": "^5.100.10",
20 22 "expo": "~54.0.34",
21 23 "expo-constants": "~18.0.13",
22 24 "expo-dev-client": "~6.0.21",
@@ -3177,6 +3179,33 @@ "type": "github",
3177 3179 "url": "https://github.com/sponsors/tannerlinsley"
3178 3180 }
3179 3181 },
3182 + "node_modules/@tanstack/query-persist-client-core": {
3183 + "version": "5.100.10",
3184 + "resolved": "https://registry.npmjs.org/@tanstack/query-persist-client-core/-/query-persist-client-core-5.100.10.tgz",
3185 + "integrity": "sha512-O9Pey40DhTTDBABS0bHr+KNL5/VMf6PrqjexS8WoDDtnkaoWM+y0MSe0V9E5W+BwvkjM33mB3aYcCxa175gZTQ==",
3186 + "license": "MIT",
3187 + "dependencies": {
3188 + "@tanstack/query-core": "5.100.10"
3189 + },
3190 + "funding": {
3191 + "type": "github",
3192 + "url": "https://github.com/sponsors/tannerlinsley"
3193 + }
3194 + },
3195 + "node_modules/@tanstack/query-sync-storage-persister": {
3196 + "version": "5.100.10",
3197 + "resolved": "https://registry.npmjs.org/@tanstack/query-sync-storage-persister/-/query-sync-storage-persister-5.100.10.tgz",
3198 + "integrity": "sha512-DKEQkz7S7gtJ7KFvfAhZOd8p8SKSIgg/jGWzKzEgE8L2ienGx5/qMuTr8S/Al21TC6M9/uOmFOeFJl4J71RZnA==",
3199 + "license": "MIT",
3200 + "dependencies": {
3201 + "@tanstack/query-core": "5.100.10",
3202 + "@tanstack/query-persist-client-core": "5.100.10"
3203 + },
3204 + "funding": {
3205 + "type": "github",
3206 + "url": "https://github.com/sponsors/tannerlinsley"
3207 + }
3208 + },
3180 3209 "node_modules/@tanstack/react-query": {
3181 3210 "version": "5.100.10",
3182 3211 "resolved": "https://registry.npmjs.org/@tanstack/react-query/-/react-query-5.100.10.tgz",
@@ -3190,6 +3219,23 @@ "type": "github",
3190 3219 "url": "https://github.com/sponsors/tannerlinsley"
3191 3220 },
3192 3221 "peerDependencies": {
3222 + "react": "^18 || ^19"
3223 + }
3224 + },
3225 + "node_modules/@tanstack/react-query-persist-client": {
3226 + "version": "5.100.10",
3227 + "resolved": "https://registry.npmjs.org/@tanstack/react-query-persist-client/-/react-query-persist-client-5.100.10.tgz",
3228 + "integrity": "sha512-EImacngLXYEtzlrIPf8IAqKN3foS7cmSj4GWqsHJvc7K+8fy2c3s7mdV8oTJeii/TvrzO4X9fcnXi6tUHMIOHA==",
3229 + "license": "MIT",
3230 + "dependencies": {
3231 + "@tanstack/query-persist-client-core": "5.100.10"
3232 + },
3233 + "funding": {
3234 + "type": "github",
3235 + "url": "https://github.com/sponsors/tannerlinsley"
3236 + },
3237 + "peerDependencies": {
3238 + "@tanstack/react-query": "^5.100.10",
3193 3239 "react": "^18 || ^19"
3194 3240 }
3195 3241 },
frontend/package.json
@@ -18,7 +18,9 @@ "@react-native-community/slider": "5.0.1",
18 18 "@react-navigation/bottom-tabs": "^7.4.0",
19 19 "@react-navigation/elements": "^2.6.3",
20 20 "@react-navigation/native": "^7.1.8",
21 + "@tanstack/query-sync-storage-persister": "^5.100.10",
21 22 "@tanstack/react-query": "^5.100.10",
23 + "@tanstack/react-query-persist-client": "^5.100.10",
22 24 "expo": "~54.0.34",
23 25 "expo-constants": "~18.0.13",
24 26 "expo-dev-client": "~6.0.21",