18 lines
506 B
TypeScript
18 lines
506 B
TypeScript
import { Module } from 'vuex'
|
|
|
|
import { IRootState } from '@/store/modules/root/interfaces'
|
|
import { actions } from '@/store/modules/user/actions'
|
|
import { getters } from '@/store/modules/user/getters'
|
|
import { IUserState } from '@/store/modules/user/interfaces'
|
|
import { userState } from '@/store/modules/user/state.ts'
|
|
import { mutations } from '@/store/modules/user/mutations'
|
|
|
|
const user: Module<IUserState, IRootState> = {
|
|
state: userState,
|
|
actions,
|
|
getters,
|
|
mutations,
|
|
}
|
|
|
|
export default user
|