import AppSectionState, { AppSectionDeleteState, AppSectionSaveState, AppSectionSchemaState, } from 'App/State/AppSectionState'; import Language from 'Language/Language'; import DownloadClient from 'typings/DownloadClient'; import ImportList from 'typings/ImportList'; import Indexer from 'typings/Indexer'; import Notification from 'typings/Notification'; import QualityProfile from 'typings/QualityProfile'; import RootFolder from 'typings/RootFolder'; import { UiSettings } from 'typings/UiSettings'; export interface DownloadClientAppState extends AppSectionState, AppSectionDeleteState, AppSectionSaveState {} export interface ImportListAppState extends AppSectionState, AppSectionDeleteState, AppSectionSaveState {} export interface IndexerAppState extends AppSectionState, AppSectionDeleteState, AppSectionSaveState {} export interface NotificationAppState extends AppSectionState, AppSectionDeleteState {} export interface QualityProfilesAppState extends AppSectionState, AppSectionSchemaState {} export interface RootFolderAppState extends AppSectionState, AppSectionDeleteState, AppSectionSaveState {} export type LanguageSettingsAppState = AppSectionState; export type UiSettingsAppState = AppSectionState; interface SettingsAppState { downloadClients: DownloadClientAppState; importLists: ImportListAppState; indexers: IndexerAppState; language: LanguageSettingsAppState; notifications: NotificationAppState; qualityProfiles: QualityProfilesAppState; rootFolders: RootFolderAppState; uiSettings: UiSettingsAppState; } export default SettingsAppState;