2021-08-16 14:30:19 +00:00
|
|
|
import PropTypes, { string } from "prop-types";
|
|
|
|
|
|
|
|
export default PropTypes.shape({
|
|
|
|
online_count: PropTypes.number,
|
|
|
|
offline_count: PropTypes.number,
|
|
|
|
mia_count: PropTypes.number,
|
|
|
|
new_count: PropTypes.number,
|
|
|
|
});
|
|
|
|
|
2021-11-12 14:27:05 +00:00
|
|
|
export interface IHostSummaryPlatforms {
|
|
|
|
platform: string;
|
|
|
|
hosts_count: number;
|
|
|
|
}
|
|
|
|
|
2021-08-16 14:30:19 +00:00
|
|
|
export interface IHostSummary {
|
2021-11-12 14:27:05 +00:00
|
|
|
totals_hosts_count: number;
|
|
|
|
platforms: IHostSummaryPlatforms[] | null;
|
2021-08-16 14:30:19 +00:00
|
|
|
online_count: number;
|
|
|
|
offline_count: number;
|
|
|
|
mia_count: number;
|
|
|
|
new_count: number;
|
|
|
|
}
|