mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
35 lines
667 B
TypeScript
35 lines
667 B
TypeScript
|
import PropTypes from "prop-types";
|
||
|
|
||
|
export default PropTypes.shape({
|
||
|
columns: PropTypes.arrayOf(
|
||
|
PropTypes.shape({
|
||
|
description: PropTypes.string,
|
||
|
name: PropTypes.string,
|
||
|
type: PropTypes.string,
|
||
|
})
|
||
|
),
|
||
|
description: PropTypes.string,
|
||
|
name: PropTypes.string,
|
||
|
platform: PropTypes.string,
|
||
|
});
|
||
|
|
||
|
interface ITableColumn {
|
||
|
description: string;
|
||
|
name: string;
|
||
|
type: string;
|
||
|
hidden: boolean;
|
||
|
required: boolean;
|
||
|
index: boolean;
|
||
|
}
|
||
|
|
||
|
export interface IOsqueryTable {
|
||
|
columns: ITableColumn[];
|
||
|
description: string;
|
||
|
name: string;
|
||
|
platform: string;
|
||
|
url: string;
|
||
|
platforms: string[];
|
||
|
evented: boolean;
|
||
|
cacheable: boolean;
|
||
|
}
|