mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
50 lines
1.4 KiB
TypeScript
50 lines
1.4 KiB
TypeScript
import AppSectionState, {
|
|
AppSectionDeleteState,
|
|
AppSectionItemState,
|
|
AppSectionSaveState,
|
|
} from 'App/State/AppSectionState';
|
|
import { IndexerCategory } from 'Indexer/Indexer';
|
|
import Application from 'typings/Application';
|
|
import DownloadClient from 'typings/DownloadClient';
|
|
import Notification from 'typings/Notification';
|
|
import { UiSettings } from 'typings/UiSettings';
|
|
|
|
export interface AppProfileAppState
|
|
extends AppSectionState<Application>,
|
|
AppSectionDeleteState,
|
|
AppSectionSaveState {}
|
|
|
|
export interface ApplicationAppState
|
|
extends AppSectionState<Application>,
|
|
AppSectionDeleteState,
|
|
AppSectionSaveState {
|
|
isTestingAll: boolean;
|
|
}
|
|
|
|
export interface DownloadClientAppState
|
|
extends AppSectionState<DownloadClient>,
|
|
AppSectionDeleteState,
|
|
AppSectionSaveState {}
|
|
|
|
export interface IndexerCategoryAppState
|
|
extends AppSectionState<IndexerCategory>,
|
|
AppSectionDeleteState,
|
|
AppSectionSaveState {}
|
|
|
|
export interface NotificationAppState
|
|
extends AppSectionState<Notification>,
|
|
AppSectionDeleteState {}
|
|
|
|
export type UiSettingsAppState = AppSectionItemState<UiSettings>;
|
|
|
|
interface SettingsAppState {
|
|
appProfiles: AppProfileAppState;
|
|
applications: ApplicationAppState;
|
|
downloadClients: DownloadClientAppState;
|
|
indexerCategories: IndexerCategoryAppState;
|
|
notifications: NotificationAppState;
|
|
ui: UiSettingsAppState;
|
|
}
|
|
|
|
export default SettingsAppState;
|