app/javascript/vue/tasks/otu/browse/store/mutations/mutations.js
import setBiologicalAssociations from './setBiologicalAssociations'
import setCollectingEvents from './setCollectingEvents'
import setCollectionObjects from './setCollectionObjects'
import setGeoreferences from './setGeoreferences'
import setPreferences from './setPreferences'
import setAssertedDistributions from './setAssertedDistributions'
import setCurrentOtu from './setCurrentOtu'
import setDescendants from './setDescendants'
import setLoadState from './setLoadState'
import setTaxonName from './setTaxonName'
import setTaxonNames from './setTaxonNames'
import setOtus from './setOtus'
import setStore from './setStore'
import setDepictions from './setDepictions'
import setCommonNames from './setCommonNames'
import setObservationsDepictions from './setObservationsDepictions'
const MutationNames = {
SetBiologicalAssociations: 'setBiologicalAssociations',
SetCollectingEvents: 'setCollectingEvents',
SetCollectionObjects: 'setCollectionObjects',
SetCommonNames: 'setCommonNames',
SetDepictions: 'setDepictions',
SetGeoreferences: 'setGeoreferences',
SetPreferences: 'setPreferences',
SetAssertedDistributions: 'setAssertedDistributions',
SetCurrentOtu: 'setCurrentOtu',
SetDescendants: 'setDescendants',
SetLoadState: 'setLoadState',
SetTaxonName: 'setTaxonName',
SetTaxonNames: 'setTaxonNames',
SetObservationsDepictions: 'setObservationsDepictions',
SetOtus: 'setOtus',
SetStore: 'setStore'
}
const MutationFunctions = {
[MutationNames.SetBiologicalAssociations]: setBiologicalAssociations,
[MutationNames.SetCollectingEvents]: setCollectingEvents,
[MutationNames.SetCollectionObjects]: setCollectionObjects,
[MutationNames.SetCommonNames]: setCommonNames,
[MutationNames.SetDepictions]: setDepictions,
[MutationNames.SetGeoreferences]: setGeoreferences,
[MutationNames.SetPreferences]: setPreferences,
[MutationNames.SetAssertedDistributions]: setAssertedDistributions,
[MutationNames.SetCurrentOtu]: setCurrentOtu,
[MutationNames.SetDescendants]: setDescendants,
[MutationNames.SetLoadState]: setLoadState,
[MutationNames.SetTaxonName]: setTaxonName,
[MutationNames.SetTaxonNames]: setTaxonNames,
[MutationNames.SetObservationsDepictions]: setObservationsDepictions,
[MutationNames.SetOtus]: setOtus,
[MutationNames.SetStore]: setStore
}
export {
MutationNames,
MutationFunctions
}