@ibiz-template/core 0.7.41-alpha.78 → 0.7.41-alpha.88

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.
@@ -0,0 +1,57 @@
1
+ import { IApiContext } from '../global-param';
2
+ /**
3
+ * @description 当前用户应用数据
4
+ * @export
5
+ * @interface IOrgData
6
+ */
7
+ export interface IAppData {
8
+ /**
9
+ * @description 当前用户可看到的菜单项集合,启用菜单权限控制才生效
10
+ * @type {string[]}
11
+ * @memberof IAppData
12
+ */
13
+ appmenu: string[];
14
+ /**
15
+ * @description 当前用户用户身份信息
16
+ * @type {IApiContext}
17
+ * @memberof IAppData
18
+ */
19
+ context: IApiContext;
20
+ /**
21
+ * @description 是否启用权限控制
22
+ * @type {boolean}
23
+ * @memberof IAppData
24
+ */
25
+ enablepermissionvalid: boolean;
26
+ /**
27
+ * @description 当前用户过期时间,字符串格式,如 "2026-03-24 15:43:25"(本地时间)
28
+ * @type {string}
29
+ * @memberof IAppData
30
+ */
31
+ expireddate: string;
32
+ /**
33
+ * @description 当前用户过期剩余时间,单位秒
34
+ * @type {number}
35
+ * @memberof IAppData
36
+ */
37
+ expirein: number;
38
+ /**
39
+ * @description 当前用户权限资源,配合前端权限控制使用
40
+ * @type {string[]}
41
+ * @memberof IAppData
42
+ */
43
+ unires: string[];
44
+ /**
45
+ * @description 当前后台服务版本
46
+ * @type {string}
47
+ * @memberof IAppData
48
+ */
49
+ version: string;
50
+ /**
51
+ * @description 模型动态标记
52
+ * @type {string}
53
+ * @memberof IAppData
54
+ */
55
+ dynamodeltag: string;
56
+ }
57
+ //# sourceMappingURL=i-app-data.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i-app-data.d.ts","sourceRoot":"","sources":["../../../../src/interface/api/ibizsys/i-app-data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9C;;;;GAIG;AACH,MAAM,WAAW,QAAQ;IACvB;;;;OAIG;IACH,OAAO,EAAE,MAAM,EAAE,CAAC;IAElB;;;;OAIG;IACH,OAAO,EAAE,WAAW,CAAC;IAErB;;;;OAIG;IACH,qBAAqB,EAAE,OAAO,CAAC;IAE/B;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;;OAIG;IACH,MAAM,EAAE,MAAM,EAAE,CAAC;IAEjB;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;CACtB"}
@@ -0,0 +1 @@
1
+ export {};
@@ -17,7 +17,7 @@ export interface IOrgData {
17
17
  */
18
18
  orgname: string;
19
19
  /**
20
- * @description 中心系统标识
20
+ * @description 租户系统标识
21
21
  * @type {string}
22
22
  * @memberof IOrgData
23
23
  */
@@ -1,3 +1,4 @@
1
1
  export type { IApiIBizsys } from './i-api-ibizsys';
2
2
  export type { IOrgData } from './i-org-data';
3
+ export type { IAppData } from './i-app-data';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/interface/api/ibizsys/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACnD,YAAY,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/interface/api/ibizsys/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACnD,YAAY,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAC7C,YAAY,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC"}
@@ -19,13 +19,13 @@ export interface IPortalMessage {
19
19
  */
20
20
  messagename?: string;
21
21
  /**
22
- * @description 消息类型
22
+ * @description 消息类型, 日志消息 | 命令 | 错误消息
23
23
  * @type {('CONSOLE' | 'COMMAND' | 'ERROR')} 日志消息 | 命令 | 错误消息
24
24
  * @memberof IPortalMessage
25
25
  */
26
26
  type: 'CONSOLE' | 'COMMAND' | 'ERROR';
27
27
  /**
28
- * @description 消息子类型
28
+ * @description 消息子类型, 标注打开数据 | 异步作业 | 站内信 | 数据更新 | 数据删除 | 数据创建 | 添加更改
29
29
  * @type {('MARKOPENDATA'
30
30
  * | 'ASYNCACTION'
31
31
  * | 'INTERNALMESSAGE'
@@ -61,7 +61,7 @@ export interface IPortalMessage {
61
61
  */
62
62
  mobileurl?: string;
63
63
  /**
64
- * @description 触发源的key
64
+ * @description 触发源的key,随机字符串,作为接收方判断是否相同环境触发,相同环境则不做处理,可不传
65
65
  * @type {string}
66
66
  * @memberof IPortalMessage
67
67
  */
@@ -55,7 +55,7 @@ export interface IApiNet {
55
55
  */
56
56
  request(url: string, config?: AxiosRequestConfig): Promise<IHttpResponse>;
57
57
  /**
58
- * @description 创建标准 axios 请求
58
+ * @description 创建标准 axios 请求,此方法会跳过预置网络拦截器
59
59
  * @param {AxiosRequestConfig<IApiData>} config 请求配置
60
60
  * @returns {*} {Promise<AxiosResponse>}
61
61
  * @memberof IApiNet
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibiz-template/core",
3
- "version": "0.7.41-alpha.78",
3
+ "version": "0.7.41-alpha.88",
4
4
  "description": "运行时核心库",
5
5
  "type": "module",
6
6
  "main": "out/index.js",
@@ -50,5 +50,5 @@
50
50
  "qx-util": "^0.4.8",
51
51
  "ramda": "^0.29.0"
52
52
  },
53
- "gitHead": "38afd6a27e57380b9240b87a849b874aa64d4c05"
53
+ "gitHead": "d2caab1292334881550e481e536ff3091734361e"
54
54
  }