fleet/frontend/interfaces/registration_form_data.ts

25 lines
584 B
TypeScript
Raw Normal View History

import PropTypes from "prop-types";
export default PropTypes.shape({
name: PropTypes.string,
password: PropTypes.string,
password_confirmation: PropTypes.string,
email: PropTypes.string,
org_name: PropTypes.string,
org_web_url: PropTypes.string,
org_logo_url: PropTypes.string,
fleet_web_address: PropTypes.string,
});
export interface IRegistrationFormData {
name: string;
password: string;
password_confirmation: string;
email: string;
org_name: string;
org_web_url: string;
org_logo_url: string;
fleet_web_address: string;
server_url: string;
}