Закончили редизайн, обновили интерфейс бэкапа

This commit is contained in:
2026-01-26 22:12:35 +03:00
parent 16ffeb1ed6
commit 1042b35d1b
23 changed files with 572 additions and 94 deletions

View File

@@ -10,10 +10,9 @@ None (Top-level page component)
- `on:backup-restore`: Triggered when user requests a restore.
### Data Dependencies
- `GET /api/backups`: Fetch list of backups.
- Response: `Array<BackupConfiguration>`
- `POST /api/backups`: Create new backup.
- Body: `{ type: string, target: string }`
- `POST /api/backups/{id}/restore`: Restore a backup.
*(Note: Actual endpoints depend on Feature 009 implementation; these are the frontend's expected contracts)*
- `GET /api/environments`: Fetch list of available environments.
- `GET /api/storage/files?category=backups`: Fetch list of backup files.
- `POST /api/tasks`: Create new backup task.
- Body: `{ plugin_id: 'superset-backup', params: { environment_id: string } }`
- `PUT /api/environments/{id}/schedule`: Update backup schedule.
- Body: `{ enabled: boolean, cron_expression: string }`