mirror of
https://github.com/fastapi/full-stack-fastapi-template.git
synced 2026-11-03 20:36:27 +00:00
🎉 First commit, from couchbase generator, basic changes
not tested / updated yet
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
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,
|
||||
};
|
||||
Reference in New Issue
Block a user