28 lines
483 B
JavaScript
Executable file
28 lines
483 B
JavaScript
Executable file
import { getters } from './getters';
|
|
import { actions } from './actions';
|
|
import { mutations } from './mutations';
|
|
|
|
const state = {
|
|
conversations: {
|
|
byId: {},
|
|
allIds: [],
|
|
uiFlags: {
|
|
byId: {
|
|
// 1: { allFetched: false, isAgentTyping: false, isFetching: false },
|
|
},
|
|
},
|
|
},
|
|
uiFlags: {
|
|
allFetched: false,
|
|
isFetching: false,
|
|
isCreating: true,
|
|
},
|
|
};
|
|
|
|
export default {
|
|
namespaced: true,
|
|
state,
|
|
getters,
|
|
actions,
|
|
mutations,
|
|
};
|