@nocobase/plugin-data-visualization 0.18.0-alpha.2 → 0.18.0-alpha.5

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,10 +1,10 @@
1
1
  module.exports = {
2
- "@nocobase/client": "0.18.0-alpha.2",
2
+ "@nocobase/client": "0.18.0-alpha.5",
3
3
  "@formily/react": "2.3.0",
4
4
  "@formily/shared": "2.3.0",
5
5
  "lodash": "4.17.21",
6
- "@nocobase/cache": "0.18.0-alpha.2",
7
- "@nocobase/server": "0.18.0-alpha.2",
6
+ "@nocobase/cache": "0.18.0-alpha.5",
7
+ "@nocobase/server": "0.18.0-alpha.5",
8
8
  "react": "18.2.0",
9
9
  "@ant-design/icons": "5.2.6",
10
10
  "ahooks": "3.7.8",
@@ -13,8 +13,8 @@ module.exports = {
13
13
  "antd": "5.12.2",
14
14
  "@formily/antd-v5": "1.1.9",
15
15
  "@formily/core": "2.3.0",
16
- "@nocobase/utils": "0.18.0-alpha.2",
17
- "@nocobase/database": "0.18.0-alpha.2",
16
+ "@nocobase/utils": "0.18.0-alpha.5",
17
+ "@nocobase/database": "0.18.0-alpha.5",
18
18
  "react-i18next": "11.18.6",
19
- "@nocobase/actions": "0.18.0-alpha.2"
19
+ "@nocobase/actions": "0.18.0-alpha.5"
20
20
  };
@@ -1 +1 @@
1
- {"name":"koa-compose","description":"compose Koa middleware","repository":"koajs/compose","version":"4.1.0","keywords":["koa","middleware","compose"],"files":["index.js"],"dependencies":{},"devDependencies":{"codecov":"^3.0.0","jest":"^21.0.0","matcha":"^0.7.0","standard":"^10.0.3"},"scripts":{"bench":"matcha bench/bench.js","lint":"standard --fix .","test":"jest --forceExit --coverage"},"jest":{"testEnvironment":"node"},"license":"MIT","_lastModified":"2023-12-25T14:42:10.683Z"}
1
+ {"name":"koa-compose","description":"compose Koa middleware","repository":"koajs/compose","version":"4.1.0","keywords":["koa","middleware","compose"],"files":["index.js"],"dependencies":{},"devDependencies":{"codecov":"^3.0.0","jest":"^21.0.0","matcha":"^0.7.0","standard":"^10.0.3"},"scripts":{"bench":"matcha bench/bench.js","lint":"standard --fix .","test":"jest --forceExit --coverage"},"jest":{"testEnvironment":"node"},"license":"MIT","_lastModified":"2023-12-29T06:14:43.304Z"}
@@ -227,7 +227,7 @@ const parseVariables = async (ctx, next) => {
227
227
  return async ({ fields }) => {
228
228
  var _a, _b;
229
229
  const userFields = fields.filter((f) => f && ctx.db.getFieldByPath("users." + f));
230
- (_a = ctx.logger) == null ? void 0 : _a.info("filter-parse: ", { userFields });
230
+ (_a = ctx.logger) == null ? void 0 : _a.info("parse filter variables", { userFields, method: "parseVariables" });
231
231
  if (!ctx.state.currentUser) {
232
232
  return;
233
233
  }
@@ -238,8 +238,9 @@ const parseVariables = async (ctx, next) => {
238
238
  filterByTk: ctx.state.currentUser.id,
239
239
  fields: userFields
240
240
  });
241
- (_b = ctx.logger) == null ? void 0 : _b.info("filter-parse: ", {
242
- $user: user == null ? void 0 : user.toJSON()
241
+ (_b = ctx.logger) == null ? void 0 : _b.info("parse filter variables", {
242
+ $user: user == null ? void 0 : user.toJSON(),
243
+ method: "parseVariables"
243
244
  });
244
245
  return user;
245
246
  };
@@ -296,7 +297,6 @@ const query = async (ctx, next) => {
296
297
  postProcess
297
298
  ])(ctx, next);
298
299
  } catch (err) {
299
- ctx.app.logger.error("charts query: ", err);
300
300
  ctx.throw(500, err);
301
301
  }
302
302
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nocobase/plugin-data-visualization",
3
- "version": "0.18.0-alpha.2",
3
+ "version": "0.18.0-alpha.5",
4
4
  "displayName": "Data Visualization",
5
5
  "displayName.zh-CN": "数据可视化",
6
6
  "description": "Provides business intelligence and data visualization features",
@@ -31,5 +31,5 @@
31
31
  "@nocobase/test": "0.x",
32
32
  "@nocobase/utils": "0.x"
33
33
  },
34
- "gitHead": "92611d2eec3110bcb5ac599054e5191591df055a"
34
+ "gitHead": "a67a2916eb44df93bb26bc82bc504ae7ecfb96bf"
35
35
  }