@befly-addon/admin 1.0.14 → 1.0.16
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/package.json +3 -3
- package/tables/admin.json +4 -8
- package/tables/api.json +0 -3
- package/tables/dict.json +1 -3
- package/tables/menu.json +0 -1
- package/tables/role.json +3 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@befly-addon/admin",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.16",
|
|
4
4
|
"description": "Befly - 管理后台功能组件",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"url": "https://github.com/chenbimo/befly.git",
|
|
39
39
|
"directory": "packages/addon-admin"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "3e6ce16b6c78088419b5b6fba22080537458f5f5",
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"befly": "3.8.
|
|
43
|
+
"befly": "3.8.7"
|
|
44
44
|
}
|
|
45
45
|
}
|
package/tables/admin.json
CHANGED
|
@@ -17,21 +17,21 @@
|
|
|
17
17
|
"min": 5,
|
|
18
18
|
"max": 100,
|
|
19
19
|
"index": true,
|
|
20
|
-
"regexp": "
|
|
20
|
+
"regexp": "@email"
|
|
21
21
|
},
|
|
22
22
|
"phone": {
|
|
23
23
|
"name": "手机号",
|
|
24
24
|
"type": "string",
|
|
25
25
|
"min": 11,
|
|
26
26
|
"max": 11,
|
|
27
|
-
"regexp": "
|
|
27
|
+
"regexp": "@phone"
|
|
28
28
|
},
|
|
29
29
|
"username": {
|
|
30
30
|
"name": "用户名",
|
|
31
31
|
"type": "string",
|
|
32
32
|
"min": 3,
|
|
33
33
|
"max": 30,
|
|
34
|
-
"regexp": "
|
|
34
|
+
"regexp": "@alphanumeric_"
|
|
35
35
|
},
|
|
36
36
|
"password": {
|
|
37
37
|
"name": "密码",
|
|
@@ -42,7 +42,6 @@
|
|
|
42
42
|
"avatar": {
|
|
43
43
|
"name": "头像",
|
|
44
44
|
"type": "string",
|
|
45
|
-
"min": 0,
|
|
46
45
|
"max": 500
|
|
47
46
|
},
|
|
48
47
|
"roleId": {
|
|
@@ -57,7 +56,7 @@
|
|
|
57
56
|
"type": "string",
|
|
58
57
|
"min": 2,
|
|
59
58
|
"max": 50,
|
|
60
|
-
"regexp": "
|
|
59
|
+
"regexp": "@alphanumeric_"
|
|
61
60
|
},
|
|
62
61
|
"roleType": {
|
|
63
62
|
"name": "角色类型",
|
|
@@ -71,14 +70,11 @@
|
|
|
71
70
|
"lastLoginTime": {
|
|
72
71
|
"name": "最后登录时间",
|
|
73
72
|
"type": "number",
|
|
74
|
-
"min": 0,
|
|
75
|
-
"max": null,
|
|
76
73
|
"default": 0
|
|
77
74
|
},
|
|
78
75
|
"lastLoginIp": {
|
|
79
76
|
"name": "最后登录IP",
|
|
80
77
|
"type": "string",
|
|
81
|
-
"min": 0,
|
|
82
78
|
"max": 50
|
|
83
79
|
}
|
|
84
80
|
}
|
package/tables/api.json
CHANGED
|
@@ -25,19 +25,16 @@
|
|
|
25
25
|
"description": {
|
|
26
26
|
"name": "接口描述",
|
|
27
27
|
"type": "string",
|
|
28
|
-
"min": 0,
|
|
29
28
|
"max": 500
|
|
30
29
|
},
|
|
31
30
|
"addonName": {
|
|
32
31
|
"name": "所属插件",
|
|
33
32
|
"type": "string",
|
|
34
|
-
"min": 0,
|
|
35
33
|
"max": 50
|
|
36
34
|
},
|
|
37
35
|
"addonTitle": {
|
|
38
36
|
"name": "插件标题",
|
|
39
37
|
"type": "string",
|
|
40
|
-
"min": 0,
|
|
41
38
|
"max": 100
|
|
42
39
|
}
|
|
43
40
|
}
|
package/tables/dict.json
CHANGED
|
@@ -12,12 +12,11 @@
|
|
|
12
12
|
"min": 2,
|
|
13
13
|
"max": 50,
|
|
14
14
|
"index": true,
|
|
15
|
-
"regexp": "
|
|
15
|
+
"regexp": "@alphanumeric_"
|
|
16
16
|
},
|
|
17
17
|
"value": {
|
|
18
18
|
"name": "字典值",
|
|
19
19
|
"type": "string",
|
|
20
|
-
"min": 0,
|
|
21
20
|
"max": 200,
|
|
22
21
|
"index": true
|
|
23
22
|
},
|
|
@@ -39,7 +38,6 @@
|
|
|
39
38
|
"description": {
|
|
40
39
|
"name": "描述",
|
|
41
40
|
"type": "string",
|
|
42
|
-
"min": 0,
|
|
43
41
|
"max": 200
|
|
44
42
|
}
|
|
45
43
|
}
|
package/tables/menu.json
CHANGED
package/tables/role.json
CHANGED
|
@@ -12,25 +12,20 @@
|
|
|
12
12
|
"min": 2,
|
|
13
13
|
"max": 50,
|
|
14
14
|
"index": true,
|
|
15
|
-
"regexp": "
|
|
15
|
+
"regexp": "@alphanumeric_"
|
|
16
16
|
},
|
|
17
17
|
"description": {
|
|
18
18
|
"name": "角色描述",
|
|
19
19
|
"type": "string",
|
|
20
|
-
"min": 0,
|
|
21
20
|
"max": 200
|
|
22
21
|
},
|
|
23
22
|
"menus": {
|
|
24
23
|
"name": "菜单权限",
|
|
25
|
-
"type": "array_text"
|
|
26
|
-
"min": null,
|
|
27
|
-
"max": null
|
|
24
|
+
"type": "array_text"
|
|
28
25
|
},
|
|
29
26
|
"apis": {
|
|
30
27
|
"name": "接口权限",
|
|
31
|
-
"type": "array_text"
|
|
32
|
-
"min": null,
|
|
33
|
-
"max": null
|
|
28
|
+
"type": "array_text"
|
|
34
29
|
},
|
|
35
30
|
"sort": {
|
|
36
31
|
"name": "排序",
|