mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-17 21:44:48 -04:00
20 lines
629 B
TypeScript
20 lines
629 B
TypeScript
import Health from 'typings/Health';
|
|
import SystemStatus from 'typings/SystemStatus';
|
|
import Task from 'typings/Task';
|
|
import Update from 'typings/Update';
|
|
import AppSectionState, { AppSectionItemState } from './AppSectionState';
|
|
|
|
export type HealthAppState = AppSectionState<Health>;
|
|
export type SystemStatusAppState = AppSectionItemState<SystemStatus>;
|
|
export type TaskAppState = AppSectionState<Task>;
|
|
export type UpdateAppState = AppSectionState<Update>;
|
|
|
|
interface SystemAppState {
|
|
health: HealthAppState;
|
|
status: SystemStatusAppState;
|
|
tasks: TaskAppState;
|
|
updates: UpdateAppState;
|
|
}
|
|
|
|
export default SystemAppState;
|