@ibiz/model-core 0.1.7 → 0.1.9

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/CHANGELOG.md CHANGED
@@ -7,6 +7,18 @@
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.1.9] - 2024-01-29
11
+
12
+ ### Added
13
+
14
+ - IModelObject 补充 modelId、modelType 转换,满足开发态下跳转配置界面参数需求
15
+
16
+ ## [0.1.8] - 2024-01-25
17
+
18
+ ### Added
19
+
20
+ - 新增文件上传 osscat 相关
21
+
10
22
  ## [0.1.7] - 2024-01-24
11
23
 
12
24
  ### Added
@@ -205,6 +205,12 @@ export interface IApplication extends IModelObject {
205
205
  * 来源 getCodeName
206
206
  */
207
207
  codeName?: string;
208
+ /**
209
+ * 默认对象存储分类
210
+ * @type {string}
211
+ * 来源 getDefaultOSSCat
212
+ */
213
+ defaultOSSCat?: string;
208
214
  /**
209
215
  * 动态系统模式
210
216
  * @description 值模式 [动态系统模式] {0:不启用、 1:启用 }
@@ -30,4 +30,10 @@ export interface IFileUploader extends IValueItemEditor {
30
30
  * 来源 getMinFileCount
31
31
  */
32
32
  minFileCount?: number;
33
+ /**
34
+ * 对象存储分类[OSSCAT]
35
+ * @type {string}
36
+ * 来源 getOSSCat
37
+ */
38
+ osscat?: string;
33
39
  }
@@ -6,6 +6,12 @@ import { IValueItemEditor } from './ivalue-item-editor';
6
6
  * @interface IPicture
7
7
  */
8
8
  export interface IPicture extends IValueItemEditor {
9
+ /**
10
+ * 对象存储分类[OSSCAT]
11
+ * @type {string}
12
+ * 来源 getOSSCat
13
+ */
14
+ osscat?: string;
9
15
  /**
10
16
  * 直接内容存储
11
17
  * @type {boolean}
@@ -11,4 +11,20 @@ export interface IModelObject {
11
11
  name?: string;
12
12
  codeName?: string;
13
13
  userParam?: Record<string, string>;
14
+ /**
15
+ * 平台模型标识(只开发态生效)
16
+ *
17
+ * @author chitanda
18
+ * @date 2024-01-29 12:01:38
19
+ * @type {string}
20
+ */
21
+ modelId?: string;
22
+ /**
23
+ * 平台模型类型(只开发态生效)
24
+ *
25
+ * @author chitanda
26
+ * @date 2024-01-29 12:01:55
27
+ * @type {string}
28
+ */
29
+ modelType?: string;
14
30
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibiz/model-core",
3
- "version": "0.1.7",
3
+ "version": "0.1.9",
4
4
  "license": "MIT",
5
5
  "description": "动态模型接口",
6
6
  "type": "module",
@@ -242,6 +242,13 @@ export interface IApplication extends IModelObject {
242
242
  */
243
243
  codeName?: string;
244
244
 
245
+ /**
246
+ * 默认对象存储分类
247
+ * @type {string}
248
+ * 来源 getDefaultOSSCat
249
+ */
250
+ defaultOSSCat?: string;
251
+
245
252
  /**
246
253
  * 动态系统模式
247
254
  * @description 值模式 [动态系统模式] {0:不启用、 1:启用 }
@@ -34,4 +34,11 @@ export interface IFileUploader extends IValueItemEditor {
34
34
  * 来源 getMinFileCount
35
35
  */
36
36
  minFileCount?: number;
37
+
38
+ /**
39
+ * 对象存储分类[OSSCAT]
40
+ * @type {string}
41
+ * 来源 getOSSCat
42
+ */
43
+ osscat?: string;
37
44
  }
@@ -7,6 +7,13 @@ import { IValueItemEditor } from './ivalue-item-editor';
7
7
  * @interface IPicture
8
8
  */
9
9
  export interface IPicture extends IValueItemEditor {
10
+ /**
11
+ * 对象存储分类[OSSCAT]
12
+ * @type {string}
13
+ * 来源 getOSSCat
14
+ */
15
+ osscat?: string;
16
+
10
17
  /**
11
18
  * 直接内容存储
12
19
  * @type {boolean}
@@ -15,4 +15,22 @@ export interface IModelObject {
15
15
  codeName?: string;
16
16
 
17
17
  userParam?: Record<string, string>;
18
+
19
+ /**
20
+ * 平台模型标识(只开发态生效)
21
+ *
22
+ * @author chitanda
23
+ * @date 2024-01-29 12:01:38
24
+ * @type {string}
25
+ */
26
+ modelId?: string;
27
+
28
+ /**
29
+ * 平台模型类型(只开发态生效)
30
+ *
31
+ * @author chitanda
32
+ * @date 2024-01-29 12:01:55
33
+ * @type {string}
34
+ */
35
+ modelType?: string;
18
36
  }