File tree Expand file tree Collapse file tree 1 file changed +6
-17
lines changed Expand file tree Collapse file tree 1 file changed +6
-17
lines changed Original file line number Diff line number Diff line change 1
- import RoleStore from './roleStore' ;
2
- import TenantStore from './tenantStore' ;
3
- import UserStore from './userStore' ;
4
- import SessionStore from './sessionStore' ;
5
- import AuthenticationStore from './authenticationStore' ;
6
- import AccountStore from './accountStore' ;
7
-
8
1
export default class Stores {
9
- static AuthenticationStore : string = getName ( AuthenticationStore ) ;
10
- static RoleStore : string = getName ( RoleStore ) ;
11
- static TenantStore : string = getName ( TenantStore ) ;
12
- static UserStore : string = getName ( UserStore ) ;
13
- static SessionStore : string = getName ( SessionStore ) ;
14
- static AccountStore : string = getName ( AccountStore ) ;
15
- }
16
-
17
- function getName ( store : any ) : string {
18
- return abp . utils . toCamelCase ( store . name ) ;
2
+ static AuthenticationStore : string = 'authenticationStore' ;
3
+ static RoleStore : string = 'roleStore' ;
4
+ static TenantStore : string = 'tenantStore' ;
5
+ static UserStore : string = 'userStore' ;
6
+ static SessionStore : string = 'sessionStore' ;
7
+ static AccountStore : string = 'accountStore' ;
19
8
}
You can’t perform that action at this time.
0 commit comments