fleet/frontend/interfaces/target.js
Mike Stone d1a18bcb89 Add targets to packs (#831)
* Allow form field values to be an array

* Send the server host and label ids on create

* Get and display the targets in a pack

* Adds target_type to labels and hosts

* Allow updating a pack’s targets as well as name and description

* Adds select targets dropdown to edit pack page

* Adds targets to dropdown when pack is edited
2017-01-11 12:10:14 -05:00

6 lines
197 B
JavaScript

import { PropTypes } from 'react';
import hostInterface from 'interfaces/host';
import labelInterface from 'interfaces/label';
export default PropTypes.oneOfType([hostInterface, labelInterface]);