import { StateTree } from 'pinia'; import { ProjectName } from '../../enums'; /** * 全局 store 状态 * * @export * @interface IGlobalState */ export interface IGlobalState extends StateTree { /** * 项目名称 * * @type {ProjectName} */ projectName: ProjectName; /** * 租户标识 * * @type {string} */ tenantId: string; /** * 多语言环境 * * @default zh-CN * @type {string} */ lang: string; /** * 应用信息, todo: 等 api 包完成后,实际类型从 api 导入 * * @type {IObject} */ appInfo: IObject; }