code: function buildFromObject({ declaration, name, mapActionType }) {
    if (typeof declaration === 'object') {
      return () => ensureActionType(declaration, name, mapActionType);
    }
    return null;
  }
docs: Objects -> simplea action creator with fixed payload