mirror of
https://github.com/Sonarr/Sonarr
synced 2026-05-01 01:21:35 +02:00
Clean up AppState
This commit is contained in:
parent
cd7adba17c
commit
c5ff89c69b
4 changed files with 0 additions and 39 deletions
|
|
@ -1,10 +1,8 @@
|
|||
import BlocklistAppState from './BlocklistAppState';
|
||||
import CaptchaAppState from './CaptchaAppState';
|
||||
import ImportSeriesAppState from './ImportSeriesAppState';
|
||||
import SettingsAppState from './SettingsAppState';
|
||||
|
||||
interface AppState {
|
||||
blocklist: BlocklistAppState;
|
||||
captcha: CaptchaAppState;
|
||||
importSeries: ImportSeriesAppState;
|
||||
settings: SettingsAppState;
|
||||
|
|
|
|||
|
|
@ -1,9 +0,0 @@
|
|||
import Backup from 'typings/Backup';
|
||||
import AppSectionState, { Error } from './AppSectionState';
|
||||
|
||||
interface BackupAppState extends AppSectionState<Backup> {
|
||||
isRestoring: boolean;
|
||||
restoreError?: Error;
|
||||
}
|
||||
|
||||
export default BackupAppState;
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
import Blocklist from 'typings/Blocklist';
|
||||
import AppSectionState, {
|
||||
AppSectionFilterState,
|
||||
PagedAppSectionState,
|
||||
TableAppSectionState,
|
||||
} from './AppSectionState';
|
||||
|
||||
interface BlocklistAppState
|
||||
extends AppSectionState<Blocklist>,
|
||||
AppSectionFilterState<Blocklist>,
|
||||
PagedAppSectionState,
|
||||
TableAppSectionState {
|
||||
isRemoving: boolean;
|
||||
}
|
||||
|
||||
export default BlocklistAppState;
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
import AppSectionState, {
|
||||
AppSectionDeleteState,
|
||||
AppSectionSaveState,
|
||||
} from 'App/State/AppSectionState';
|
||||
import RootFolder from 'typings/RootFolder';
|
||||
|
||||
interface RootFolderAppState
|
||||
extends AppSectionState<RootFolder>,
|
||||
AppSectionDeleteState,
|
||||
AppSectionSaveState {}
|
||||
|
||||
export default RootFolderAppState;
|
||||
Loading…
Reference in a new issue