@steedos/service-core-objects 3.0.0-beta.112 → 3.0.0-beta.113

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.
@@ -16,7 +16,7 @@ const SocketRoomParts = {
16
16
  }
17
17
 
18
18
  // 连接到服务器
19
- const socket = window.io("/", {
19
+ const socket = window.io(Builder.settings.context.rootUrl, {
20
20
  path: "/socket.io"
21
21
  });
22
22
 
@@ -219,6 +219,9 @@ const updateRecord = async function(userId, object_name, new_doc, previous_doc,
219
219
  for(var i = 0; i < keys.length; i++ ){
220
220
  const k = keys[i];
221
221
  const v = modifier[k];
222
+ if(k == "modified"){
223
+ continue
224
+ }
222
225
  var auditRecordsObject, db_new_value, db_previous_value, doc, field, new_value, previous_value;
223
226
  field = fields != null ? fields[k] : void 0;
224
227
  previous_value = previous_doc[k];
@@ -20,7 +20,7 @@ amis_schema: |-
20
20
  "args": {
21
21
  "options": {},
22
22
  "api": {
23
- "url": "${context.rootUrl}/api/users/${record.user}/clear_login_tokens",
23
+ "url": "${context.rootUrl}/api/users/${user}/clear_login_tokens",
24
24
  "method": "get",
25
25
  "requestAdaptor": "",
26
26
  "adaptor": "return payload.success ? {data: {...payload}, status: 0, msg: t('CustomLabels.space_users_actions_clear_login_tokens_success')} : {...payload, status: 1};"
@@ -1,8 +1,8 @@
1
1
  /*
2
2
  * @Author: sunhaolin@hotoa.com
3
3
  * @Date: 2022-12-02 16:53:23
4
- * @LastEditors: baozhoutao@steedos.com
5
- * @LastEditTime: 2024-02-27 15:20:23
4
+ * @LastEditors: 殷亮辉 yinlianghui@hotoa.com
5
+ * @LastEditTime: 2025-10-22 09:32:01
6
6
  * @Description:
7
7
  */
8
8
  "use strict";
@@ -98,6 +98,9 @@ module.exports = {
98
98
  }
99
99
  })
100
100
  }
101
+ return {
102
+ success: true
103
+ };
101
104
  }
102
105
  },
103
106
  invite_user: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos/service-core-objects",
3
- "version": "3.0.0-beta.112",
3
+ "version": "3.0.0-beta.113",
4
4
  "main": "package.service.js",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -9,12 +9,12 @@
9
9
  "steedos"
10
10
  ],
11
11
  "dependencies": {
12
- "@steedos/service-package-loader": "3.0.0-beta.112",
12
+ "@steedos/service-package-loader": "3.0.0-beta.113",
13
13
  "json2xls": "^0.1.2",
14
14
  "lodash": "^4.17.21"
15
15
  },
16
16
  "description": "steedos package",
17
17
  "repository": {},
18
18
  "license": "MIT",
19
- "gitHead": "742d399ecaca836729c200044deee3ef0988be14"
19
+ "gitHead": "fb75d2f8f1d8b4c840c632cee8966841540b6349"
20
20
  }