befly 3.3.4 → 3.4.0

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.
Files changed (64) hide show
  1. package/apis/admin/del.ts +35 -0
  2. package/apis/admin/info.ts +50 -0
  3. package/apis/admin/ins.ts +61 -0
  4. package/apis/admin/list.ts +20 -0
  5. package/apis/admin/roleDetail.ts +35 -0
  6. package/apis/admin/roleSave.ts +40 -0
  7. package/apis/admin/upd.ts +51 -0
  8. package/apis/api/all.ts +37 -0
  9. package/apis/auth/login.ts +78 -0
  10. package/apis/auth/logout.ts +23 -0
  11. package/apis/auth/register.ts +50 -0
  12. package/apis/auth/sendSmsCode.ts +35 -0
  13. package/apis/cache/refresh.ts +34 -0
  14. package/apis/dashboard/addonList.ts +47 -0
  15. package/apis/dashboard/changelog.ts +37 -0
  16. package/apis/dashboard/configStatus.ts +54 -0
  17. package/apis/dashboard/environmentInfo.ts +46 -0
  18. package/apis/dashboard/performanceMetrics.ts +23 -0
  19. package/apis/dashboard/permissionStats.ts +31 -0
  20. package/apis/dashboard/serviceStatus.ts +82 -0
  21. package/apis/dashboard/systemInfo.ts +25 -0
  22. package/apis/dashboard/systemOverview.ts +32 -0
  23. package/apis/dashboard/systemResources.ts +119 -0
  24. package/apis/dict/all.ts +25 -0
  25. package/apis/dict/del.ts +19 -0
  26. package/apis/dict/detail.ts +21 -0
  27. package/apis/dict/ins.ts +27 -0
  28. package/apis/dict/list.ts +18 -0
  29. package/apis/dict/upd.ts +31 -0
  30. package/apis/menu/all.ts +68 -0
  31. package/apis/menu/del.ts +37 -0
  32. package/apis/menu/ins.ts +20 -0
  33. package/apis/menu/list.ts +21 -0
  34. package/apis/menu/upd.ts +29 -0
  35. package/apis/role/apiDetail.ts +30 -0
  36. package/apis/role/apiSave.ts +41 -0
  37. package/apis/role/del.ts +44 -0
  38. package/apis/role/detail.ts +24 -0
  39. package/apis/role/ins.ts +39 -0
  40. package/apis/role/list.ts +14 -0
  41. package/apis/role/menuDetail.ts +30 -0
  42. package/apis/role/menuSave.ts +38 -0
  43. package/apis/role/save.ts +44 -0
  44. package/apis/role/upd.ts +40 -0
  45. package/checks/conflict.ts +6 -6
  46. package/checks/table.ts +2 -2
  47. package/commands/build.ts +8 -4
  48. package/commands/dev.ts +19 -30
  49. package/commands/start.ts +24 -8
  50. package/commands/syncDb/index.ts +3 -3
  51. package/commands/syncDb/table.ts +1 -1
  52. package/commands/syncMenu.ts +40 -28
  53. package/config/env.ts +1 -17
  54. package/lifecycle/checker.ts +3 -3
  55. package/lifecycle/cluster-worker.ts +49 -0
  56. package/lifecycle/cluster.ts +31 -18
  57. package/lifecycle/lifecycle.ts +2 -2
  58. package/lifecycle/loader.ts +5 -5
  59. package/main.ts +2 -2
  60. package/package.json +3 -2
  61. package/paths.ts +125 -19
  62. package/router/static.ts +2 -2
  63. package/util.ts +3 -3
  64. package/config/menu.json +0 -67
package/config/menu.json DELETED
@@ -1,67 +0,0 @@
1
- [
2
- {
3
- "name": "首页",
4
- "path": "/",
5
- "icon": "Home",
6
- "sort": 1,
7
- "type": 1
8
- },
9
- {
10
- "name": "管理员管理",
11
- "path": "/admin",
12
- "icon": "Users",
13
- "sort": 2,
14
- "type": 1
15
- },
16
- {
17
- "name": "新闻管理",
18
- "path": "/news",
19
- "icon": "Newspaper",
20
- "sort": 3,
21
- "type": 1
22
- },
23
- {
24
- "name": "菜单管理",
25
- "path": "/menu",
26
- "icon": "Menu",
27
- "sort": 4,
28
- "type": 1
29
- },
30
- {
31
- "name": "角色管理",
32
- "path": "/role",
33
- "icon": "Users",
34
- "sort": 5,
35
- "type": 1
36
- },
37
- {
38
- "name": "字典管理",
39
- "path": "/dict",
40
- "icon": "BookOpen",
41
- "sort": 6,
42
- "type": 1
43
- },
44
- {
45
- "name": "用户管理",
46
- "path": "/user",
47
- "icon": "UserCog",
48
- "sort": 7,
49
- "type": 1,
50
- "children": [
51
- {
52
- "name": "用户列表",
53
- "path": "/list",
54
- "icon": "Minus",
55
- "sort": 1,
56
- "type": 1
57
- },
58
- {
59
- "name": "用户权限",
60
- "path": "/permission",
61
- "icon": "Minus",
62
- "sort": 2,
63
- "type": 1
64
- }
65
- ]
66
- }
67
- ]