FitTrackee/fittrackee_client/src/store/constants.ts

67 lines
1.3 KiB
TypeScript
Raw Normal View History

import {
AuthUserActions,
AuthUserGetters,
AuthUserMutations,
} from '@/store/modules/authUser/enums'
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'
2021-10-31 09:27:12 +01:00
import {
UsersActions,
UsersGetters,
UsersMutations,
} from '@/store/modules/users/enums'
2021-09-05 10:39:32 +02:00
import {
WorkoutsActions,
WorkoutsGetters,
WorkoutsMutations,
} from '@/store/modules/workouts/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,
}
export const AUTH_USER_STORE = {
ACTIONS: AuthUserActions,
GETTERS: AuthUserGetters,
MUTATIONS: AuthUserMutations,
2021-08-11 18:33:02 +02:00
}
2021-09-05 10:39:32 +02:00
2021-10-31 09:27:12 +01:00
export const USERS_STORE = {
ACTIONS: UsersActions,
GETTERS: UsersGetters,
MUTATIONS: UsersMutations,
}
2021-09-05 10:39:32 +02:00
export const WORKOUTS_STORE = {
ACTIONS: WorkoutsActions,
GETTERS: WorkoutsGetters,
MUTATIONS: WorkoutsMutations,
}