@nocobase/plugin-data-visualization 0.21.0-alpha.8 → 0.21.0-alpha.9

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,11 +1,11 @@
1
1
  module.exports = {
2
- "@nocobase/client": "0.21.0-alpha.8",
2
+ "@nocobase/client": "0.21.0-alpha.9",
3
3
  "dayjs": "1.11.10",
4
4
  "@formily/react": "2.3.0",
5
5
  "@formily/shared": "2.3.0",
6
6
  "lodash": "4.17.21",
7
- "@nocobase/cache": "0.21.0-alpha.8",
8
- "@nocobase/server": "0.21.0-alpha.8",
7
+ "@nocobase/cache": "0.21.0-alpha.9",
8
+ "@nocobase/server": "0.21.0-alpha.9",
9
9
  "react": "18.2.0",
10
10
  "@ant-design/icons": "5.2.6",
11
11
  "ahooks": "3.7.8",
@@ -13,8 +13,8 @@ module.exports = {
13
13
  "antd": "5.12.8",
14
14
  "@formily/antd-v5": "1.1.9",
15
15
  "@formily/core": "2.3.0",
16
- "@nocobase/utils": "0.21.0-alpha.8",
16
+ "@nocobase/utils": "0.21.0-alpha.9",
17
17
  "react-i18next": "11.18.6",
18
- "@nocobase/actions": "0.21.0-alpha.8",
19
- "@nocobase/database": "0.21.0-alpha.8"
18
+ "@nocobase/actions": "0.21.0-alpha.9",
19
+ "@nocobase/database": "0.21.0-alpha.9"
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":"2024-04-15T16:39:45.447Z"}
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":"2024-04-16T15:05:15.630Z"}
@@ -38,6 +38,7 @@ const dateFormatFn = (sequelize, dialect, field, format) => {
38
38
  return sequelize.col(field);
39
39
  }
40
40
  };
41
+ /* istanbul ignore next -- @preserve */
41
42
  const formatFn = (sequelize, dialect, field, format) => {
42
43
  switch (dialect) {
43
44
  case "sqlite":
@@ -5,4 +5,5 @@ export declare const parseBuilder: (ctx: Context, next: Next) => Promise<void>;
5
5
  export declare const parseFieldAndAssociations: (ctx: Context, next: Next) => Promise<void>;
6
6
  export declare const parseVariables: (ctx: Context, next: Next) => Promise<any>;
7
7
  export declare const cacheMiddleware: (ctx: Context, next: Next) => Promise<void>;
8
+ export declare const checkPermission: (ctx: Context, next: Next) => Promise<any>;
8
9
  export declare const query: (ctx: Context, next: Next) => Promise<void>;
@@ -28,6 +28,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
28
28
  var query_exports = {};
29
29
  __export(query_exports, {
30
30
  cacheMiddleware: () => cacheMiddleware,
31
+ checkPermission: () => checkPermission,
31
32
  parseBuilder: () => parseBuilder,
32
33
  parseFieldAndAssociations: () => parseFieldAndAssociations,
33
34
  parseVariables: () => parseVariables,
@@ -310,6 +311,7 @@ const query = async (ctx, next) => {
310
311
  // Annotate the CommonJS export names for ESM import in node:
311
312
  0 && (module.exports = {
312
313
  cacheMiddleware,
314
+ checkPermission,
313
315
  parseBuilder,
314
316
  parseFieldAndAssociations,
315
317
  parseVariables,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nocobase/plugin-data-visualization",
3
- "version": "0.21.0-alpha.8",
3
+ "version": "0.21.0-alpha.9",
4
4
  "displayName": "Data visualization",
5
5
  "displayName.zh-CN": "数据可视化",
6
6
  "description": "Provides data visualization feature, including chart block and chart filter block, support line charts, area charts, bar charts and more than a dozen kinds of charts, you can also extend more chart types.",
@@ -33,7 +33,7 @@
33
33
  "@nocobase/test": "0.x",
34
34
  "@nocobase/utils": "0.x"
35
35
  },
36
- "gitHead": "bed69485709bc8e268285b50debfc1ebfd7a30c7",
36
+ "gitHead": "a6fe6c4ee532c04e5a50ec777bf76436ca624cbd",
37
37
  "keywords": [
38
38
  "Blocks"
39
39
  ]