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

44 lines
1.2 KiB
JavaScript
Raw Normal View History

import Vue from 'vue';
import Vuex from 'vuex';
import agents from './modules/agents';
import auth from './modules/auth';
import billing from './modules/billing';
import cannedResponse from './modules/cannedResponse';
import Channel from './modules/channels';
import contactConversations from './modules/contactConversations';
import contacts from './modules/contacts';
import conversationLabels from './modules/conversationLabels';
import conversationMetadata from './modules/conversationMetadata';
import conversationPage from './modules/conversationPage';
import conversations from './modules/conversations';
import inboxes from './modules/inboxes';
import inboxMembers from './modules/inboxMembers';
import reports from './modules/reports';
import userNotificationSettings from './modules/userNotificationSettings';
import webhooks from './modules/webhooks';
import accounts from './modules/accounts';
Vue.use(Vuex);
export default new Vuex.Store({
modules: {
agents,
auth,
billing,
cannedResponse,
Channel,
contacts,
contactConversations,
conversationLabels,
conversationMetadata,
conversationPage,
conversations,
inboxes,
inboxMembers,
reports,
userNotificationSettings,
webhooks,
accounts,
},
});