mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-12-24 21:40:22 +08:00
24 lines
572 B
TypeScript
24 lines
572 B
TypeScript
declare namespace StorageInterface {
|
|
/** localStorage的存储数据的类型 */
|
|
interface Session {
|
|
/** 主题颜色 */
|
|
themeColor: string;
|
|
/** 主题配置 */
|
|
themeSettings: Theme.Setting;
|
|
}
|
|
|
|
/** localStorage的存储数据的类型 */
|
|
interface Local {
|
|
/** 用户token */
|
|
token: string;
|
|
/** 用户刷新token */
|
|
refreshToken: string;
|
|
/** 用户信息 */
|
|
userInfo: Auth.UserInfo;
|
|
/** 多页签路由信息 */
|
|
multiTabRoutes: App.GlobalTabRoute[];
|
|
/** 本地语言缓存 */
|
|
lang: I18nType.LangType;
|
|
}
|
|
}
|