- Add SystemOverview component and related hooks;
- update Dashboard layout and introduce new UI components
This commit is contained in:
@@ -65,3 +65,25 @@ export type CameraSettingsAction =
|
||||
type: "SET_IMAGE_SIZE";
|
||||
payload: { width: number; height: number };
|
||||
};
|
||||
|
||||
export type CameraStatus = {
|
||||
id: string;
|
||||
groupID: string;
|
||||
tags: string[];
|
||||
};
|
||||
|
||||
export type SystemHealth = {
|
||||
UptimeHumane: string;
|
||||
StartTimeHumane: string;
|
||||
Status: CameraStatus[];
|
||||
};
|
||||
|
||||
export type StoreData = {
|
||||
totalPending: number;
|
||||
totalActive: number;
|
||||
totalSent: number;
|
||||
totalReceived: number;
|
||||
totalLost: number;
|
||||
sanityCheck: boolean;
|
||||
sanityCheckFormula: string;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user