mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-01-24 18:40:22 +08:00
32 lines
688 B
TypeScript
32 lines
688 B
TypeScript
// token key
|
|
export const TOKEN_KEY = 'TOKEN__';
|
|
|
|
export const LOCALE_KEY = 'LOCALE__';
|
|
|
|
// user info key
|
|
export const USER_INFO_KEY = 'USER__INFO__';
|
|
|
|
// role info key
|
|
export const ROLES_KEY = 'ROLES__KEY__';
|
|
|
|
// project config key
|
|
export const PROJ_CFG_KEY = 'PROJ__CFG__KEY__';
|
|
|
|
// lock info
|
|
export const LOCK_INFO_KEY = 'LOCK__INFO__KEY__';
|
|
|
|
export const MULTIPLE_TABS_KEY = 'MULTIPLE_TABS__KEY__';
|
|
|
|
export const APP_DARK_MODE_KEY_ = '__APP__DARK__MODE__';
|
|
|
|
// base global local key
|
|
export const APP_LOCAL_CACHE_KEY = 'COMMON__LOCAL__KEY__';
|
|
|
|
// base global session key
|
|
export const APP_SESSION_CACHE_KEY = 'COMMON__SESSION__KEY__';
|
|
|
|
export enum CacheTypeEnum {
|
|
SESSION,
|
|
LOCAL,
|
|
}
|