You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
2.0 KiB
64 lines
2.0 KiB
import AppSectionState, {
|
|
AppSectionDeleteState,
|
|
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<DownloadClient>,
|
|
AppSectionDeleteState,
|
|
AppSectionSaveState {}
|
|
|
|
export interface ImportListAppState
|
|
extends AppSectionState<ImportList>,
|
|
AppSectionDeleteState,
|
|
AppSectionSaveState {}
|
|
|
|
export interface IndexerAppState
|
|
extends AppSectionState<Indexer>,
|
|
AppSectionDeleteState,
|
|
AppSectionSaveState {}
|
|
|
|
export interface NotificationAppState
|
|
extends AppSectionState<Notification>,
|
|
AppSectionDeleteState {}
|
|
|
|
export interface QualityProfilesAppState
|
|
extends AppSectionState<QualityProfile>,
|
|
AppSectionSchemaState<QualityProfile> {}
|
|
|
|
export interface MetadataProfilesAppState
|
|
extends AppSectionState<MetadataProfile>,
|
|
AppSectionSchemaState<MetadataProfile> {}
|
|
|
|
export interface RootFolderAppState
|
|
extends AppSectionState<RootFolder>,
|
|
AppSectionDeleteState,
|
|
AppSectionSaveState {}
|
|
|
|
export type IndexerFlagSettingsAppState = AppSectionState<IndexerFlag>;
|
|
export type UiSettingsAppState = AppSectionState<UiSettings>;
|
|
|
|
interface SettingsAppState {
|
|
downloadClients: DownloadClientAppState;
|
|
importLists: ImportListAppState;
|
|
indexerFlags: IndexerFlagSettingsAppState;
|
|
indexers: IndexerAppState;
|
|
metadataProfiles: MetadataProfilesAppState;
|
|
notifications: NotificationAppState;
|
|
qualityProfiles: QualityProfilesAppState;
|
|
rootFolders: RootFolderAppState;
|
|
uiSettings: UiSettingsAppState;
|
|
}
|
|
|
|
export default SettingsAppState;
|