mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 08:55:24 +00:00
a6e921c7b8
* Removes create new query button from only observers * Renders CTA ManageQueriesPage side panel * Renders Observer can run column for non observers * Fixes integration tests: ManageQueriesPage and SidePanel UI co-authored by: @gillespi314 Integration tests co-authored by: @ghernandez345
22 lines
456 B
TypeScript
22 lines
456 B
TypeScript
import PropTypes from "prop-types";
|
|
|
|
export default PropTypes.shape({
|
|
description: PropTypes.string,
|
|
name: PropTypes.string,
|
|
query: PropTypes.string,
|
|
id: PropTypes.number,
|
|
interval: PropTypes.number,
|
|
last_excuted: PropTypes.string,
|
|
observer_can_run: PropTypes.bool,
|
|
});
|
|
|
|
export interface IQuery {
|
|
description: string;
|
|
name: string;
|
|
query: string;
|
|
id: number;
|
|
interval: number;
|
|
last_excuted: string;
|
|
observer_can_run: boolean;
|
|
}
|