8558cf00a2
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
22 lines
435 B
TypeScript
22 lines
435 B
TypeScript
import { mutations } from './mutations';
|
|
import { getters } from './getters';
|
|
import { actions } from './actions';
|
|
import { MainState } from './state';
|
|
|
|
const defaultState: MainState = {
|
|
isLoggedIn: null,
|
|
token: '',
|
|
logInError: false,
|
|
userProfile: null,
|
|
dashboardMiniDrawer: false,
|
|
dashboardShowDrawer: true,
|
|
notifications: [],
|
|
};
|
|
|
|
export const mainModule = {
|
|
state: defaultState,
|
|
mutations,
|
|
actions,
|
|
getters,
|
|
};
|