import { GetterTree } from 'vuex' ; import { MiStageState , RootState } from '@store/types' ; export const getters = { stages ( state ) { return state . stages ; } , layers ( state ) { return state . layers ; } , activeStage ( state ) { return state . active . stage ; } , activeLayer ( state ) { return state . active . layer ; } } ;