Chatwoot/app/javascript/widget/store/modules/conversation/index.js
2021-02-16 00:14:13 +05:30

24 lines
411 B
JavaScript
Executable file

import { getters } from './getters';
import { actions } from './actions';
import { mutations } from './mutations';
const state = {
conversations: {},
meta: {
userLastSeenAt: undefined,
},
uiFlags: {
allMessagesLoaded: false,
isFetchingList: false,
isAgentTyping: false,
isCreating: false,
},
};
export default {
namespaced: true,
state,
getters,
actions,
mutations,
};