mirror of
https://github.com/fleetdm/fleet
synced 2026-05-06 06:48:54 +00:00
* Refactored Software inventory table to use TableContainer * Add search, reordering, IconTooltipCell
20 lines
495 B
TypeScript
20 lines
495 B
TypeScript
import PropTypes from "prop-types";
|
|
import vulnerabilityInterface, { IVulnerability } from "./vulnerability";
|
|
|
|
export default PropTypes.shape({
|
|
type: PropTypes.string,
|
|
name: PropTypes.string,
|
|
version: PropTypes.string,
|
|
source: PropTypes.string,
|
|
id: PropTypes.number,
|
|
vulnerabilities: PropTypes.arrayOf(vulnerabilityInterface),
|
|
});
|
|
|
|
export interface ISoftware {
|
|
type: string;
|
|
name: string;
|
|
version: string;
|
|
source: string;
|
|
id: number;
|
|
vulnerabilities: IVulnerability[];
|
|
}
|