dist/vuex-c3s.es.js
function getProjects(_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.Projects.get_projects, {
      search_term: search || undefined,
      limit: limit || 100
    }, 'c3s/project/SET_PROJECTS');
  }
function getProjects(_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.Projects.get_projects, {
      search_term: search || undefined,
      limit: limit || 100
    }, 'c3s/project/SET_PROJECTS');
  }
function getProjects ( _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 . Projects . get_projects , { search_term : search || undefined , limit : limit || 100 } , 'c3s/project/SET_PROJECTS' ) ; }
Retrieve an array of projects based on a provided query object
@param state
@param commit
@param dispatch
@param rootState
@param search
@returns {Promise<*|boolean|void>}
Retrieve an array of projects based on a provided query object