admin-fe/test/views/users/store.conf.js

29 lines
603 B
JavaScript
Raw Normal View History

2019-03-22 20:58:58 +00:00
import app from '@/store/modules/app'
2020-04-17 22:27:00 +00:00
import settings from '@/store/modules/settings'
2019-03-22 20:58:58 +00:00
import user from '@/store/modules/user'
2019-10-04 18:06:01 +00:00
import userProfile from '@/store/modules/userProfile'
2019-03-22 20:58:58 +00:00
import users from '@/store/modules/users'
2019-03-23 14:09:48 +00:00
import getters from '@/store/getters'
2019-03-22 20:58:58 +00:00
export const storeConfig = {
2019-03-22 20:58:58 +00:00
modules: {
app,
2020-04-17 22:27:00 +00:00
settings,
2019-03-23 14:09:48 +00:00
user,
2019-10-04 18:06:01 +00:00
userProfile,
2019-03-23 14:09:48 +00:00
users
2019-03-22 20:58:58 +00:00
},
getters
}
export const storeWithTagPolicy = {
modules: {
app,
settings,
user,
userProfile,
2020-08-28 21:45:15 +00:00
users: { ...users, state: { ...users.state, mrfPolicies: ['Pleroma.Web.ActivityPub.MRF.TagPolicy'] }}
},
getters
}