constants.js 425 Bytes
Newer Older
Julien Benchetrit's avatar
Julien Benchetrit committed
1 2 3
export const RESTART_ON_REMOUNT = '@@saga-injector/restart-on-remount';
export const DAEMON = '@@saga-injector/daemon';
export const ONCE_TILL_UNMOUNT = '@@saga-injector/once-till-unmount';
4

张烨's avatar
张烨 committed
5
export const BASENAME = process.env.PUBLIC_PATH || 'CivManage';
张烨's avatar
张烨 committed
6 7 8 9 10
export const AUTHORITY = {
  LOGIN: 'LOGIN',
  admin: 'admin',
  super: 'super',
};
11 12 13 14 15
export const USER_MODE = {
  ADMIN: 'admin',
  SUPER: 'super',
  COMMON: 'common',
};