mirror of
https://github.com/kevin-DL/full-stack-fastapi-postgresql.git
synced 2026-01-14 11:04:41 +00:00
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,
|
|
};
|