type AlertOverrideRequest = { body?: { hostUuid: string; level: number; mailRecipientUuid: string; }; method: 'delete' | 'post' | 'put'; url: string; }; type AlertOverrideTarget = { description?: string; name: string; node: string; subnodes?: string[]; type: 'node' | 'subnode'; uuid: string; }; type AlertOverrideFormikAlertOverride = { delete?: boolean; level: number; target: AlertOverrideTarget | null; uuids?: Record; }; type AlertOverrideFormikValues = { [valueId: string]: AlertOverrideFormikAlertOverride; }; type MailRecipientFormikMailRecipient = Omit & { alertOverrides: AlertOverrideFormikValues; uuid?: string; }; type MailRecipientFormikValues = { [uuid: string]: MailRecipientFormikMailRecipient; }; /** AddMailRecipientForm */ type AddMailRecipientFormOptionalProps = { mailRecipientUuid?: string; previousFormikValues?: MailRecipientFormikValues; }; type AddMailRecipientFormProps = AddMailRecipientFormOptionalProps & { alertOverrideTargetOptions: AlertOverrideTarget[]; tools: CrudListFormTools; }; /** EditMailRecipientForm */ type EditMailRecipientFormProps = Required; /** ManageAlertOverride */ type ManageAlertOverrideProps = Required< Pick< AddMailRecipientFormProps, 'alertOverrideTargetOptions' | 'mailRecipientUuid' > > & { formikUtils: FormikUtils; }; /** AlertOverrideInputGroup */ type AlertOverrideInputGroupOptionalProps = { alertOverrideValueId?: string; }; type AlertOverrideInputGroupProps = AlertOverrideInputGroupOptionalProps & ManageAlertOverrideProps;