maests
Version:
An executable compiler for creating Maestro's yaml-flows with typescript.
21 lines (20 loc) • 411 B
JavaScript
import { addOut } from "../out.mjs";
const swipeLeft = () => addOut(`- swipe:
direction: LEFT
duration: 400
`), swipeRight = () => addOut(`- swipe:
direction: RIGHT
duration: 400
`), swipeDown = () => addOut(`- swipe:
direction: DOWN
duration: 400
`), swipeUp = () => addOut(`- swipe:
direction: UP
duration: 400
`);
export {
swipeDown,
swipeLeft,
swipeRight,
swipeUp
};