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