@steedos/standard-object-database 2.7.1-beta.24 → 2.7.1-beta.26
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.
- package/main/default/objectTranslations/object_functions.en/object_functions.en.objectTranslation.yml +2 -15
- package/main/default/objectTranslations/object_functions.zh-CN/object_functions.zh-CN.objectTranslation.yml +2 -15
- package/main/default/objects/object_fields/fields/auto_fill_mapping.$.to.field.yml +2 -0
- package/main/default/objects/object_functions/fields/script.field.yml +1 -1
- package/package.json +5 -5
|
@@ -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
|
|
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:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos/standard-object-database",
|
|
3
|
-
"version": "2.7.1-beta.
|
|
3
|
+
"version": "2.7.1-beta.26",
|
|
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.
|
|
16
|
-
"@steedos/service-object-mixin": "2.7.1-beta.
|
|
17
|
-
"@steedos/standard-objects": "2.7.1-beta.
|
|
15
|
+
"@steedos/metadata-core": "2.7.1-beta.26",
|
|
16
|
+
"@steedos/service-object-mixin": "2.7.1-beta.26",
|
|
17
|
+
"@steedos/standard-objects": "2.7.1-beta.26",
|
|
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": "
|
|
24
|
+
"gitHead": "7f70d69c3b18a225d92289d92467fa3a064fb590"
|
|
25
25
|
}
|