import { getDefaultStoreActions, getDefaultStoreGetters, getDefaultStoreMutations, getDefaultStoreState } from '@/utils/store'; const state = { ...getDefaultStoreState('environment'), } as EnvironmentStoreState; const getters = { ...getDefaultStoreGetters(), } as EnvironmentStoreGetters; const mutations = { ...getDefaultStoreMutations(), } as EnvironmentStoreMutations; const actions = { ...getDefaultStoreActions('/environments'), } as EnvironmentStoreActions; export default { namespaced: true, state, getters, mutations, actions, } as EnvironmentStoreModule;