dist/vuex-c3s.es.js
function getActivities(_ref, _ref2) {
    var state = _ref.state,
        commit = _ref.commit,
        dispatch = _ref.dispatch,
        rootState = _ref.rootState;

    var _ref3 = _slicedToArray(_ref2, 2),
        search = _ref3[0],
        limit = _ref3[1];

    search = rison.encode(search);
    return makeRequest(commit, rootState.c3s.client.apis.Activities.get_activities, {
      search_term: search || undefined,
      limit: limit || 100
    }, 'c3s/activity/SET_ACTIVITIES');
  }
function getActivities(_ref, _ref2) {
    var state = _ref.state,
        commit = _ref.commit,
        dispatch = _ref.dispatch,
        rootState = _ref.rootState;

    var _ref3 = _slicedToArray(_ref2, 2),
        search = _ref3[0],
        limit = _ref3[1];

    search = rison.encode(search);
    return makeRequest(commit, rootState.c3s.client.apis.Activities.get_activities, {
      search_term: search || undefined,
      limit: limit || 100
    }, 'c3s/activity/SET_ACTIVITIES');
  }
function getActivities ( _ref , _ref2 ) { var state = _ref . state , commit = _ref . commit , dispatch = _ref . dispatch , rootState = _ref . rootState ; var _ref3 = _slicedToArray ( _ref2 , 2 ) , search = _ref3 [ 0 ] , limit = _ref3 [ 1 ] ; search = rison . encode ( search ) ; return makeRequest ( commit , rootState . c3s . client . apis . Activities . get_activities , { search_term : search || undefined , limit : limit || 100 } , 'c3s/activity/SET_ACTIVITIES' ) ; }
Retrieve an array of activities based on a provided query object
@param state
@param commit
@param dispatch
@param rootState
@param search
@returns {Promise<*|boolean|void>}
Retrieve an array of activities based on a provided query object