@steedos/schemas 2.1.92 → 2.2.4

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
@@ -124,7 +124,10 @@
124
124
  "description": "支持多选"
125
125
  },
126
126
  "required": {
127
- "type": "boolean",
127
+ "type": [
128
+ "boolean",
129
+ "string"
130
+ ],
128
131
  "description": "是否必填"
129
132
  },
130
133
  "is_wide": {
@@ -262,7 +265,7 @@
262
265
  },
263
266
  "unique": {
264
267
  "type": "boolean",
265
- "description": "唯一"
268
+ "description": "重复"
266
269
  },
267
270
  "optionsFunction": {
268
271
  "type": "string",
@@ -304,16 +307,13 @@
304
307
  "type": "string"
305
308
  },
306
309
  "depend_on": {
307
- "type": "array",
308
- "description": "依赖的字段"
310
+ "type": "array"
309
311
  },
310
312
  "defaultIcon": {
311
- "type": "string",
312
- "description": "默认的图标"
313
+ "type": "string"
313
314
  },
314
315
  "showIcon": {
315
- "type": "boolean",
316
- "description": "是否显示图标"
316
+ "type": "boolean"
317
317
  },
318
318
  "primary": {
319
319
  "type": "boolean",
@@ -429,9 +429,11 @@
429
429
  "type": "string",
430
430
  "description": "指定字段的选项列表值集"
431
431
  },
432
+ "modal_mode": {
433
+ "type": "string"
434
+ },
432
435
  "visible_on": {
433
- "type": "string",
434
- "description": "函数表达式,控制是否显示此字段"
436
+ "type": "string"
435
437
  }
436
438
  }
437
439
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos/schemas",
3
- "version": "2.1.92",
3
+ "version": "2.2.4",
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": "b4f200efd338673eabbcccc0cc23f0f9c662eee2"
12
+ "gitHead": "a0c0e8d900f7f4fd2045d976b36c9bef465a6ce3"
13
13
  }
@@ -30,16 +30,10 @@
30
30
  ],
31
31
  "properties": {
32
32
  "name":{
33
- "type": "string",
34
- "description": "名称"
33
+ "type": "string"
35
34
  },
36
35
  "permission_set_id":{
37
- "type": "string",
38
- "description": "权限集"
39
- },
40
- "object_name": {
41
- "type": "string",
42
- "description": "对象"
36
+ "type": "string"
43
37
  },
44
38
  "allowRead": {
45
39
  "type": "boolean",
@@ -73,14 +67,6 @@
73
67
  "type": "boolean",
74
68
  "description": "修改本分部"
75
69
  },
76
- "viewAssignCompanysRecords": {
77
- "type": "array",
78
- "description": "查看指定分部"
79
- },
80
- "modifyAssignCompanysRecords": {
81
- "type": "array",
82
- "description": "修改指定分部"
83
- },
84
70
  "allowReadFiles": {
85
71
  "type": "boolean",
86
72
  "description": "允许查看附件"
@@ -37,25 +37,13 @@
37
37
  "type": "string",
38
38
  "description": "显示名称"
39
39
  },
40
- "type": {
41
- "type": "string",
42
- "description": "类别"
43
- },
44
40
  "license": {
45
- "type": "string",
41
+ "type": "boolean",
46
42
  "description": "许可证"
47
43
  },
48
44
  "assigned_apps": {
49
45
  "type": "array",
50
46
  "description": "授权应用"
51
- },
52
- "users": {
53
- "type": "array",
54
- "description": "成员"
55
- },
56
- "is_system": {
57
- "type": "boolean",
58
- "description": "系统"
59
47
  }
60
48
  }
61
49
  }
@@ -38,26 +38,14 @@
38
38
  "type": "string",
39
39
  "description": "显示名称"
40
40
  },
41
- "type": {
42
- "type": "string",
43
- "description": "类别"
44
- },
45
41
  "license": {
46
- "type": "string",
42
+ "type": "boolean",
47
43
  "description": "许可证"
48
44
  },
49
45
  "assigned_apps": {
50
46
  "type": "array",
51
47
  "description": "授权应用"
52
48
  },
53
- "users": {
54
- "type": "array",
55
- "description": "成员"
56
- },
57
- "is_system": {
58
- "type": "boolean",
59
- "description": "系统"
60
- },
61
49
  "password_history": {
62
50
  "type": "string",
63
51
  "description": "强制密码历史。默认值3"
@@ -69,26 +57,6 @@
69
57
  "lockout_interval": {
70
58
  "type": "string",
71
59
  "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登录到期时间(天)"
92
60
  }
93
61
  }
94
62
  }