I have a vuejs on client side, where I use vuex for state management. I have several modules (in separate files) but some of the modules, has very similar actions, that's why I want to create [dry code](https://en.wikipedia.org/wiki/Don%27t_repeat_yourself). 

**My goal:** Creating a root action, what can be called by every modules.

My main vuex looks like this:

```
export default new Vuex.Store({
  actions: {
    rootactions,
  },
  modules: {
    users,
    classes,
    studentgroups,
    // ... other stuff
  }
})

```

How should I refer the rootactions methods?

Thanks for the responses in advance!