import Vue from "vue-native-core";
import Vuex from "vuex";

import * as actions from "./actions";
import * as mutations from "./mutations";

Vue.use(Vuex);

const store = new Vuex.Store({
    actions,
    mutations,

    state: {
        userObj: Object,
        userGroup: String,
        lessons: [],
        calls: [],
        logging_in: false,
        loading: false
    }
});

export default store;