import AppSectionState, { AppSectionDeleteState, AppSectionItemState, AppSectionSaveState, AppSectionSchemaState, } from 'App/State/AppSectionState'; import Language from 'Language/Language'; import DownloadClient from 'typings/DownloadClient'; import ImportList from 'typings/ImportList'; import ImportListOptionsSettings from 'typings/ImportListOptionsSettings'; import Indexer from 'typings/Indexer'; import Notification from 'typings/Notification'; import QualityProfile from 'typings/QualityProfile'; 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 ImportListOptionsSettingsAppState extends AppSectionItemState, AppSectionSaveState {} export type LanguageSettingsAppState = AppSectionState; export type UiSettingsAppState = AppSectionItemState; interface SettingsAppState { advancedSettings: boolean; downloadClients: DownloadClientAppState; importLists: ImportListAppState; indexers: IndexerAppState; languages: LanguageSettingsAppState; notifications: NotificationAppState; qualityProfiles: QualityProfilesAppState; ui: UiSettingsAppState; importListOptions: ImportListOptionsSettingsAppState; } export default SettingsAppState;