update rclone-sdk

This commit is contained in:
FTCHD
2026-08-20 00:43:05 +03:00
parent c0aa02c198
commit 0699f7213c
4 changed files with 21 additions and 28 deletions
+6 -6
View File
@@ -87,11 +87,11 @@ export function useFlags() {
const allFlags = allFlagsQuery.data const allFlags = allFlagsQuery.data
const filterFlags = allFlags?.filter const filterFlags = allFlags?.filter
.filter((flag) => !flag.Groups?.includes('Metadata')) ?.filter((flag) => !flag.Groups?.includes('Metadata'))
.sort(sortByName) .sort(sortByName)
const configFlags = allFlags?.main const configFlags = allFlags?.main
.filter( ?.filter(
(flag) => (flag) =>
flag.Groups?.includes('Performance') || flag.Groups?.includes('Performance') ||
flag.Groups?.includes('Listing') || flag.Groups?.includes('Listing') ||
@@ -102,19 +102,19 @@ export function useFlags() {
.sort(sortByName) .sort(sortByName)
const mountFlags = allFlags?.mount const mountFlags = allFlags?.mount
.filter((flag) => !flag.Groups?.includes('Metadata')) ?.filter((flag) => !flag.Groups?.includes('Metadata'))
.sort(sortByName) .sort(sortByName)
const vfsFlags = allFlags?.vfs const vfsFlags = allFlags?.vfs
.filter((flag) => !flag.Groups?.includes('Metadata')) ?.filter((flag) => !flag.Groups?.includes('Metadata'))
.sort(sortByName) .sort(sortByName)
const copyFlags = allFlags?.main const copyFlags = allFlags?.main
.filter((flag) => flag.Groups?.includes('Copy')) ?.filter((flag) => flag.Groups?.includes('Copy'))
.sort(sortByName) .sort(sortByName)
const syncFlags = allFlags?.main const syncFlags = allFlags?.main
.filter((flag) => flag.Groups?.includes('Copy') || flag.Groups?.includes('Sync')) ?.filter((flag) => flag.Groups?.includes('Copy') || flag.Groups?.includes('Sync'))
.sort(sortByName) .sort(sortByName)
const serveFlags = SERVE_TYPES.reduce( const serveFlags = SERVE_TYPES.reduce(
+14 -14
View File
@@ -39,7 +39,7 @@
"lucide-react": "^1.32.0", "lucide-react": "^1.32.0",
"p-retry": "^8.0.0", "p-retry": "^8.0.0",
"qrcode.react": "^4.2.0", "qrcode.react": "^4.2.0",
"rclone-sdk": "^1.74.2-r1", "rclone-sdk": "^1.75.0",
"react": "^18.3.1", "react": "^18.3.1",
"react-dom": "^18.3.1", "react-dom": "^18.3.1",
"react-resizable-panels": "^4.12.3", "react-resizable-panels": "^4.12.3",
@@ -7718,21 +7718,21 @@
] ]
}, },
"node_modules/rclone-openapi": { "node_modules/rclone-openapi": {
"version": "1.74.2-r1", "version": "1.75.0",
"resolved": "https://registry.npmjs.org/rclone-openapi/-/rclone-openapi-1.74.2-r1.tgz", "resolved": "https://registry.npmjs.org/rclone-openapi/-/rclone-openapi-1.75.0.tgz",
"integrity": "sha512-AhBH9+5kCValJz5dRD+9ZkcMzmwAfG8lY+Vbot3KxXcyOq8jRU7JWWKzhh0w9A8AiuRqUz2yU1hDVmMFRK/EAw==", "integrity": "sha512-qkuPnhiFFS0cu5jAcG3TXWKZrkw54KYFCDPL5PDFY5Q3CZcooP4EXuMmcoQKWpmglohk12b65OW31QDVadsjRw==",
"license": "MIT" "license": "MIT"
}, },
"node_modules/rclone-sdk": { "node_modules/rclone-sdk": {
"version": "1.74.2-r1", "version": "1.75.0",
"resolved": "https://registry.npmjs.org/rclone-sdk/-/rclone-sdk-1.74.2-r1.tgz", "resolved": "https://registry.npmjs.org/rclone-sdk/-/rclone-sdk-1.75.0.tgz",
"integrity": "sha512-lyS6avdLa/SsoH8i2W3FV+KFjjGRlkVqke2DWWVcvF8mU7s0Ejq3Kgn9uZiVOslz573JWwE+K1nDnvixCCVIfQ==", "integrity": "sha512-XTWTHg2V0tznCImyBzal5+4B37nLsXOCeWKmLeD8QiBFkSnidnmxaw8XUZWp/rUT03Ccz+ohVkl8P5YSKa1Mrw==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"openapi-fetch": "^0.17.0", "openapi-fetch": "^0.17.0",
"openapi-react-query": "^0.5.4", "openapi-react-query": "^0.5.4",
"openapi-typescript-helpers": "^0.1.0", "openapi-typescript-helpers": "^0.1.0",
"rclone-openapi": "^1.74.2-r1", "rclone-openapi": "^1.75.0",
"swr-openapi": "^5.6.0" "swr-openapi": "^5.6.0"
}, },
"engines": { "engines": {
@@ -8197,9 +8197,9 @@
"license": "ISC" "license": "ISC"
}, },
"node_modules/swr": { "node_modules/swr": {
"version": "2.4.1", "version": "2.5.1",
"resolved": "https://registry.npmjs.org/swr/-/swr-2.4.1.tgz", "resolved": "https://registry.npmjs.org/swr/-/swr-2.5.1.tgz",
"integrity": "sha512-2CC6CiKQtEwaEeNiqWTAw9PGykW8SR5zZX8MZk6TeAvEAnVS7Visz8WzphqgtQ8v2xz/4Q5K+j+SeMaKXeeQIA==", "integrity": "sha512-BRw55e8r0B7SpDN20CAzoQAHl7y1yP7/Zt7oqUjMv0vSt2u2Xnkm88Ws+VypbV9BXHQVuSuyVq7zMjO16wSExw==",
"license": "MIT", "license": "MIT",
"peer": true, "peer": true,
"dependencies": { "dependencies": {
@@ -8433,9 +8433,9 @@
"integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w=="
}, },
"node_modules/type-fest": { "node_modules/type-fest": {
"version": "5.7.0", "version": "5.8.0",
"resolved": "https://registry.npmjs.org/type-fest/-/type-fest-5.7.0.tgz", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-5.8.0.tgz",
"integrity": "sha512-1URUxUqfHFM1c+zfSPsa3gnkO7Aq21qyH75SIduNYz4SzY964rn1X2vCMQaHSHhktiw+0kPa2iyb6PUpXqB6Vg==", "integrity": "sha512-YGYEVz3Fm5iy/AybuA0oyNFq7H4CgQNfRp/qfe8nurE1kuCeNm3/vfm9X4Mtl+qLyaKJUh5xrFZwogr41SMjYA==",
"license": "(MIT OR CC0-1.0)", "license": "(MIT OR CC0-1.0)",
"dependencies": { "dependencies": {
"tagged-tag": "^1.0.0" "tagged-tag": "^1.0.0"
+1 -1
View File
@@ -62,7 +62,7 @@
"lucide-react": "^1.32.0", "lucide-react": "^1.32.0",
"p-retry": "^8.0.0", "p-retry": "^8.0.0",
"qrcode.react": "^4.2.0", "qrcode.react": "^4.2.0",
"rclone-sdk": "^1.74.2-r1", "rclone-sdk": "^1.75.0",
"react": "^18.3.1", "react": "^18.3.1",
"react-dom": "^18.3.1", "react-dom": "^18.3.1",
"react-resizable-panels": "^4.12.3", "react-resizable-panels": "^4.12.3",
-7
View File
@@ -18,13 +18,6 @@ export interface BackendOption {
Type: string Type: string
} }
export interface Backend {
Name: string
Description: string
Options: BackendOption[]
Prefix: string
}
export type FlagValue = string | number | boolean | string[] | null export type FlagValue = string | number | boolean | string[] | null
// Response shape of the rclone RC `operations/fsinfo` endpoint. The SDK types `Features` only as // Response shape of the rclone RC `operations/fsinfo` endpoint. The SDK types `Features` only as