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.
44 lines
1.3 KiB
44 lines
1.3 KiB
import AppSectionState, {
|
|
AppSectionDeleteState,
|
|
AppSectionSaveState,
|
|
} 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 Notification from 'typings/Notification';
|
|
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 type IndexerFlagSettingsAppState = AppSectionState<IndexerFlag>;
|
|
export type UiSettingsAppState = AppSectionState<UiSettings>;
|
|
|
|
interface SettingsAppState {
|
|
downloadClients: DownloadClientAppState;
|
|
importLists: ImportListAppState;
|
|
indexerFlags: IndexerFlagSettingsAppState;
|
|
indexers: IndexerAppState;
|
|
notifications: NotificationAppState;
|
|
uiSettings: UiSettingsAppState;
|
|
}
|
|
|
|
export default SettingsAppState;
|