655c585358
* Add API to fetch conversations of a contact * Add conversation list in sidebar
33 lines
891 B
JavaScript
Executable file
33 lines
891 B
JavaScript
Executable file
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 contacts from './modules/contacts';
|
|
import contactConversations from './modules/contactConversations';
|
|
import conversationMetadata from './modules/conversationMetadata';
|
|
import conversations from './modules/conversations';
|
|
import inboxes from './modules/inboxes';
|
|
import inboxMembers from './modules/inboxMembers';
|
|
import reports from './modules/reports';
|
|
|
|
Vue.use(Vuex);
|
|
export default new Vuex.Store({
|
|
modules: {
|
|
agents,
|
|
auth,
|
|
billing,
|
|
cannedResponse,
|
|
Channel,
|
|
contacts,
|
|
contactConversations,
|
|
conversationMetadata,
|
|
conversations,
|
|
inboxes,
|
|
inboxMembers,
|
|
reports,
|
|
},
|
|
});
|