UNPKG

vue-rest-hooks

Version:

typescript restfull-api reactive @vue/composition-api

13 lines (12 loc) 442 B
import { mapStateConvert } from "./mapState"; import { mapGettersConvert } from "./mapGetters"; import { mapMutationsConvert } from "./mapMutation"; import { mapActionsConvert } from "./mapActions"; export function convertStore(store) { return { mapState: mapStateConvert(store), mapGetters: mapGettersConvert(store), mapMutations: mapMutationsConvert(store), mapActions: mapActionsConvert(store) }; }