@skyfox2000/microbase 1.0.8 → 1.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.d.ts CHANGED
@@ -268,6 +268,10 @@ export declare interface MainOpenApis {
268
268
  * @returns 授权码
269
269
  */
270
270
  getToken: () => string;
271
+ /**
272
+ * 主机解析图标库并同步到子应用
273
+ */
274
+ createIconLib: (monoColor: boolean, iconLib: Ref<Record<string, any>>) => void;
271
275
  /**
272
276
  * 获取当前用户信息
273
277
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyfox2000/microbase",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
4
4
  "description": "微前端通用功能与数据类型定义",
5
5
  "type": "module",
6
6
  "keywords": [],
@@ -2,7 +2,7 @@ import { HostInfo } from "@/stores/hostInfo";
2
2
  import { SettingInfo } from "@/stores/settingInfo";
3
3
  import { LoginInfo, UserInfo } from "@/stores/userInfo";
4
4
  import { ApiResponse } from "@skyfox2000/fapi";
5
- import { ref } from "vue";
5
+ import { Ref, ref } from "vue";
6
6
  /**
7
7
  * 是否微服务运行环境
8
8
  * @returns
@@ -66,6 +66,10 @@ export interface MainOpenApis {
66
66
  * @returns 授权码
67
67
  */
68
68
  getToken: () => string;
69
+ /**
70
+ * 主机解析图标库并同步到子应用
71
+ */
72
+ createIconLib: (monoColor:boolean, iconLib: Ref<Record<string, any>>) => void;
69
73
  /**
70
74
  * 获取当前用户信息
71
75
  */