mirror of
https://github.com/fleetdm/fleet
synced 2026-05-22 16:39:01 +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;
|
||
|
|
}
|