feat(05-08): add cloud tree components and getCloudFolders API function

- Add getCloudFolders(provider, folderId) to api/client.js (GET /api/cloud/folders/{provider}/{folderId})
- Create CloudProviderTreeItem.vue: lazy-load folder tree per connection, providerIconColor computed, expand/collapse arrow, loading/error states
- Create CloudFolderTreeItem.vue: recursive folder tree node with is_dir expand arrow, lazy-load children, depth padding
This commit is contained in:
curo1305
2026-05-29 08:32:19 +02:00
parent ec0c69fb4e
commit 34b0593782
3 changed files with 250 additions and 0 deletions
+4
View File
@@ -390,3 +390,7 @@ export function updateDefaultStorage(backend) {
body: JSON.stringify({ backend }),
})
}
export function getCloudFolders(provider, folderId) {
return request(`/api/cloud/folders/${provider}/${folderId}`)
}