@nocobase/plugin-data-source-main 2.2.0-beta.8 → 2.3.0-alpha.1

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.
@@ -8,16 +8,16 @@
8
8
  */
9
9
 
10
10
  module.exports = {
11
- "@nocobase/client": "2.2.0-beta.8",
11
+ "@nocobase/client": "2.3.0-alpha.1",
12
12
  "lodash": "4.18.1",
13
- "@nocobase/ai": "2.2.0-beta.8",
14
- "@nocobase/database": "2.2.0-beta.8",
15
- "@nocobase/plugin-error-handler": "2.2.0-beta.8",
16
- "@nocobase/server": "2.2.0-beta.8",
13
+ "@nocobase/ai": "2.3.0-alpha.1",
14
+ "@nocobase/database": "2.3.0-alpha.1",
15
+ "@nocobase/plugin-error-handler": "2.3.0-alpha.1",
16
+ "@nocobase/server": "2.3.0-alpha.1",
17
17
  "sequelize": "6.35.2",
18
18
  "@formily/json-schema": "2.3.7",
19
- "@nocobase/test": "2.2.0-beta.8",
20
- "@nocobase/utils": "2.2.0-beta.8",
21
- "@nocobase/actions": "2.2.0-beta.8",
19
+ "@nocobase/test": "2.3.0-alpha.1",
20
+ "@nocobase/utils": "2.3.0-alpha.1",
21
+ "@nocobase/actions": "2.3.0-alpha.1",
22
22
  "dayjs": "1.11.13"
23
23
  };
@@ -130,7 +130,7 @@ function verifyCollectionDefinition(app, collectionName) {
130
130
  const relationBackingFieldNames = new Set(
131
131
  fields.flatMap((field) => [field.foreignKey, field.otherKey].filter(Boolean))
132
132
  );
133
- const shouldSkipPresentationChecks = (field) => field.isForeignKey === true || relationBackingFieldNames.has(field.name) || ["exclude", "meta", "sort"].includes(field.name);
133
+ const shouldSkipPresentationChecks = (field) => field.hidden === true || field.isForeignKey === true || relationBackingFieldNames.has(field.name) || ["exclude", "meta", "sort"].includes(field.name);
134
134
  if (!((_a = collection.options) == null ? void 0 : _a.template)) {
135
135
  issues.push("Collection template is missing.");
136
136
  }
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "description": "NocoBase main database, supports relational databases such as PostgreSQL, MySQL, MariaDB and so on.",
7
7
  "description.ru-RU": "Основная база данных NocoBase: поддерживает реляционные СУБД, включая PostgreSQL, MySQL, MariaDB и другие.",
8
8
  "description.zh-CN": "NocoBase 主数据库,支持 PostgreSQL、MySQL、MariaDB 等关系型数据库。",
9
- "version": "2.2.0-beta.8",
9
+ "version": "2.3.0-alpha.1",
10
10
  "main": "./dist/server/index.js",
11
11
  "homepage": "https://docs.nocobase.com/handbook/data-source-main",
12
12
  "homepage.ru-RU": "https://docs-ru.nocobase.com/handbook/data-source-main",
@@ -25,7 +25,7 @@
25
25
  "@nocobase/test": "2.x",
26
26
  "@nocobase/utils": "2.x"
27
27
  },
28
- "gitHead": "fa2502c1e9faf6d74b3f51b42dbc6546638d46af",
28
+ "gitHead": "2377df8ceb12549149017f7f14a61207bf6e49a2",
29
29
  "keywords": [
30
30
  "Data sources"
31
31
  ]