@tachybase/plugin-api-logs 0.23.54 → 1.0.6

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.
@@ -1,15 +1,15 @@
1
1
  module.exports = {
2
2
  "react": "18.3.1",
3
- "@tachybase/client": "0.23.58",
4
- "@tachybase/schema": "0.23.58",
3
+ "@tachybase/client": "1.0.6",
4
+ "@tachybase/schema": "1.0.6",
5
5
  "@ant-design/icons": "5.6.1",
6
6
  "react-i18next": "15.4.0",
7
- "@tachybase/database": "0.23.58",
8
- "@tachybase/actions": "0.23.58",
9
- "@tachybase/server": "0.23.58",
10
- "@tachybase/utils": "0.23.58",
7
+ "@tachybase/database": "1.0.6",
8
+ "@tachybase/actions": "1.0.6",
9
+ "@tachybase/server": "1.0.6",
10
+ "@tachybase/utils": "1.0.6",
11
11
  "antd": "5.22.5",
12
- "@tachybase/components": "0.23.58",
13
- "@tachybase/data-source": "0.23.58",
14
- "@tachybase/resourcer": "0.23.58"
12
+ "@tachybase/components": "1.0.6",
13
+ "@tachybase/data-source": "1.0.6",
14
+ "@tachybase/resourcer": "1.0.6"
15
15
  };
@@ -67,7 +67,7 @@ __export(apiLogsController_exports, {
67
67
  module.exports = __toCommonJS(apiLogsController_exports);
68
68
  var import_utils = require("@tachybase/utils");
69
69
  var _tableSync_dec, _ApiLogsController_decorators, _init;
70
- _ApiLogsController_decorators = [(0, import_utils.Controller)("apiLogsConfig")], _tableSync_dec = [(0, import_utils.Action)("tablesync", { acl: "block" })];
70
+ _ApiLogsController_decorators = [(0, import_utils.Controller)("apiLogsConfig")], _tableSync_dec = [(0, import_utils.Action)("tablesync", { acl: "private" })];
71
71
  class ApiLogsController {
72
72
  constructor() {
73
73
  __runInitializers(_init, 5, this);
@@ -112,6 +112,7 @@ class PluginApiLogsServer extends (_a = import_server.Plugin) {
112
112
  name: `pm.system-services.apiLogsConfig`,
113
113
  actions: ["apiLogsConfig:*"]
114
114
  });
115
+ this.app.acl.allow("apiLogs", ["list", "get"], "loggedIn");
115
116
  }
116
117
  }
117
118
  _init = __decoratorStart(_a);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tachybase/plugin-api-logs",
3
3
  "displayName": "Api Logs",
4
- "version": "0.23.54",
4
+ "version": "1.0.6",
5
5
  "description": "Provides seamless tracking of API actions through enhanced user interface components, configuration panels, and dashboards",
6
6
  "keywords": [
7
7
  "Logging and monitoring"
@@ -15,16 +15,16 @@
15
15
  "react-router-dom": "6.28.1"
16
16
  },
17
17
  "peerDependencies": {
18
- "@tachybase/actions": "0.23.58",
19
- "@tachybase/components": "0.23.58",
20
- "@tachybase/data-source": "0.23.58",
21
- "@tachybase/database": "0.23.58",
22
- "@tachybase/client": "0.23.58",
23
- "@tachybase/resourcer": "0.23.58",
24
- "@tachybase/schema": "0.23.58",
25
- "@tachybase/test": "0.23.58",
26
- "@tachybase/server": "0.23.58",
27
- "@tachybase/utils": "0.23.58"
18
+ "@tachybase/actions": "1.0.6",
19
+ "@tachybase/components": "1.0.6",
20
+ "@tachybase/client": "1.0.6",
21
+ "@tachybase/data-source": "1.0.6",
22
+ "@tachybase/database": "1.0.6",
23
+ "@tachybase/schema": "1.0.6",
24
+ "@tachybase/resourcer": "1.0.6",
25
+ "@tachybase/test": "1.0.6",
26
+ "@tachybase/server": "1.0.6",
27
+ "@tachybase/utils": "1.0.6"
28
28
  },
29
29
  "description.zh-CN": "Api Logs通过增强的用户界面组件、配置面板和仪表板提供对 API 操作的无缝跟踪",
30
30
  "displayName.zh-CN": "Api 日志"