@nocobase/plugin-data-visualization 0.14.0-alpha.7 → 0.14.0-alpha.8

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,20 +1,20 @@
1
1
  module.exports = {
2
- "@nocobase/client": "0.14.0-alpha.7",
2
+ "@nocobase/client": "0.14.0-alpha.8",
3
3
  "react": "18.2.0",
4
4
  "@formily/react": "2.2.27",
5
5
  "@formily/shared": "2.2.27",
6
- "@nocobase/cache": "0.14.0-alpha.7",
7
- "@nocobase/server": "0.14.0-alpha.7",
6
+ "@nocobase/cache": "0.14.0-alpha.8",
7
+ "@nocobase/server": "0.14.0-alpha.8",
8
8
  "@ant-design/icons": "5.1.4",
9
9
  "dayjs": "1.11.9",
10
- "@formily/antd-v5": "1.1.0",
10
+ "@formily/antd-v5": "1.1.7",
11
11
  "@formily/core": "2.2.27",
12
12
  "antd": "5.8.6",
13
13
  "lodash": "4.17.21",
14
+ "@emotion/css": "11.11.2",
14
15
  "react-i18next": "11.18.6",
15
16
  "ahooks": "3.7.8",
16
- "@emotion/css": "11.11.2",
17
- "@nocobase/actions": "0.14.0-alpha.7",
18
- "@nocobase/database": "0.14.0-alpha.7",
19
- "@nocobase/utils": "0.14.0-alpha.7"
17
+ "@nocobase/actions": "0.14.0-alpha.8",
18
+ "@nocobase/database": "0.14.0-alpha.8",
19
+ "@nocobase/utils": "0.14.0-alpha.8"
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-10-07T08:28:55.867Z"}
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-11-01T02:12:00.125Z"}
@@ -133,7 +133,8 @@ const parseBuilder = async (ctx, next) => {
133
133
  include,
134
134
  group,
135
135
  order,
136
- limit: limit > 2e3 ? 2e3 : limit,
136
+ limit: limit || 2e3,
137
+ subQuery: false,
137
138
  raw: true
138
139
  },
139
140
  fieldMap
@@ -272,9 +273,7 @@ const cacheMiddleware = async (ctx, next) => {
272
273
  }
273
274
  await next();
274
275
  if (useCache) {
275
- console.log(uid, ctx.body);
276
276
  await cache.set(uid, ctx.body, (cacheConfig == null ? void 0 : cacheConfig.ttl) || 30);
277
- console.log(cache.get(uid));
278
277
  }
279
278
  };
280
279
  const checkPermission = (ctx, next) => {
@@ -296,13 +295,11 @@ const query = async (ctx, next) => {
296
295
  parseBuilder,
297
296
  queryData,
298
297
  postProcess
299
- ])(ctx, async () => {
300
- });
298
+ ])(ctx, next);
301
299
  } catch (err) {
302
300
  ctx.app.logger.error("charts query: ", err);
303
301
  ctx.throw(500, err);
304
302
  }
305
- await next();
306
303
  };
307
304
  // Annotate the CommonJS export names for ESM import in node:
308
305
  0 && (module.exports = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nocobase/plugin-data-visualization",
3
- "version": "0.14.0-alpha.7",
3
+ "version": "0.14.0-alpha.8",
4
4
  "displayName": "Data Visualization",
5
5
  "displayName.zh-CN": "数据可视化",
6
6
  "description": "Provides business intelligence and data visualization features",
@@ -33,5 +33,5 @@
33
33
  "@nocobase/test": "0.x",
34
34
  "@nocobase/utils": "0.x"
35
35
  },
36
- "gitHead": "dc958417d27ed0753439bcef192be91a03dfc30f"
36
+ "gitHead": "59c82fef6e34707802b5841f5ec4d9b3b6b68abb"
37
37
  }