2020-11-10 09:55:26 +00:00
|
|
|
import { getters } from './getters';
|
|
|
|
import { actions } from './actions';
|
|
|
|
import { mutations } from './mutations';
|
|
|
|
|
|
|
|
const state = {
|
|
|
|
meta: {
|
|
|
|
count: 0,
|
|
|
|
currentPage: 1,
|
|
|
|
},
|
|
|
|
records: {},
|
|
|
|
uiFlags: {
|
|
|
|
isFetching: false,
|
|
|
|
isFetchingItem: false,
|
2021-04-16 15:01:07 +00:00
|
|
|
isFetchingInboxes: false,
|
2020-11-10 09:55:26 +00:00
|
|
|
isUpdating: false,
|
2021-09-23 07:22:49 +00:00
|
|
|
isDeleting: false,
|
2020-11-10 09:55:26 +00:00
|
|
|
},
|
2021-05-13 08:02:19 +00:00
|
|
|
sortOrder: [],
|
2020-11-10 09:55:26 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export default {
|
|
|
|
namespaced: true,
|
|
|
|
state,
|
|
|
|
getters,
|
|
|
|
actions,
|
|
|
|
mutations,
|
|
|
|
};
|