gtsoft-snail-job-admin/src/typings/storage.d.ts
2024-04-28 14:06:34 +08:00

46 lines
1.1 KiB
TypeScript

/** The storage namespace */
declare namespace StorageType {
interface Session {
/** The theme color */
themeColor: string;
// /**
// * the theme settings
// */
// themeSettings: App.Theme.ThemeSetting;
}
interface Local {
/** The i18n language */
lang: App.I18n.LangType;
/** The token */
token: string;
/** Fixed sider with mix-menu */
mixSiderFixed: CommonType.YesOrNo;
/** The refresh token */
refreshToken: string;
/** The version */
version: string;
/** The namespace id */
namespaceId: string;
/** The user info */
userInfo: Api.Auth.UserInfo;
/** The theme color */
themeColor: string;
/** The theme settings */
themeSettings: App.Theme.ThemeSetting;
/**
* The override theme flags
*
* The value is the build time of the project
*/
overrideThemeFlag: string;
/** The global tabs */
globalTabs: App.Global.Tab[];
/** The backup theme setting before is mobile */
backupThemeSettingBeforeIsMobile: {
layout: UnionKey.ThemeLayoutMode;
siderCollapse: boolean;
};
}
}