SpeciesFileGroup/taxonworks

View on GitHub
app/javascript/vue/tasks/leads/new_lead/store/actions/actions.js

Summary

Maintainability
A
0 mins
Test Coverage
import dataChangedSinceLastSave from './dataChangedSinceLastSave.js'
import loadKey from './loadKey.js'

const ActionNames = {
  DataChangedSinceLastSave: 'dataChangedSinceLastSave',
  LoadKey: 'loadKey'
}

const ActionFunctions = {
  [ActionNames.DataChangedSinceLastSave]: dataChangedSinceLastSave,
  [ActionNames.LoadKey]: loadKey
}

export {
  ActionNames,
  ActionFunctions
}