@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.
@@ -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 ;
@@ -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": "bg-gray-100",
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: 孙浩林 sunhaolin@steedos.com
5
- * @LastEditTime: 2025-02-18 16:58:48
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
- }))[0]
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.107",
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.107",
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": "1af567ed119c938f6214ea192e610f07aa8612af"
20
+ "gitHead": "5c0958e88a1e3db12f511609cd827e3e93782822"
21
21
  }
@@ -1,5 +0,0 @@
1
- name: is_rest
2
- type: boolean
3
- label: Rest
4
- sort_no: 170
5
- defaultValue: true