Mercurial > gemma
comparison client/src/store/user.js @ 1114:8d12056d602a store-refactoring
shortened store file imports
author | Markus Kottlaender <markus@intevation.de> |
---|---|
date | Mon, 05 Nov 2018 13:41:53 +0100 |
parents | aa1f5daf6fc9 |
children | a4c74a95c177 |
comparison
equal
deleted
inserted
replaced
1113:595654ad3f66 | 1114:8d12056d602a |
---|---|
13 * Thomas Junk <thomas.junk@intevation.de> | 13 * Thomas Junk <thomas.junk@intevation.de> |
14 */ | 14 */ |
15 | 15 |
16 import { HTTP } from "../application/lib/http"; | 16 import { HTTP } from "../application/lib/http"; |
17 | 17 |
18 const User = { | 18 export default { |
19 namespaced: true, | 19 namespaced: true, |
20 state: { | 20 state: { |
21 authenticated: false, | 21 authenticated: false, |
22 expires: null, | 22 expires: null, |
23 roles: [], | 23 roles: [], |
90 }); | 90 }); |
91 }); | 91 }); |
92 } | 92 } |
93 } | 93 } |
94 }; | 94 }; |
95 | |
96 export default User; |