import AppSectionState, { AppSectionDeleteState, AppSectionItemState, AppSectionSaveState, AppSectionSchemaState, } from 'App/State/AppSectionState'; import DownloadClient from 'typings/DownloadClient'; import ImportList from 'typings/ImportList'; import Indexer from 'typings/Indexer'; import IndexerFlag from 'typings/IndexerFlag'; import MetadataProfile from 'typings/MetadataProfile'; 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 MetadataProfilesAppState extends AppSectionState, AppSectionSchemaState {} export interface RootFolderAppState extends AppSectionState, AppSectionDeleteState, AppSectionSaveState {} export type IndexerFlagSettingsAppState = AppSectionState; export type UiSettingsAppState = AppSectionItemState; interface SettingsAppState { downloadClients: DownloadClientAppState; importLists: ImportListAppState; indexerFlags: IndexerFlagSettingsAppState; indexers: IndexerAppState; metadataProfiles: MetadataProfilesAppState; notifications: NotificationAppState; qualityProfiles: QualityProfilesAppState; rootFolders: RootFolderAppState; ui: UiSettingsAppState; } export default SettingsAppState;