Chatwoot/app/javascript/widget/store/index.js

37 lines
1.1 KiB
JavaScript
Raw Normal View History

import Vue from 'vue';
import Vuex from 'vuex';
import agent from 'widget/store/modules/agent';
import appConfig from 'widget/store/modules/appConfig';
import contacts from 'widget/store/modules/contacts';
import conversation from 'widget/store/modules/conversation';
import conversationAttributes from 'widget/store/modules/conversationAttributes';
import conversationLabels from 'widget/store/modules/conversationLabels';
import events from 'widget/store/modules/events';
import globalConfig from 'shared/store/globalConfig';
import message from 'widget/store/modules/message';
import campaign from 'widget/store/modules/campaign';
2021-09-23 06:50:53 +00:00
// New store modules
import contactV2 from 'widget/store/modules/contactV2';
import conversationV2 from 'widget/store/modules/conversationV2';
import messageV2 from 'widget/store/modules/messageV2';
Vue.use(Vuex);
export default new Vuex.Store({
modules: {
agent,
appConfig,
contacts,
conversation,
conversationAttributes,
conversationLabels,
events,
globalConfig,
message,
campaign,
2021-09-23 06:50:53 +00:00
contactV2,
conversationV2,
messageV2,
},
});