2019-10-29 07:20:54 +00:00
|
|
|
import Vue from 'vue';
|
|
|
|
import Vuex from 'vuex';
|
2020-04-03 07:34:58 +00:00
|
|
|
import agent from 'widget/store/modules/agent';
|
2019-11-25 18:40:27 +00:00
|
|
|
import appConfig from 'widget/store/modules/appConfig';
|
2020-04-03 07:34:58 +00:00
|
|
|
import contacts from 'widget/store/modules/contacts';
|
2020-01-09 07:36:40 +00:00
|
|
|
import conversation from 'widget/store/modules/conversation';
|
2020-05-09 16:32:43 +00:00
|
|
|
import conversationAttributes from 'widget/store/modules/conversationAttributes';
|
2020-04-03 07:34:58 +00:00
|
|
|
import conversationLabels from 'widget/store/modules/conversationLabels';
|
2020-04-10 11:12:37 +00:00
|
|
|
import events from 'widget/store/modules/events';
|
2020-05-11 20:01:40 +00:00
|
|
|
import globalConfig from 'shared/store/globalConfig';
|
2020-04-03 07:34:58 +00:00
|
|
|
import message from 'widget/store/modules/message';
|
2019-10-29 07:20:54 +00:00
|
|
|
|
|
|
|
Vue.use(Vuex);
|
|
|
|
|
|
|
|
export default new Vuex.Store({
|
|
|
|
modules: {
|
2020-04-03 07:34:58 +00:00
|
|
|
agent,
|
2019-11-25 18:40:27 +00:00
|
|
|
appConfig,
|
2020-04-03 07:34:58 +00:00
|
|
|
contacts,
|
2019-10-29 07:20:54 +00:00
|
|
|
conversation,
|
2020-05-09 16:32:43 +00:00
|
|
|
conversationAttributes,
|
2020-04-03 07:34:58 +00:00
|
|
|
conversationLabels,
|
2020-04-10 11:12:37 +00:00
|
|
|
events,
|
2020-05-11 20:01:40 +00:00
|
|
|
globalConfig,
|
2020-04-10 11:12:37 +00:00
|
|
|
message,
|
2019-10-29 07:20:54 +00:00
|
|
|
},
|
|
|
|
});
|