FitTrackee/fittrackee_client/src/store/constants.ts

45 lines
853 B
TypeScript
Raw Normal View History

2021-08-15 12:30:39 +02:00
import {
RootActions,
RootGetters,
RootMutations,
} from '@/store/modules/root/enums'
2021-08-22 21:10:47 +02:00
import {
SportsActions,
SportsGetters,
SportsMutation,
} from '@/store/modules/sports/enums'
2021-08-21 21:13:16 +02:00
import {
StatisticsActions,
StatisticsGetters,
StatisticsMutations,
} from '@/store/modules/statistics/enums'
import {
UserActions,
UserGetters,
UserMutations,
} from '@/store/modules/user/enums'
2021-08-11 18:33:02 +02:00
export const ROOT_STORE = {
2021-08-15 12:30:39 +02:00
ACTIONS: RootActions,
2021-08-11 21:12:20 +02:00
GETTERS: RootGetters,
2021-08-11 18:33:02 +02:00
MUTATIONS: RootMutations,
}
2021-08-22 21:10:47 +02:00
export const SPORTS_STORE = {
ACTIONS: SportsActions,
GETTERS: SportsGetters,
MUTATIONS: SportsMutation,
}
2021-08-21 21:13:16 +02:00
export const STATS_STORE = {
ACTIONS: StatisticsActions,
GETTERS: StatisticsGetters,
MUTATIONS: StatisticsMutations,
}
2021-08-11 18:33:02 +02:00
export const USER_STORE = {
ACTIONS: UserActions,
2021-08-11 18:33:02 +02:00
GETTERS: UserGetters,
MUTATIONS: UserMutations,
2021-08-11 18:33:02 +02:00
}