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

78 lines
2.4 KiB
JavaScript
Raw Normal View History

import Vue from 'vue';
import Vuex from 'vuex';
import accounts from './modules/accounts';
import agents from './modules/agents';
import attributes from './modules/attributes';
import auth from './modules/auth';
import automations from './modules/automations';
import bulkActions from './modules/bulkActions';
2021-07-14 04:50:06 +00:00
import campaigns from './modules/campaigns';
import cannedResponse from './modules/cannedResponse';
import contactConversations from './modules/contactConversations';
import contactLabels from './modules/contactLabels';
2021-07-14 04:50:06 +00:00
import contactNotes from './modules/contactNotes';
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 conversationSearch from './modules/conversationSearch';
import conversationStats from './modules/conversationStats';
import conversationTypingStatus from './modules/conversationTypingStatus';
2021-07-14 04:50:06 +00:00
import csat from './modules/csat';
import customViews from './modules/customViews';
import dashboardApps from './modules/dashboardApps';
import globalConfig from 'shared/store/globalConfig';
2021-07-14 04:50:06 +00:00
import inboxAssignableAgents from './modules/inboxAssignableAgents';
import inboxes from './modules/inboxes';
import inboxMembers from './modules/inboxMembers';
import integrations from './modules/integrations';
import labels from './modules/labels';
2021-07-14 04:50:06 +00:00
import notifications from './modules/notifications';
import reports from './modules/reports';
2021-07-14 04:50:06 +00:00
import teamMembers from './modules/teamMembers';
import teams from './modules/teams';
import userNotificationSettings from './modules/userNotificationSettings';
import webhooks from './modules/webhooks';
Vue.use(Vuex);
export default new Vuex.Store({
modules: {
accounts,
agents,
attributes,
auth,
automations,
bulkActions,
2021-07-14 04:50:06 +00:00
campaigns,
cannedResponse,
contactConversations,
contactLabels,
2021-07-14 04:50:06 +00:00
contactNotes,
contacts,
conversationLabels,
conversationMetadata,
conversationPage,
conversations,
conversationSearch,
conversationStats,
conversationTypingStatus,
2021-07-14 04:50:06 +00:00
csat,
customViews,
dashboardApps,
globalConfig,
2021-07-14 04:50:06 +00:00
inboxAssignableAgents,
inboxes,
inboxMembers,
integrations,
labels,
2021-07-14 04:50:06 +00:00
notifications,
reports,
2021-07-14 04:50:06 +00:00
teamMembers,
teams,
userNotificationSettings,
webhooks,
},
});