Chatwoot/app/javascript/widget/store/modules/messageV2/index.js
2021-09-16 12:22:05 +05:30

23 lines
407 B
JavaScript

import { getters } from './getters';
import { actions } from './actions';
import { mutations } from './mutations';
const state = {
messages: {
byId: {},
allIds: [],
uiFlags: {
byId: {
// 1: { isCreating: false, isPending: false, isDeleting: false, isUpdating: false },
},
},
},
};
export default {
namespaced: true,
state,
getters,
actions,
mutations,
};