code: function createRoutine(prefix, payloadCreator, metaCreator, settings) {
    var _Object$assign = Object.assign({}, DEFAULT_SETTINGS, settings),
        stages = _Object$assign.stages,
        separator = _Object$assign.separator;
  
    var createRoutineAction = function createRoutineAction(stage) {
      var type = createActionType(prefix, stage, separator);
      return (0, _reduxActions.createAction)(type, payloadCreator, metaCreator);
    };
    return stages.reduce(function (routine, stage) {
      var _Object$assign2;
  
      var actionCreator = createRoutineAction(stage);
      return Object.assign(routine, (_Object$assign2 = {}, _defineProperty(_Object$assign2, stage.toLowerCase(), actionCreator), _defineProperty(_Object$assign2, stage.toUpperCase(), actionCreator.toString()), _Object$assign2));
    }, createRoutineAction(stages[0]));
  }
docs: Routine factory