mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 08:55:24 +00:00
23 lines
493 B
TypeScript
23 lines
493 B
TypeScript
import PropTypes from "prop-types";
|
|
|
|
export default PropTypes.shape({
|
|
online_count: PropTypes.number,
|
|
offline_count: PropTypes.number,
|
|
mia_count: PropTypes.number,
|
|
new_count: PropTypes.number,
|
|
});
|
|
|
|
export interface IHostSummaryPlatforms {
|
|
platform: string;
|
|
hosts_count: number;
|
|
}
|
|
|
|
export interface IHostSummary {
|
|
totals_hosts_count: number;
|
|
platforms: IHostSummaryPlatforms[] | null;
|
|
online_count: number;
|
|
offline_count: number;
|
|
mia_count: number;
|
|
new_count: number;
|
|
}
|