fleet/frontend/interfaces/campaign.js
Mike Stone 8567cc458c Run query (#549)
* Adds campaigns to redux state

* Update campaign with web socket data

* Destroy the current campaign when creating a new one

* close the socket when leaving the page or creating a new campaign

* Allow stopping a running query

* Update campaign with query results

* Adds QueryResultsTable

* Display flash message if campaign can't be created

* Allow filtering query results

* Adds filter icon

* Prevent query text updates when the query is running
2016-12-21 12:07:13 -05:00

8 lines
152 B
JavaScript

import { PropTypes } from 'react';
export default PropTypes.shape({
count: PropTypes.number,
id: PropTypes.number,
online: PropTypes.number,
});