feat: tanstack query demos (#4276)

* chore(@vben/request): add axios-retry

* feat: error retry

* feat: paginated queries

* feat: infinite queries

* chore: update

* chore: update

* fix: ci error

* chore: update

* chore: remove axios-retry

* chore: update deps

* chore: update deps

* chore: update deps

* chore: update pnpm.lock

---------

Co-authored-by: vince <vince292007@gmail.com>
This commit is contained in:
Li Kui
2024-09-08 19:39:19 +08:00
committed by GitHub
parent 56e66193fc
commit 86ed732ca8
9 changed files with 239 additions and 0 deletions

38
pnpm-lock.yaml generated
View File

@@ -1156,6 +1156,9 @@ importers:
playground:
dependencies:
'@tanstack/vue-query':
specifier: ^5.53.1
version: 5.54.2(vue@3.5.3(typescript@5.5.4))
'@vben/access':
specifier: workspace:*
version: link:../packages/effects/access
@@ -3976,12 +3979,28 @@ packages:
peerDependencies:
tailwindcss: '>=3.0.0 || insiders || >=4.0.0-alpha.20'
'@tanstack/match-sorter-utils@8.19.4':
resolution: {integrity: sha512-Wo1iKt2b9OT7d+YGhvEPD3DXvPv2etTusIMhMUoG7fbhmxcXCtIjJDEygy91Y2JFlwGyjqiBPRozme7UD8hoqg==}
engines: {node: '>=12'}
'@tanstack/query-core@5.54.1':
resolution: {integrity: sha512-hKS+WRpT5zBFip21pB6Jx1C0hranWQrbv5EJ7qPoiV5MYI3C8rTCqWC9DdBseiPT1JgQWh8Y55YthuYZNiw3Xw==}
'@tanstack/store@0.5.5':
resolution: {integrity: sha512-EOSrgdDAJExbvRZEQ/Xhh9iZchXpMN+ga1Bnk8Nmygzs8TfiE6hbzThF+Pr2G19uHL6+DTDTHhJ8VQiOd7l4tA==}
'@tanstack/virtual-core@3.9.0':
resolution: {integrity: sha512-Saga7/QRGej/IDCVP5BgJ1oDqlDT2d9rQyoflS3fgMS8ntJ8JGw/LBqK2GorHa06+VrNFc0tGz65XQHJQJetFQ==}
'@tanstack/vue-query@5.54.2':
resolution: {integrity: sha512-GYIYee9WkUbPDD28t1kdNNtLCioiIva0MhKCvODGWoEML5MNONCX4/i4y2GGFi8i9nSbcA8MpvD+nt/tdZ+yJw==}
peerDependencies:
'@vue/composition-api': ^1.1.2
vue: 3.5.3
peerDependenciesMeta:
'@vue/composition-api':
optional: true
'@tanstack/vue-store@0.5.5':
resolution: {integrity: sha512-j+CDrxVhtQQNOjWzLmCqJeDwmmTAQGvEaNbLr1uPJ9rxJITodJtFNdBFj7l+Nd5o34v2ayEv64Ugh6+1BtuGNg==}
peerDependencies:
@@ -8442,6 +8461,9 @@ packages:
resolution: {integrity: sha512-G08Dxvm4iDN3MLM0EsP62EDV9IuhXPR6blNz6Utcp7zyV3tr4HVNINt6MpaRWbxoOHT3Q7YN2P+jaHX8vUbgog==}
engines: {node: '>= 0.10'}
remove-accents@0.5.0:
resolution: {integrity: sha512-8g3/Otx1eJaVD12e31UbJj1YzdtVvzH85HV7t+9MJYk/u3XmkOUJ5Ys9wQrf9PCPK8+xn4ymzqYCiZl6QWKn+A==}
repeat-string@1.6.1:
resolution: {integrity: sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w==}
engines: {node: '>=0.10'}
@@ -12909,10 +12931,24 @@ snapshots:
postcss-selector-parser: 6.0.10
tailwindcss: 3.4.10
'@tanstack/match-sorter-utils@8.19.4':
dependencies:
remove-accents: 0.5.0
'@tanstack/query-core@5.54.1': {}
'@tanstack/store@0.5.5': {}
'@tanstack/virtual-core@3.9.0': {}
'@tanstack/vue-query@5.54.2(vue@3.5.3(typescript@5.5.4))':
dependencies:
'@tanstack/match-sorter-utils': 8.19.4
'@tanstack/query-core': 5.54.1
'@vue/devtools-api': 6.6.3
vue: 3.5.3(typescript@5.5.4)
vue-demi: 0.14.10(vue@3.5.3(typescript@5.5.4))
'@tanstack/vue-store@0.5.5(vue@3.5.3(typescript@5.5.4))':
dependencies:
'@tanstack/store': 0.5.5
@@ -17933,6 +17969,8 @@ snapshots:
relateurl@0.2.7: {}
remove-accents@0.5.0: {}
repeat-string@1.6.1: {}
require-directory@2.1.1: {}