@steedos/service-plugin-amis 2.5.3-beta.26 → 2.5.3-beta.27

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.
@@ -19,6 +19,9 @@ const ExcludeObjectNames = [
19
19
  'cms_posts',
20
20
  ];
21
21
 
22
+ const ExcludeFieldNames = [
23
+ 'instances'
24
+ ]
22
25
 
23
26
  module.exports = {
24
27
  name: "amis-metadata-objects",
@@ -388,6 +391,8 @@ module.exports = {
388
391
 
389
392
  const fieldsArr = [];
390
393
  _.each(objectConfig.fields , (field, field_name)=>{
394
+ if (field.hidden) return;
395
+ if (ExcludeFieldNames.includes(field_name)) return;
391
396
  if(!_.has(field, "name")){
392
397
  field.name = field_name
393
398
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos/service-plugin-amis",
3
- "version": "2.5.3-beta.26",
3
+ "version": "2.5.3-beta.27",
4
4
  "main": "package.service.js",
5
5
  "scripts": {
6
6
  "build": "yarn build:tailwind-base && yarn build:tailwind",
@@ -13,7 +13,7 @@
13
13
  "publishConfig": {
14
14
  "access": "public"
15
15
  },
16
- "gitHead": "4a93161d2d00ecd33e7e63fe478980bc6b1fb75b",
16
+ "gitHead": "e72261e184ea8aa9f605b63ae692e9f04bcd0bc5",
17
17
  "devDependencies": {
18
18
  "tailwindcss": "3.2.4"
19
19
  }