fleet/frontend/interfaces/host.js
Zachary Wasserman dc4b97d15f
Fix React deprecation warnings (#1976)
- Refactor imports of PropTypes to use the prop-types package
- Upgrade dependencies that were setting off deprecation warnings
2019-01-06 17:25:33 -08:00

18 lines
457 B
JavaScript

import PropTypes from 'prop-types';
export default PropTypes.shape({
detail_updated_at: PropTypes.string,
hostname: PropTypes.string,
id: PropTypes.number,
ip: PropTypes.string,
mac: PropTypes.string,
memory: PropTypes.number,
os_version: PropTypes.string,
osquery_version: PropTypes.string,
platform: PropTypes.string,
status: PropTypes.string,
updated_at: PropTypes.string,
uptime: PropTypes.number,
uuid: PropTypes.string,
});