export default {
// ACTIONS
FETCH_VACANSIES: "FETCH_VACANSIES",
// MUTATION
SET_VACANCIES: "SET_VACANCIES",
// GETTERS
VACANCY_ITEMS: "VACANCY_ITEMS",
}
import actions from "./actions"
import getters from "./getters"
import mutations from "./mutations"
const namespaced = true
export default {
namespaced,
state() {
return {
vacancy: []
}
},
actions,
getters,
mutations,
}
import types from "./types"
const getVacancyItems = (state) => {
return state.vacancy
}
export default {
[types.VACANCY_ITEMS]: getVacancyItems
}