@steedos/schemas 2.1.89 → 2.1.92

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 CHANGED
@@ -262,7 +262,7 @@
262
262
  },
263
263
  "unique": {
264
264
  "type": "boolean",
265
- "description": "重复"
265
+ "description": "唯一"
266
266
  },
267
267
  "optionsFunction": {
268
268
  "type": "string",
@@ -304,13 +304,16 @@
304
304
  "type": "string"
305
305
  },
306
306
  "depend_on": {
307
- "type": "array"
307
+ "type": "array",
308
+ "description": "依赖的字段"
308
309
  },
309
310
  "defaultIcon": {
310
- "type": "string"
311
+ "type": "string",
312
+ "description": "默认的图标"
311
313
  },
312
314
  "showIcon": {
313
- "type": "boolean"
315
+ "type": "boolean",
316
+ "description": "是否显示图标"
314
317
  },
315
318
  "primary": {
316
319
  "type": "boolean",
@@ -426,11 +429,9 @@
426
429
  "type": "string",
427
430
  "description": "指定字段的选项列表值集"
428
431
  },
429
- "modal_mode": {
430
- "type": "string"
431
- },
432
432
  "visible_on": {
433
- "type": "string"
433
+ "type": "string",
434
+ "description": "函数表达式,控制是否显示此字段"
434
435
  }
435
436
  }
436
437
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos/schemas",
3
- "version": "2.1.89",
3
+ "version": "2.1.92",
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": "4b2cd15644d673357382176b925003df5d03ba31"
12
+ "gitHead": "b4f200efd338673eabbcccc0cc23f0f9c662eee2"
13
13
  }
@@ -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": "boolean",
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
  }
@@ -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": "boolean",
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
  }