Chatwoot/app/javascript/widget/store/modules/messageV2/index.js

24 lines
407 B
JavaScript
Raw Normal View History

import { getters } from './getters';
import { actions } from './actions';
import { mutations } from './mutations';
const state = {
messages: {
byId: {},
allIds: [],
uiFlags: {
byId: {
2021-09-16 06:52:05 +00:00
// 1: { isCreating: false, isPending: false, isDeleting: false, isUpdating: false },
},
},
},
};
export default {
namespaced: true,
state,
getters,
actions,
mutations,
};