feat(projects): 1.0 beta

This commit is contained in:
Soybean
2023-11-17 08:45:00 +08:00
parent 1ea4817f6a
commit e918a2c0f5
499 changed files with 15918 additions and 24708 deletions

View File

@ -1,23 +1,51 @@
declare namespace StorageInterface {
/** localStorage的存储数据的类型 */
/**
* the storage namespace
*/
declare namespace StorageType {
interface Session {
/** 主题颜色 */
/**
* the theme color
*/
themeColor: string;
/** 主题配置 */
themeSettings: Theme.Setting;
// /**
// * the theme settings
// */
// themeSettings: App.Theme.ThemeSetting;
}
/** localStorage的存储数据的类型 */
interface Local {
/** 用户token */
/**
* the i18n language
*/
lang: App.I18n.LangType;
/**
* the token
*/
token: string;
/** 用户刷新token */
/**
* the refresh token
*/
refreshToken: string;
/** 用户信息 */
userInfo: Auth.UserInfo;
/** 多页签路由信息 */
multiTabRoutes: App.GlobalTabRoute[];
/** 本地语言缓存 */
lang: I18nType.LangType;
/**
* the user info
*/
userInfo: Api.Auth.UserInfo;
/**
* the theme color
*/
themeColor: string;
/**
* the theme settings
*/
themeSettings: App.Theme.ThemeSetting;
/**
* the override theme flags
* @description the value is the build time of the project
*/
overrideThemeFlag: string;
/**
* the global tabs
*/
globalTabs: App.Global.Tab[];
}
}