1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2025-04-25 12:25:02 +02:00
Sonarr/frontend/src/App/State/SettingsAppState.ts

52 lines
1.5 KiB
TypeScript
Raw Normal View History

2023-04-04 09:21:34 -07:00
import AppSectionState, {
AppSectionDeleteState,
2023-07-30 16:23:41 +03:00
AppSectionItemState,
AppSectionSaveState,
2023-04-04 09:21:34 -07:00
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';
2023-04-04 09:21:34 -07:00
import QualityProfile from 'typings/QualityProfile';
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>,
2023-04-04 09:21:34 -07:00
AppSectionDeleteState {}
export interface QualityProfilesAppState
extends AppSectionState<QualityProfile>,
AppSectionSchemaState<QualityProfile> {}
export type LanguageSettingsAppState = AppSectionState<Language>;
2023-07-30 16:23:41 +03:00
export type UiSettingsAppState = AppSectionItemState<UiSettings>;
2023-04-04 09:21:34 -07:00
interface SettingsAppState {
downloadClients: DownloadClientAppState;
importLists: ImportListAppState;
indexers: IndexerAppState;
2023-07-30 16:23:41 +03:00
languages: LanguageSettingsAppState;
notifications: NotificationAppState;
2023-04-04 09:21:34 -07:00
qualityProfiles: QualityProfilesAppState;
2023-07-30 16:23:41 +03:00
ui: UiSettingsAppState;
2023-04-04 09:21:34 -07:00
}
export default SettingsAppState;