| 
									
										
										
										
											2023-04-04 09:21:34 -07:00
										 |  |  | import AppSectionState, { | 
					
						
							|  |  |  |   AppSectionDeleteState, | 
					
						
							| 
									
										
										
										
											2023-07-30 16:23:41 +03:00
										 |  |  |   AppSectionItemState, | 
					
						
							| 
									
										
										
										
											2023-05-24 23:13:27 -05:00
										 |  |  |   AppSectionSaveState, | 
					
						
							| 
									
										
										
										
											2023-04-04 09:21:34 -07:00
										 |  |  |   AppSectionSchemaState, | 
					
						
							|  |  |  | } from 'App/State/AppSectionState'; | 
					
						
							|  |  |  | import Language from 'Language/Language'; | 
					
						
							|  |  |  | import DownloadClient from 'typings/DownloadClient'; | 
					
						
							| 
									
										
										
										
											2023-05-24 23:13:27 -05:00
										 |  |  | 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>, | 
					
						
							| 
									
										
										
										
											2023-05-24 23:13:27 -05:00
										 |  |  |     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; | 
					
						
							| 
									
										
										
										
											2023-05-24 23:13:27 -05:00
										 |  |  |   importLists: ImportListAppState; | 
					
						
							|  |  |  |   indexers: IndexerAppState; | 
					
						
							| 
									
										
										
										
											2023-07-30 16:23:41 +03:00
										 |  |  |   languages: LanguageSettingsAppState; | 
					
						
							| 
									
										
										
										
											2023-05-24 23:13:27 -05:00
										 |  |  |   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; |