feat: add new audioPlayer route and allow reordering queue

This commit is contained in:
Prayag Prajapati committed 2024-07-31 11:41:44 +05:30
1 parent d824823624
commit 7a2e4ae595
17 files changed
+629 -219

No files matched your search

+145 -2
View File
@@ -107,6 +107,12 @@ importers:
react-blurhash:
specifier: ^0.3.0
version: 0.3.0(blurhash@2.0.5)(react@18.3.1)
react-dnd:
specifier: ^16.0.1
version: 16.0.1(@types/node@22.0.0)(@types/react@18.3.3)(react@18.3.1)
react-dnd-html5-backend:
specifier: ^16.0.1
version: 16.0.1
react-dom:
specifier: 18.3.1
version: 18.3.1(react@18.3.1)
@@ -141,6 +147,9 @@ importers:
specifier: ^4.5.4
version: 4.5.4(@types/react@18.3.3)(react@18.3.1)
devDependencies:
'@babel/plugin-proposal-optional-chaining-assign':
specifier: ^7.24.7
version: 7.24.7(@babel/core@7.24.9)
'@biomejs/biome':
specifier: ^1.8.3
version: 1.8.3
@@ -228,6 +237,10 @@ packages:
resolution: {integrity: sha512-zBAIvbCMh5Ts+b86r/CjU+4XGYIs+R1j951gxI3KmmxBMhCg4oQMsv6ZXQ64XOm/cvzfU1FmoCyt6+owc5QMYg==}
engines: {node: '>=6.9.0'}
'@babel/helper-skip-transparent-expression-wrappers@7.24.7':
resolution: {integrity: sha512-IO+DLT3LQUElMbpzlatRASEyQtfhSE0+m465v++3jyyXeBTBUjtVZg28/gHeV5mrTJqvEKhKroBGAvhW+qPHiQ==}
engines: {node: '>=6.9.0'}
'@babel/helper-string-parser@7.24.8':
resolution: {integrity: sha512-pO9KhhRcuUyGnJWwyEgnRJTSIZHiT+vMD0kPeD+so0l7mxkMT19g3pjY9GTnHySck/hDzq+dtW/4VgnMkippsQ==}
engines: {node: '>=6.9.0'}
@@ -253,18 +266,41 @@ packages:
engines: {node: '>=6.0.0'}
hasBin: true
'@babel/plugin-proposal-optional-chaining-assign@7.24.7':
resolution: {integrity: sha512-a7+U9LJ06lqftkbRQB8P0tTIADoQhzZMl3owT/Rly7JZjcpDX/VNauogJmuK5VIBJN91jQMUd8EGPTpNehvvFQ==}
engines: {node: '>=6.9.0'}
peerDependencies:
'@babel/core': ^7.22.5
'@babel/plugin-syntax-jsx@7.24.7':
resolution: {integrity: sha512-6ddciUPe/mpMnOKv/U+RSd2vvVy+Yw/JfBB0ZHYjEZt9NLHmCUylNYlsbqCCS1Bffjlb0fCwC9Vqz+sBz6PsiQ==}
engines: {node: '>=6.9.0'}
peerDependencies:
'@babel/core': ^7.0.0-0
'@babel/plugin-syntax-optional-chaining-assign@7.24.7':
resolution: {integrity: sha512-syk5SNtBRAMFM32edresIIKDfJh4KHdJU8Cc5WLhUx2iRVovERCfiBaxJaZ5M1p4fxnVznc7ioSe21qPMCSwhw==}
engines: {node: '>=6.9.0'}
peerDependencies:
'@babel/core': ^7.0.0-0
'@babel/plugin-syntax-optional-chaining@7.8.3':
resolution: {integrity: sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==}
peerDependencies:
'@babel/core': ^7.0.0-0
'@babel/plugin-syntax-typescript@7.24.7':
resolution: {integrity: sha512-c/+fVeJBB0FeKsFvwytYiUD+LBvhHjGSI0g446PRGdSVGZLRNArBUno2PETbAly3tpiNAQR5XaZ+JslxkotsbA==}
engines: {node: '>=6.9.0'}
peerDependencies:
'@babel/core': ^7.0.0-0
'@babel/plugin-transform-optional-chaining@7.24.8':
resolution: {integrity: sha512-5cTOLSMs9eypEy8JUVvIKOu6NgvbJMnpG62VpIHrTmROdQ+L5mDAaI40g25k5vXti55JWNX5jCkq3HZxXBQANw==}
engines: {node: '>=6.9.0'}
peerDependencies:
'@babel/core': ^7.0.0-0
'@babel/plugin-transform-react-jsx-self@7.24.7':
resolution: {integrity: sha512-fOPQYbGSgH0HUp4UJO4sMBFjY6DuWq+2i8rixyUMb3CdGixs/gccURvYOAhajBdKDoGajFr3mUq5rH3phtkGzw==}
engines: {node: '>=6.9.0'}
@@ -931,6 +967,15 @@ packages:
'@popperjs/core@2.11.8':
resolution: {integrity: sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==}
'@react-dnd/asap@5.0.2':
resolution: {integrity: sha512-WLyfoHvxhs0V9U+GTsGilGgf2QsPl6ZZ44fnv0/b8T3nQyvzxidxsg/ZltbWssbsRDlYW8UKSQMTGotuTotZ6A==}
'@react-dnd/invariant@4.0.2':
resolution: {integrity: sha512-xKCTqAK/FFauOM9Ta2pswIyT3D8AQlfrYdOi/toTPEhqCuAs1v5tcJ3Y08Izh1cJ5Jchwy9SeAXmMg6zrKs2iw==}
'@react-dnd/shallowequal@4.0.2':
resolution: {integrity: sha512-/RVXdLvJxLg4QKvMoM5WlwNR9ViO9z8B/qPcc+C0Sa/teJY7QG7kJ441DwzOjMYEY7GmU4dj5EcGHIkKZiQZCA==}
'@react-spring/animated@9.7.4':
resolution: {integrity: sha512-7As+8Pty2QlemJ9O5ecsuPKjmO0NKvmVkRR1n6mEotFgWar8FKuQt2xgxz3RTgxcccghpx1YdS1FCdElQNexmQ==}
peerDependencies:
@@ -1606,6 +1651,9 @@ packages:
resolution: {integrity: sha512-uIFDxqpRZGZ6ThOk84hEfqWoHx2devRFvpTZcTHur85vImfaxUbTW9Ryh4CpCuDnToOP1CEtXKIgytHBPVff5A==}
engines: {node: '>=0.3.1'}
dnd-core@16.0.1:
resolution: {integrity: sha512-HK294sl7tbw6F6IeuK16YSBUoorvHpY8RHO+9yFfaJyCDVb6n7PRcezrOEOa2SBCqiYpemh5Jx20ZcjKdFAVng==}
dom-helpers@5.2.1:
resolution: {integrity: sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA==}
@@ -1675,6 +1723,9 @@ packages:
extend@3.0.2:
resolution: {integrity: sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==}
fast-deep-equal@3.1.3:
resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==}
fetch-retry@6.0.0:
resolution: {integrity: sha512-BUFj1aMubgib37I3v4q78fYo63Po7t4HUPTpQ6/QE6yK6cIQrP+W43FYToeTEyg5m2Y7eFUtijUuAv/PDlWuag==}
@@ -2235,6 +2286,24 @@ packages:
blurhash: ^2.0.3
react: '>=15'
react-dnd-html5-backend@16.0.1:
resolution: {integrity: sha512-Wu3dw5aDJmOGw8WjH1I1/yTH+vlXEL4vmjk5p+MHxP8HuHJS1lAGeIdG/hze1AvNeXWo/JgULV87LyQOr+r5jw==}
react-dnd@16.0.1:
resolution: {integrity: sha512-QeoM/i73HHu2XF9aKksIUuamHPDvRglEwdHL4jsp784BgUuWcg6mzfxT0QDdQz8Wj0qyRKx2eMg8iZtWvU4E2Q==}
peerDependencies:
'@types/hoist-non-react-statics': '>= 3.3.1'
'@types/node': '>= 12'
'@types/react': '>= 16'
react: '>= 16.14'
peerDependenciesMeta:
'@types/hoist-non-react-statics':
optional: true
'@types/node':
optional: true
'@types/react':
optional: true
react-dom@18.3.1:
resolution: {integrity: sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==}
peerDependencies:
@@ -2293,6 +2362,9 @@ packages:
resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==}
engines: {node: '>=8.10.0'}
redux@4.2.1:
resolution: {integrity: sha512-LAUYz4lc+Do8/g7aeRa8JkyDErK6ekstQaqWQrNRW//MY1TvCEpMtpTWvlQ+FPbWCx+Xixu/6SHt5N0HR+SB4w==}
regenerator-runtime@0.14.1:
resolution: {integrity: sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==}
@@ -2803,6 +2875,13 @@ snapshots:
transitivePeerDependencies:
- supports-color
'@babel/helper-skip-transparent-expression-wrappers@7.24.7':
dependencies:
'@babel/traverse': 7.25.1
'@babel/types': 7.25.0
transitivePeerDependencies:
- supports-color
'@babel/helper-string-parser@7.24.8': {}
'@babel/helper-validator-identifier@7.24.7': {}
@@ -2825,16 +2904,46 @@ snapshots:
dependencies:
'@babel/types': 7.25.0
'@babel/plugin-proposal-optional-chaining-assign@7.24.7(@babel/core@7.24.9)':
dependencies:
'@babel/core': 7.24.9
'@babel/helper-plugin-utils': 7.24.8
'@babel/helper-skip-transparent-expression-wrappers': 7.24.7
'@babel/plugin-syntax-optional-chaining-assign': 7.24.7(@babel/core@7.24.9)
'@babel/plugin-transform-optional-chaining': 7.24.8(@babel/core@7.24.9)
transitivePeerDependencies:
- supports-color
'@babel/plugin-syntax-jsx@7.24.7(@babel/core@7.24.9)':
dependencies:
'@babel/core': 7.24.9
'@babel/helper-plugin-utils': 7.24.8
'@babel/plugin-syntax-optional-chaining-assign@7.24.7(@babel/core@7.24.9)':
dependencies:
'@babel/core': 7.24.9
'@babel/helper-plugin-utils': 7.24.8
'@babel/helper-validator-option': 7.24.8
'@babel/plugin-syntax-optional-chaining@7.8.3(@babel/core@7.24.9)':
dependencies:
'@babel/core': 7.24.9
'@babel/helper-plugin-utils': 7.24.8
'@babel/plugin-syntax-typescript@7.24.7(@babel/core@7.24.9)':
dependencies:
'@babel/core': 7.24.9
'@babel/helper-plugin-utils': 7.24.8
'@babel/plugin-transform-optional-chaining@7.24.8(@babel/core@7.24.9)':
dependencies:
'@babel/core': 7.24.9
'@babel/helper-plugin-utils': 7.24.8
'@babel/helper-skip-transparent-expression-wrappers': 7.24.7
'@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.24.9)
transitivePeerDependencies:
- supports-color
'@babel/plugin-transform-react-jsx-self@7.24.7(@babel/core@7.24.9)':
dependencies:
'@babel/core': 7.24.9
@@ -3200,8 +3309,8 @@ snapshots:
dependencies:
'@antfu/ni': 0.21.12
'@axiomhq/js': 1.0.0-rc.3
'@babel/core': 7.24.6
'@babel/types': 7.24.6
'@babel/core': 7.24.9
'@babel/types': 7.25.0
'@clack/prompts': 0.7.0
cli-high: 0.4.2
diff: 5.2.0
@@ -3423,6 +3532,12 @@ snapshots:
'@popperjs/core@2.11.8': {}
'@react-dnd/asap@5.0.2': {}
'@react-dnd/invariant@4.0.2': {}
'@react-dnd/shallowequal@4.0.2': {}
'@react-spring/animated@9.7.4(react@18.3.1)':
dependencies:
'@react-spring/shared': 9.7.4(react@18.3.1)
@@ -4082,6 +4197,12 @@ snapshots:
diff@5.2.0: {}
dnd-core@16.0.1:
dependencies:
'@react-dnd/asap': 5.0.2
'@react-dnd/invariant': 4.0.2
redux: 4.2.1
dom-helpers@5.2.1:
dependencies:
'@babel/runtime': 7.25.0
@@ -4188,6 +4309,8 @@ snapshots:
extend@3.0.2: {}
fast-deep-equal@3.1.3: {}
fetch-retry@6.0.0: {}
fflate@0.4.8: {}
@@ -4905,6 +5028,22 @@ snapshots:
blurhash: 2.0.5
react: 18.3.1
react-dnd-html5-backend@16.0.1:
dependencies:
dnd-core: 16.0.1
react-dnd@16.0.1(@types/node@22.0.0)(@types/react@18.3.3)(react@18.3.1):
dependencies:
'@react-dnd/invariant': 4.0.2
'@react-dnd/shallowequal': 4.0.2
dnd-core: 16.0.1
fast-deep-equal: 3.1.3
hoist-non-react-statics: 3.3.2
react: 18.3.1
optionalDependencies:
'@types/node': 22.0.0
'@types/react': 18.3.3
react-dom@18.3.1(react@18.3.1):
dependencies:
loose-envify: 1.4.0
@@ -4974,6 +5113,10 @@ snapshots:
dependencies:
picomatch: 2.3.1
redux@4.2.1:
dependencies:
'@babel/runtime': 7.25.0
regenerator-runtime@0.14.1: {}
registry-auth-token@5.0.2: