mod ball;
mod conversation;
use crate::boundary::Gesture;
pub(crate) fn gestures() -> Vec<Gesture> {
[
conversation::surface(),
ball::surface(),
super::start::surface(),
super::fan::surface(),
super::fork::surface(),
super::control::surface(),
super::fleet::surface(),
super::retarget::surface(),
super::query::surface(),
enroll(),
crate::boundary::codec::config::tests::surface(),
]
.concat()
}
fn enroll() -> Vec<Gesture> {
[
crate::registry::Grade::Operator,
crate::registry::Grade::Foot,
]
.into_iter()
.map(|grade| {
Gesture::Act(crate::boundary::Action::Enroll(
crate::registry::enroll::Request {
workspace: "ws".to_owned(),
name: "phone-1".to_owned(),
grade,
},
))
})
.collect()
}