Local modifications to ClusterLabs/Anvil by Alteeve
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

33 lines
767 B

type MailServerFormikMailServer = {
address: string;
authentication: 'none' | 'plain-text' | 'encrypted';
confirmPassword?: string;
heloDomain: string;
password?: string;
port: number;
security: 'none' | 'starttls' | 'tls-ssl';
username?: string;
uuid: string;
};
type MailServerFormikValues = {
[mailServerUuid: string]: MailServerFormikMailServer;
};
/** AddMailServerForm */
type AddMailServerFormOptionalProps = {
localhostDomain?: string;
mailServerUuid?: string;
previousFormikValues?: MailServerFormikValues;
};
type AddMailServerFormProps = AddMailServerFormOptionalProps & {
tools: CrudListFormTools;
};
/** EditMailServerForm */
type EditMailServerFormProps = Required<
Omit<AddMailServerFormProps, 'localhostDomain'>
>;