SpeciesFileGroup/taxonworks

View on GitHub
app/javascript/vue/tasks/nomenclature/by_source/store/actions/actions.js

Summary

Maintainability
A
1 hr
Test Coverage
import ActionNames from './actionNames.js'
import loadCitations from './loadCitations'
import loadOtuByProxy from './loadOtuByProxy.js'
import loadSource from './loadSource.js'
import updateCitation from './updateCitation'
import removeCitation from './removeCitation.js'
import sortCitationList from './sortCitationList.js'
import sortOtuList from './sortOtuList.js'

const ActionFunctions = {
  [ActionNames.LoadCitations]: loadCitations,
  [ActionNames.LoadOtuByProxy]: loadOtuByProxy,
  [ActionNames.LoadSource]: loadSource,
  [ActionNames.UpdateCitation]: updateCitation,
  [ActionNames.RemoveCitation]: removeCitation,
  [ActionNames.SortCitationList]: sortCitationList,
  [ActionNames.SortOtuList]: sortOtuList
}

export {
  ActionFunctions,
  ActionNames
}