2021-01-17 17:14:03 +00:00
|
|
|
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,
|
2021-02-15 18:44:13 +00:00
|
|
|
isCreating: false,
|
2021-01-17 17:14:03 +00:00
|
|
|
},
|
|
|
|
};
|
|
|
|
|
|
|
|
export default {
|
|
|
|
namespaced: true,
|
|
|
|
state,
|
|
|
|
getters,
|
|
|
|
actions,
|
|
|
|
mutations,
|
|
|
|
};
|