diff --git a/package.json b/package.json index f8fe67d..049ef74 100644 --- a/package.json +++ b/package.json @@ -76,7 +76,7 @@ "devDependencies": { "@commitlint/cli": "17.8.1", "@commitlint/config-conventional": "17.8.1", - "@graasp/query-client": "2.6.3", + "@graasp/query-client": "2.8.0", "@storybook/addon-coverage": "1.0.1", "@storybook/addon-essentials": "7.6.17", "@storybook/addon-interactions": "7.6.17", diff --git a/yarn.lock b/yarn.lock index f297e1b..7756248 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2324,7 +2324,7 @@ __metadata: "@commitlint/config-conventional": "npm:17.8.1" "@emotion/react": "npm:11.11.4" "@emotion/styled": "npm:11.11.0" - "@graasp/query-client": "npm:2.6.3" + "@graasp/query-client": "npm:2.8.0" "@graasp/sdk": "npm:3.8.3" "@graasp/translations": "npm:1.23.0" "@graasp/ui": "npm:4.5.1" @@ -2411,6 +2411,23 @@ __metadata: languageName: node linkType: hard +"@graasp/query-client@npm:2.8.0": + version: 2.8.0 + resolution: "@graasp/query-client@npm:2.8.0" + dependencies: + "@tanstack/react-query": "npm:4.36.1" + "@tanstack/react-query-devtools": "npm:4.36.1" + axios: "npm:1.6.7" + http-status-codes: "npm:2.3.0" + qs: "npm:6.11.2" + peerDependencies: + "@graasp/sdk": ^4.0.0 + "@graasp/translations": ^1.23.0 + react: ^18.0.0 + checksum: 45b85f125668c5824c26fc866a89d71ee38d886bf1172c0176bbd8b4f64eda88c47ea9668c9705ec5ef4c2dd1204464ae7d62befd72c82ac2963b1f2bee5f050 + languageName: node + linkType: hard + "@graasp/sdk@npm:3.5.0": version: 3.5.0 resolution: "@graasp/sdk@npm:3.5.0" @@ -5078,6 +5095,56 @@ __metadata: languageName: node linkType: hard +"@tanstack/match-sorter-utils@npm:^8.7.0": + version: 8.11.8 + resolution: "@tanstack/match-sorter-utils@npm:8.11.8" + dependencies: + remove-accents: "npm:0.4.2" + checksum: a74863bca3302a06cb3869bcea99c8091d1ccd023b8be7dded9e5e9d2695f7fe9c4ae65562b8e2ebdaf33554057d41bba2bf04a709b6af9940fefcee8ffc5c41 + languageName: node + linkType: hard + +"@tanstack/query-core@npm:4.36.1": + version: 4.36.1 + resolution: "@tanstack/query-core@npm:4.36.1" + checksum: 7c648872cd491bcab2aa4c18e0b7ca130c072f05c277a5876977fa3bfa87634bbfde46e9d249236587d78c39866889a02e4e202b478dc6074ff96093732ae56d + languageName: node + linkType: hard + +"@tanstack/react-query-devtools@npm:4.36.1": + version: 4.36.1 + resolution: "@tanstack/react-query-devtools@npm:4.36.1" + dependencies: + "@tanstack/match-sorter-utils": "npm:^8.7.0" + superjson: "npm:^1.10.0" + use-sync-external-store: "npm:^1.2.0" + peerDependencies: + "@tanstack/react-query": ^4.36.1 + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 + checksum: f21896c97a50304071d9ebe130c9d1ea35b29462830fd3f908b986690a9d7f018d76c7595406154d83e4e173ffc2fe0be5ae78f19b36f6df2a3f4d551776d2b7 + languageName: node + linkType: hard + +"@tanstack/react-query@npm:4.36.1": + version: 4.36.1 + resolution: "@tanstack/react-query@npm:4.36.1" + dependencies: + "@tanstack/query-core": "npm:4.36.1" + use-sync-external-store: "npm:^1.2.0" + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 + react-native: "*" + peerDependenciesMeta: + react-dom: + optional: true + react-native: + optional: true + checksum: 764b860c3ac8d254fc6b07e01054a0f58058644d59626c724b213293fbf1e31c198cbb26e4c32c0d16dcaec0353c0ae19147d9c667675b31f8cea1d64f1ff4ac + languageName: node + linkType: hard + "@testing-library/dom@npm:^9.0.0, @testing-library/dom@npm:^9.3.1": version: 9.3.4 resolution: "@testing-library/dom@npm:9.3.4" @@ -6647,7 +6714,7 @@ __metadata: languageName: node linkType: hard -"axios@npm:^1.6.1": +"axios@npm:1.6.7, axios@npm:^1.6.1": version: 1.6.7 resolution: "axios@npm:1.6.7" dependencies: @@ -7610,6 +7677,15 @@ __metadata: languageName: node linkType: hard +"copy-anything@npm:^3.0.2": + version: 3.0.5 + resolution: "copy-anything@npm:3.0.5" + dependencies: + is-what: "npm:^4.1.8" + checksum: 4c41385a94a1cff6352a954f9b1c05b6bb1b70713a2d31f4c7b188ae7187ce00ddcc9c09bd58d24cd35b67fc6dd84df5954c0be86ea10700ff74e677db3cb09c + languageName: node + linkType: hard + "core-js-compat@npm:^3.31.0, core-js-compat@npm:^3.34.0": version: 3.36.0 resolution: "core-js-compat@npm:3.36.0" @@ -10933,6 +11009,13 @@ __metadata: languageName: node linkType: hard +"is-what@npm:^4.1.8": + version: 4.1.16 + resolution: "is-what@npm:4.1.16" + checksum: f6400634bae77be6903365dc53817292e1c4d8db1b467515d0c842505b8388ee8e558326d5e6952cb2a9d74116eca2af0c6adb8aa7e9d5c845a130ce9328bf13 + languageName: node + linkType: hard + "is-windows@npm:^0.2.0": version: 0.2.0 resolution: "is-windows@npm:0.2.0" @@ -14375,6 +14458,13 @@ __metadata: languageName: node linkType: hard +"remove-accents@npm:0.4.2": + version: 0.4.2 + resolution: "remove-accents@npm:0.4.2" + checksum: 25d5c84f1355be60b42f8ad8a1ba29c2413dead138a9e2a88633e4fc94a1b953afe306dd27479125aef231d267482c54d292e558b04ec100fb9adf063ccbf75a + languageName: node + linkType: hard + "remove-accents@npm:0.5.0": version: 0.5.0 resolution: "remove-accents@npm:0.5.0" @@ -15414,6 +15504,15 @@ __metadata: languageName: node linkType: hard +"superjson@npm:^1.10.0": + version: 1.13.3 + resolution: "superjson@npm:1.13.3" + dependencies: + copy-anything: "npm:^3.0.2" + checksum: 71a186c513a9821e58264c0563cd1b3cf07d3b5ba53a09cc5c1a604d8ffeacac976a6ba1b5d5b3c71b6ab5a1941dfba5a15e3f106ad3ef22fe8d5eee3e2be052 + languageName: node + linkType: hard + "supports-color@npm:^5.3.0": version: 5.5.0 resolution: "supports-color@npm:5.5.0" @@ -16192,6 +16291,15 @@ __metadata: languageName: node linkType: hard +"use-sync-external-store@npm:^1.2.0": + version: 1.2.0 + resolution: "use-sync-external-store@npm:1.2.0" + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + checksum: a676216affc203876bd47981103f201f28c2731361bb186367e12d287a7566763213a8816910c6eb88265eccd4c230426eb783d64c373c4a180905be8820ed8e + languageName: node + linkType: hard + "util-deprecate@npm:^1.0.1, util-deprecate@npm:^1.0.2, util-deprecate@npm:~1.0.1": version: 1.0.2 resolution: "util-deprecate@npm:1.0.2"