Files
full-stack-fastapi-postgresql/{{cookiecutter.project_slug}}/frontend/src/store/main/index.ts
Sebastián Ramírez 7f8bfc8faa 🎉 First commit, from couchbase generator, basic changes
not tested / updated yet
2019-02-09 19:42:36 +04:00

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,
};