@steedos/schemas 2.2.31 → 2.2.34
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/field/schema.json +9 -8
- package/object/schema.json +4 -0
- package/package.json +2 -2
- package/permission/schema.json +16 -2
- package/permissionset/schema.json +13 -1
- package/profile/schema.json +33 -1
package/field/schema.json
CHANGED
|
@@ -266,7 +266,7 @@
|
|
|
266
266
|
},
|
|
267
267
|
"unique": {
|
|
268
268
|
"type": "boolean",
|
|
269
|
-
"description": "
|
|
269
|
+
"description": "唯一"
|
|
270
270
|
},
|
|
271
271
|
"optionsFunction": {
|
|
272
272
|
"type": "string",
|
|
@@ -308,13 +308,16 @@
|
|
|
308
308
|
"type": "string"
|
|
309
309
|
},
|
|
310
310
|
"depend_on": {
|
|
311
|
-
"type": "array"
|
|
311
|
+
"type": "array",
|
|
312
|
+
"description": "依赖的字段"
|
|
312
313
|
},
|
|
313
314
|
"defaultIcon": {
|
|
314
|
-
"type": "string"
|
|
315
|
+
"type": "string",
|
|
316
|
+
"description": "默认的图标"
|
|
315
317
|
},
|
|
316
318
|
"showIcon": {
|
|
317
|
-
"type": "boolean"
|
|
319
|
+
"type": "boolean",
|
|
320
|
+
"description": "是否显示图标"
|
|
318
321
|
},
|
|
319
322
|
"primary": {
|
|
320
323
|
"type": "boolean",
|
|
@@ -430,11 +433,9 @@
|
|
|
430
433
|
"type": "string",
|
|
431
434
|
"description": "指定字段的选项列表值集"
|
|
432
435
|
},
|
|
433
|
-
"modal_mode": {
|
|
434
|
-
"type": "string"
|
|
435
|
-
},
|
|
436
436
|
"visible_on": {
|
|
437
|
-
"type": "string"
|
|
437
|
+
"type": "string",
|
|
438
|
+
"description": "函数表达式,控制是否显示此字段"
|
|
438
439
|
}
|
|
439
440
|
}
|
|
440
441
|
}
|
package/object/schema.json
CHANGED
|
@@ -288,6 +288,10 @@
|
|
|
288
288
|
"type": "string",
|
|
289
289
|
"description": "表单字段修改时执行, 传入表单中的字段值,如果成功返回undefined,如果失败返回错误数组"
|
|
290
290
|
},
|
|
291
|
+
"onRendered": {
|
|
292
|
+
"type": "string",
|
|
293
|
+
"description": "表单加载完成后执行"
|
|
294
|
+
},
|
|
291
295
|
"onValuesChange": {
|
|
292
296
|
"type": "string",
|
|
293
297
|
"description": "表单字段修改时执行"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos/schemas",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.34",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"repository": "https://github.com/steedos/schemas.git",
|
|
6
6
|
"author": "sunhaolin <sunhaolin@hotoa.com>",
|
|
@@ -9,5 +9,5 @@
|
|
|
9
9
|
"publishConfig": {
|
|
10
10
|
"access": "public"
|
|
11
11
|
},
|
|
12
|
-
"gitHead": "
|
|
12
|
+
"gitHead": "9227f49ca2280a0765aed8501606880f85edaf3f"
|
|
13
13
|
}
|
package/permission/schema.json
CHANGED
|
@@ -30,10 +30,16 @@
|
|
|
30
30
|
],
|
|
31
31
|
"properties": {
|
|
32
32
|
"name":{
|
|
33
|
-
"type": "string"
|
|
33
|
+
"type": "string",
|
|
34
|
+
"description": "名称"
|
|
34
35
|
},
|
|
35
36
|
"permission_set_id":{
|
|
36
|
-
"type": "string"
|
|
37
|
+
"type": "string",
|
|
38
|
+
"description": "权限集"
|
|
39
|
+
},
|
|
40
|
+
"object_name": {
|
|
41
|
+
"type": "string",
|
|
42
|
+
"description": "对象"
|
|
37
43
|
},
|
|
38
44
|
"allowRead": {
|
|
39
45
|
"type": "boolean",
|
|
@@ -67,6 +73,14 @@
|
|
|
67
73
|
"type": "boolean",
|
|
68
74
|
"description": "修改本分部"
|
|
69
75
|
},
|
|
76
|
+
"viewAssignCompanysRecords": {
|
|
77
|
+
"type": "array",
|
|
78
|
+
"description": "查看指定分部"
|
|
79
|
+
},
|
|
80
|
+
"modifyAssignCompanysRecords": {
|
|
81
|
+
"type": "array",
|
|
82
|
+
"description": "修改指定分部"
|
|
83
|
+
},
|
|
70
84
|
"allowReadFiles": {
|
|
71
85
|
"type": "boolean",
|
|
72
86
|
"description": "允许查看附件"
|
|
@@ -37,13 +37,25 @@
|
|
|
37
37
|
"type": "string",
|
|
38
38
|
"description": "显示名称"
|
|
39
39
|
},
|
|
40
|
+
"type": {
|
|
41
|
+
"type": "string",
|
|
42
|
+
"description": "类别"
|
|
43
|
+
},
|
|
40
44
|
"license": {
|
|
41
|
-
"type": "
|
|
45
|
+
"type": "string",
|
|
42
46
|
"description": "许可证"
|
|
43
47
|
},
|
|
44
48
|
"assigned_apps": {
|
|
45
49
|
"type": "array",
|
|
46
50
|
"description": "授权应用"
|
|
51
|
+
},
|
|
52
|
+
"users": {
|
|
53
|
+
"type": "array",
|
|
54
|
+
"description": "成员"
|
|
55
|
+
},
|
|
56
|
+
"is_system": {
|
|
57
|
+
"type": "boolean",
|
|
58
|
+
"description": "系统"
|
|
47
59
|
}
|
|
48
60
|
}
|
|
49
61
|
}
|
package/profile/schema.json
CHANGED
|
@@ -38,14 +38,26 @@
|
|
|
38
38
|
"type": "string",
|
|
39
39
|
"description": "显示名称"
|
|
40
40
|
},
|
|
41
|
+
"type": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"description": "类别"
|
|
44
|
+
},
|
|
41
45
|
"license": {
|
|
42
|
-
"type": "
|
|
46
|
+
"type": "string",
|
|
43
47
|
"description": "许可证"
|
|
44
48
|
},
|
|
45
49
|
"assigned_apps": {
|
|
46
50
|
"type": "array",
|
|
47
51
|
"description": "授权应用"
|
|
48
52
|
},
|
|
53
|
+
"users": {
|
|
54
|
+
"type": "array",
|
|
55
|
+
"description": "成员"
|
|
56
|
+
},
|
|
57
|
+
"is_system": {
|
|
58
|
+
"type": "boolean",
|
|
59
|
+
"description": "系统"
|
|
60
|
+
},
|
|
49
61
|
"password_history": {
|
|
50
62
|
"type": "string",
|
|
51
63
|
"description": "强制密码历史。默认值3"
|
|
@@ -57,6 +69,26 @@
|
|
|
57
69
|
"lockout_interval": {
|
|
58
70
|
"type": "string",
|
|
59
71
|
"description": "锁定有效期间。默认值15"
|
|
72
|
+
},
|
|
73
|
+
"enable_MFA": {
|
|
74
|
+
"type": "boolean",
|
|
75
|
+
"description": "多重身份验证(需要开启短信服务)"
|
|
76
|
+
},
|
|
77
|
+
"logout_other_clients": {
|
|
78
|
+
"type": "boolean",
|
|
79
|
+
"description": "单例登录"
|
|
80
|
+
},
|
|
81
|
+
"login_expiration_in_days": {
|
|
82
|
+
"type": "number",
|
|
83
|
+
"description": "登录到期时间(天)"
|
|
84
|
+
},
|
|
85
|
+
"phone_logout_other_clients": {
|
|
86
|
+
"type": "boolean",
|
|
87
|
+
"description": "手机App单例登录"
|
|
88
|
+
},
|
|
89
|
+
"phone_login_expiration_in_days": {
|
|
90
|
+
"type": "number",
|
|
91
|
+
"description": "手机App登录到期时间(天)"
|
|
60
92
|
}
|
|
61
93
|
}
|
|
62
94
|
}
|