@steedos/service-object-mixin 2.7.0-beta.9 → 2.7.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos/service-object-mixin",
3
- "version": "2.7.0-beta.9",
3
+ "version": "2.7.0",
4
4
  "main": "package.service.js",
5
5
  "private": false,
6
6
  "publishConfig": {
@@ -9,9 +9,12 @@
9
9
  "keywords": [
10
10
  "steedos"
11
11
  ],
12
+ "dependencies": {
13
+ "@steedos/utils": "2.7.0"
14
+ },
12
15
  "scripts": {},
13
16
  "description": "steedos package",
14
17
  "repository": {},
15
18
  "license": "MIT",
16
- "gitHead": "b9fad2d43fc0216dbcfcf965b7218590167d8f55"
19
+ "gitHead": "2f1586ea4f8af5b93753878e96f1f48adbef31a7"
17
20
  }
@@ -2,12 +2,13 @@
2
2
  * @Author: sunhaolin@hotoa.com
3
3
  * @Date: 2023-03-23 15:12:14
4
4
  * @LastEditors: baozhoutao@steedos.com
5
- * @LastEditTime: 2024-03-12 10:24:48
5
+ * @LastEditTime: 2024-04-15 14:50:12
6
6
  * @Description:
7
7
  */
8
8
  "use strict";
9
9
  // @ts-check
10
10
  const _ = require('lodash')
11
+ const { getSettings } = require('@steedos/utils')
11
12
 
12
13
  /**
13
14
  * @typedef {import('moleculer').Context} Context Moleculer's Context
@@ -459,6 +460,9 @@ module.exports = {
459
460
  }
460
461
  }
461
462
  }
463
+ },
464
+ getSettings: async(spaceId)=>{
465
+ return await getSettings(spaceId)
462
466
  }
463
467
  },
464
468