@steedos/service-core-objects 3.0.0-beta.107 → 3.0.0-beta.109
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 +1 -5
- package/main/default/objectTranslations/object_functions.zh-CN/object_functions.zh-CN.objectTranslation.yml +1 -5
- package/main/default/objects/_base/base.object.js +1 -0
- package/main/default/objects/object_functions/buttons/open_api.button.yml +1 -3
- package/main/default/objects/object_functions/fields/script.field.yml +3 -2
- package/main/default/objects/object_functions/listviews/all.listview.yml +0 -1
- package/main/default/objects/object_functions/listviews/customize.listview.yml +0 -1
- package/main/default/objects/object_triggers/fields/handler.field.yml +3 -2
- package/main/default/pages/space_users_list.page.amis.json +5 -2
- package/main/default/triggers/space_users.trigger.js +3 -3
- package/package.json +3 -3
- package/main/default/objects/object_functions/fields/is_rest.field.yml +0 -5
|
@@ -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:
|
|
@@ -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":"${
|
|
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 ;
|
|
@@ -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 ;
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"initiallyOpen": false,
|
|
79
79
|
"extractValue": true,
|
|
80
80
|
"onlyChildren": true,
|
|
81
|
-
"treeContainerClassName": "no-border",
|
|
81
|
+
"treeContainerClassName": "no-border h-full",
|
|
82
82
|
"showIcon": false,
|
|
83
83
|
"enableNodePath": false,
|
|
84
84
|
"autoCheckChildren": false,
|
|
@@ -182,7 +182,7 @@
|
|
|
182
182
|
"hiddenOn": "${window:innerWidth < 768 && false}"
|
|
183
183
|
}
|
|
184
184
|
],
|
|
185
|
-
"className": "
|
|
185
|
+
"className": "",
|
|
186
186
|
"style": {
|
|
187
187
|
"border": 0,
|
|
188
188
|
"border-radius": 0
|
|
@@ -276,6 +276,9 @@
|
|
|
276
276
|
},
|
|
277
277
|
".space-users-list-custom-page.space-users-list-pc.space-users-list-sidebar-open .space-users-list-sidebar-wrapper": {
|
|
278
278
|
"min-width": "220px"
|
|
279
|
+
},
|
|
280
|
+
".space-users-list-custom-page.space-users-list-pc .space-users-list-sidebar-wrapper .antd-Form-item .antd-Tree": {
|
|
281
|
+
"max-height": "none"
|
|
279
282
|
}
|
|
280
283
|
}
|
|
281
284
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* @Author: sunhaolin@hotoa.com
|
|
3
3
|
* @Date: 2022-12-07 14:19:57
|
|
4
|
-
* @LastEditors:
|
|
5
|
-
* @LastEditTime: 2025-
|
|
4
|
+
* @LastEditors: 殷亮辉 yinlianghui@hotoa.com
|
|
5
|
+
* @LastEditTime: 2025-10-14 10:16:10
|
|
6
6
|
* @Description:
|
|
7
7
|
*/
|
|
8
8
|
"use strict";
|
|
@@ -258,7 +258,7 @@ async function updatevaildate(suDoc, doc) {
|
|
|
258
258
|
filters: [
|
|
259
259
|
['mobile', '=', tmpMobile]
|
|
260
260
|
]
|
|
261
|
-
}))
|
|
261
|
+
}))
|
|
262
262
|
|
|
263
263
|
if (mobileUser && mobileUser._id !== suDoc.user) {
|
|
264
264
|
throw new Error("space_users_error_phone_already_existed");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos/service-core-objects",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.109",
|
|
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.
|
|
13
|
+
"@steedos/service-package-loader": "3.0.0-beta.109",
|
|
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": "
|
|
20
|
+
"gitHead": "5c0958e88a1e3db12f511609cd827e3e93782822"
|
|
21
21
|
}
|