24 lines
388 B
JavaScript
24 lines
388 B
JavaScript
|
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,
|
||
|
},
|
||
|
};
|
||
|
|
||
|
export default {
|
||
|
namespaced: true,
|
||
|
state,
|
||
|
getters,
|
||
|
actions,
|
||
|
mutations,
|
||
|
};
|