@steedos/service-core-objects 3.0.0-beta.107 → 3.0.0-beta.108

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,11 +8,7 @@ fields:
8
8
  Can only contain lowercase letters and numbers, must start with a letter,
9
9
  cannot end with an underscore character or contain two consecutive
10
10
  underscore characters
11
- description:
12
- is_rest:
13
- label: Enable API
14
- help:
15
- description: allow the use of api interface access:{POST/GET} /api/v1/:objectName/functions/:functionApiName
11
+ description: (POST/GET) /api/v6/functions/:objectName/:functionApiName
16
12
  is_system:
17
13
  label: System
18
14
  help:
@@ -5,11 +5,7 @@ fields:
5
5
  _name:
6
6
  label: API 名称
7
7
  help: API 名称只能包含小写字母、数字
8
- description:
9
- is_rest:
10
- label: 启用API
11
- help:
12
- description: 允许使用API接口访问:{POST/GET} /api/v1/:objectName/functions/:functionApiName
8
+ description: (POST/GET) /api/v6/functions/:objectName/:functionApiName
13
9
  is_system:
14
10
  label: 系统
15
11
  help:
@@ -458,6 +458,7 @@ module.exports = {
458
458
  "type": "dropdown-button",
459
459
  "label": "打印",
460
460
  "buttons": "${buttonOptions}",
461
+ "className": "steedos-DropDown--show-label",
461
462
  "id": "u:8cd2cefcaf9b",
462
463
  "disabled": false,
463
464
  "hidden": false
@@ -6,9 +6,7 @@ amis_schema: >-
6
6
  objectApiName__expand{\n name\n }\n }\n}\n
7
7
  `\n}","adaptor":"","messages":{}}},{"ignoreError":false,"actionType":"custom","script":"const
8
8
  record =
9
- event.data.object_function;\nwindow.open(`/api/v1/${record.object.name}/functions/${record.name}`)\n"}]}},"hidden":false,"visibleOn":"${is_rest
10
- ==
11
- true}"}],"data":{"context":{},"dataComponentId":"","record_id":"","record":{},"permissions":{}},"bodyClassName":"p-0","id":"u:05f888280584","dsType":"api"}
9
+ event.data.object_function;\nwindow.open(`/api/v1/${record.object.name}/functions/${record.name}`)\n"}]}},"hidden":false,"visibleOn":"${true}"}],"data":{"context":{},"dataComponentId":"","record_id":"","record":{},"permissions":{}},"bodyClassName":"p-0","id":"u:05f888280584","dsType":"api"}
12
10
  is_enable: true
13
11
  label: 请求API
14
12
  locked: false
@@ -5,9 +5,10 @@ language: javascript
5
5
  is_wide: true
6
6
  required: true
7
7
  defaultValue: |-
8
- // global: {_:lodash, moment, validator, filters, axios, formData, mongodb, sequelize}
9
- // objects
10
8
  // ctx: {input, params, broker, getObject, getUser}
9
+ // objects: all steedos objects
10
+ // db: mongodb client instance
11
+ // npm: {_, moment, validator, filters, axios, formData, mongodb, sequelize}
11
12
  editorDidMount: >-
12
13
  if(window._registerCompletionItemProviderFunction){
13
14
  return ;
@@ -3,7 +3,6 @@ columns:
3
3
  - name
4
4
  - objectApiName
5
5
  - isEnabled
6
- - is_rest
7
6
  - is_system
8
7
  label: All
9
8
  filter_scope: space
@@ -3,7 +3,6 @@ columns:
3
3
  - name
4
4
  - objectApiName
5
5
  - isEnabled
6
- - is_rest
7
6
  - is_system
8
7
  label: 自定义
9
8
  filters:
@@ -5,10 +5,11 @@ language: javascript
5
5
  is_wide: true
6
6
  required: true
7
7
  defaultValue: |-
8
- // global: {_:lodash, moment, validator, filters, axios, formData, mongodb, sequelize}
9
8
  // ctx
10
- // objects
9
+ // objects: all steedos objects
10
+ // db: mongodb client instance
11
11
  // services
12
+ // npm: {_, moment, validator, filters, axios, formData, mongodb, sequelize}
12
13
  editorDidMount: >-
13
14
  if(window._registerCompletionItemProviderTrigger){
14
15
  return ;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos/service-core-objects",
3
- "version": "3.0.0-beta.107",
3
+ "version": "3.0.0-beta.108",
4
4
  "main": "package.service.js",
5
5
  "private": false,
6
6
  "publishConfig": {
@@ -10,12 +10,12 @@
10
10
  "steedos"
11
11
  ],
12
12
  "dependencies": {
13
- "@steedos/service-package-loader": "3.0.0-beta.107",
13
+ "@steedos/service-package-loader": "3.0.0-beta.108",
14
14
  "json2xls": "^0.1.2",
15
15
  "lodash": "^4.17.21"
16
16
  },
17
17
  "description": "steedos package",
18
18
  "repository": {},
19
19
  "license": "MIT",
20
- "gitHead": "1af567ed119c938f6214ea192e610f07aa8612af"
20
+ "gitHead": "e32e7c64ee17d2b2c18e280d28f6869d74747a17"
21
21
  }
@@ -1,5 +0,0 @@
1
- name: is_rest
2
- type: boolean
3
- label: Rest
4
- sort_no: 170
5
- defaultValue: true