mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
7af97579fe
* #454 added usage stats disclaimer to setup confirmation * #454 added new section to settings for usage stats * #454 fixed vulnerability for hrefs * removed jsx file * #454 added logic to checkbox * #454 created modal to preview usage stats; cleanup * fixed tests and linting
50 lines
1.3 KiB
TypeScript
50 lines
1.3 KiB
TypeScript
import PropTypes from "prop-types";
|
|
|
|
export default PropTypes.shape({
|
|
live_query_disabled: PropTypes.bool,
|
|
authentication_method: PropTypes.string,
|
|
authentication_type: PropTypes.string,
|
|
agent_options: PropTypes.string,
|
|
configured: PropTypes.bool,
|
|
domain: PropTypes.string,
|
|
enable_analytics: PropTypes.bool,
|
|
enable_ssl_tls: PropTypes.bool,
|
|
enable_start_tls: PropTypes.bool,
|
|
host_expiry_enabled: PropTypes.bool,
|
|
host_expiry_window: PropTypes.number,
|
|
server_url: PropTypes.string,
|
|
org_logo_url: PropTypes.string,
|
|
org_name: PropTypes.string,
|
|
password: PropTypes.string,
|
|
port: PropTypes.number,
|
|
sender_address: PropTypes.string,
|
|
server: PropTypes.string,
|
|
user_name: PropTypes.string,
|
|
verify_sll_certs: PropTypes.bool,
|
|
tier: PropTypes.string,
|
|
});
|
|
|
|
export interface IConfig {
|
|
live_query_disabled: boolean;
|
|
authentication_method: string;
|
|
authentication_type: string;
|
|
agent_options: string;
|
|
configured: boolean;
|
|
domain: string;
|
|
enable_analytics: boolean;
|
|
enable_ssl_tls: boolean;
|
|
enable_start_tls: boolean;
|
|
host_expiry_enabled: boolean;
|
|
host_expiry_window: number;
|
|
server_url: string;
|
|
org_logo_url: string;
|
|
org_name: string;
|
|
password: string;
|
|
port: number;
|
|
sender_address: string;
|
|
server: string;
|
|
user_name: string;
|
|
verify_sll_certs: boolean;
|
|
tier: string;
|
|
}
|