1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-21 22:05:38 -04:00

Convert Backup and Restore to TypeScript

This commit is contained in:
Mark McDowall
2024-12-24 19:17:55 -08:00
parent a2fd23c84d
commit 756e985b66
20 changed files with 560 additions and 762 deletions
+2
View File
@@ -4,6 +4,7 @@ import SystemStatus from 'typings/SystemStatus';
import Task from 'typings/Task';
import Update from 'typings/Update';
import AppSectionState, { AppSectionItemState } from './AppSectionState';
import BackupAppState from './BackupAppState';
export type DiskSpaceAppState = AppSectionState<DiskSpace>;
export type HealthAppState = AppSectionState<Health>;
@@ -12,6 +13,7 @@ export type TaskAppState = AppSectionState<Task>;
export type UpdateAppState = AppSectionState<Update>;
interface SystemAppState {
backups: BackupAppState;
diskSpace: DiskSpaceAppState;
health: HealthAppState;
status: SystemStatusAppState;