import { createStore } from 'vuex'
import getters from './getters';
import actions from './actions';
import mutations from './mutations';

const state = {
  uid: '',
  errorState: '',
  isAuth: false,
  menus: [],
  availableMenus: [],
  myMenus: [],
  locale: '',
  params: {},
};

export default createStore({
  state,
  mutations,
  getters,
  actions,
});
