use rho_protocol::display::{
NotificationCard, NotificationDelivery, NotificationPreview, NotificationTone,
NotificationVisibility,
};
pub(crate) mod checklist;
pub(crate) mod diff;
pub(crate) mod number;
pub(crate) mod workflow;
pub(crate) fn parent_message_card(
body: String,
delivery: NotificationDelivery,
detail: String,
) -> NotificationCard {
NotificationCard {
title: "Message from parent".into(),
sender: "parent".into(),
recipient: "agent".into(),
delivery,
tone: NotificationTone::Neutral,
preview: NotificationPreview::Full,
visibility: NotificationVisibility::Conversation,
reference: None,
subtitle: None,
body,
output: None,
details: vec![detail],
}
}