Rev 93 | Rev 2236 | Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |
import { actionsTypes } from "./auth.types";
export const setPermissions = (permissions) => ({
type: actionsTypes.SET_PERMISSIONS,
payload: permissions,
});
export const startLoading = () => ({
type: actionsTypes.START_LOADING,
});
export const stopLoading = () => ({
type: actionsTypes.STOP_LOADING,
});
export const login = () => ({
type: actionsTypes.LOGIN,
});
export const logout = () => ({
type: actionsTypes.LOGOUT,
});