/** * Action * * @author Björn Hase * @license hhttps://www.gnu.org/licenses/gpl-3.0.en.html GPL-3 * @link https://git.node001.net/HerrHase/signpost.git * */ class Action { /** * * @param flow object * @param data object * */ constructor(flow, data) { this.flow = flow this.data = data // check if class has a run method if (typeof this.run !== 'function') { throw new Error('missing run method') } } } export default Action