@steedos/standard-object-database 2.7.1-beta.21 → 2.7.1-beta.25

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.
@@ -12,7 +12,7 @@ fields:
12
12
  is_rest:
13
13
  label: Enable API
14
14
  help:
15
- description: allow the use of api interface access:/api/v1/:objectName/functions/:functionApiName
15
+ description: allow the use of api interface access:{POST/GET} /api/v1/:objectName/functions/:functionApiName
16
16
  is_system:
17
17
  label: System
18
18
  help:
@@ -33,22 +33,9 @@ fields:
33
33
  label: Script
34
34
  help:
35
35
  description: |
36
- async function run({
37
- input,
38
- params,
39
- broker,
40
- getObject,
41
- getUser
42
- } = ctx) {
36
+ async function run(ctx) {
43
37
  // ...
44
38
  }
45
- type:
46
- label: Type
47
- help:
48
- description:
49
- options:
50
- - label: "Script"
51
- value: "script"
52
39
  description:
53
40
  label: Description
54
41
  help:
@@ -9,7 +9,7 @@ fields:
9
9
  is_rest:
10
10
  label: 启用API
11
11
  help:
12
- description: 允许使用API接口访问:{POST} /api/v1/:objectName/functions/:functionApiName
12
+ description: 允许使用API接口访问:{POST/GET} /api/v1/:objectName/functions/:functionApiName
13
13
  is_system:
14
14
  label: 系统
15
15
  help:
@@ -30,22 +30,9 @@ fields:
30
30
  label: 代码
31
31
  help:
32
32
  description: |
33
- async function run({
34
- input,
35
- params,
36
- broker,
37
- getObject,
38
- getUser
39
- } = ctx) {
33
+ async function run(ctx) {
40
34
  // ...
41
35
  }
42
- type:
43
- label: 类型
44
- help:
45
- description:
46
- options:
47
- - label: "Script"
48
- value: "script"
49
36
  description:
50
37
  label: 备注
51
38
  help:
@@ -7,7 +7,7 @@ required: true
7
7
  defaultValue: |-
8
8
  // global: {_:lodash, moment, validator, filters}
9
9
  // objects
10
- // ctx.input
10
+ // ctx: {input, params, broker, getObject, getUser}
11
11
  editorDidMount: >-
12
12
  if(window._registerCompletionItemProviderFunction){
13
13
  return ;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos/standard-object-database",
3
- "version": "2.7.1-beta.21",
3
+ "version": "2.7.1-beta.25",
4
4
  "main": "package.service.js",
5
5
  "private": false,
6
6
  "publishConfig": {
@@ -12,14 +12,14 @@
12
12
  "description": "steedos package",
13
13
  "dependencies": {
14
14
  "@steedos-widgets/amis-lib": "^1.0.22",
15
- "@steedos/metadata-core": "2.7.1-beta.21",
16
- "@steedos/service-object-mixin": "2.7.1-beta.21",
17
- "@steedos/standard-objects": "2.7.1-beta.21",
15
+ "@steedos/metadata-core": "2.7.1-beta.25",
16
+ "@steedos/service-object-mixin": "2.7.1-beta.25",
17
+ "@steedos/standard-objects": "2.7.1-beta.25",
18
18
  "amis-formula": "~6.3.0",
19
19
  "clone": "^2.1.2",
20
20
  "moleculer-bullmq": "3.0.0"
21
21
  },
22
22
  "repository": {},
23
23
  "license": "MIT",
24
- "gitHead": "ff50ac64e344991378c0d3148410a3c8290918f8"
24
+ "gitHead": "57274d26ad0bcf0e578b4a14b6e2dee5ef629519"
25
25
  }