feat: add storage usage tracking and management features for tenants

- Implemented a new method in ManagedStorageService to retrieve usage totals for tenants, including total bytes and file counts.
- Enhanced SuperAdminTenantController to integrate storage usage data into tenant listings.
- Created TenantStoragePanel and TenantSubscriptionsPanel components for managing and displaying tenant storage information.
- Updated localization files to support new storage management features in both English and Chinese.

Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
Innei
2025-12-10 14:41:43 +08:00
parent 05ef8a8f4c
commit d6b5cf1dda
11 changed files with 1029 additions and 582 deletions

View File

@@ -41,7 +41,7 @@
"devDependencies": {
"@afilmory/builder": "workspace:*",
"@innei/prettier": "1.0.0",
"@types/node": "24.10.1",
"@types/node": "24.10.2",
"ast-kit": "2.2.0",
"dotenv-expand": "catalog:",
"eslint": "9.39.1",
@@ -57,9 +57,9 @@
"typescript": "catalog:",
"unplugin-ast": "0.15.4",
"vite": "8.0.0-beta.0",
"vite-bundle-analyzer": "1.2.3",
"vite-bundle-analyzer": "1.3.1",
"vite-plugin-babel": "1.3.2",
"vite-plugin-checker": "0.11.0",
"vite-plugin-checker": "0.12.0",
"vite-tsconfig-paths": "5.1.4"
},
"simple-git-hooks": {