@steedos/standard-ui 2.5.3-beta.1 → 2.5.3-beta.2

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.
@@ -1,17 +1,9 @@
1
- /*
2
- * @Author: baozhoutao@steedos.com
3
- * @Date: 2022-08-05 14:17:44
4
- * @LastEditors: baozhoutao@steedos.com
5
- * @LastEditTime: 2023-05-30 15:07:13
6
- * @Description:
7
- */
8
1
  const objectql = require('@steedos/objectql');
9
- const register = require('@steedos/metadata-registrar');
10
2
  const auth = require('@steedos/auth');
11
3
  const _ = require('underscore');
12
4
  async function getAll(){
13
5
  const schema = objectql.getSteedosSchema();
14
- const configs = await register.registerTab.getAll(schema.broker)
6
+ const configs = await objectql.registerTab.getAll(schema.broker)
15
7
  const dataList = _.pluck(configs, 'metadata');
16
8
 
17
9
  _.each(dataList, function(item){
@@ -24,7 +16,7 @@ async function getAll(){
24
16
 
25
17
  async function get(apiName){
26
18
  const schema =objectql.getSteedosSchema();
27
- const config = await register.registerTab.get(schema.broker, apiName)
19
+ const config = await objectql.registerTab.get(schema.broker, apiName)
28
20
  return config ? config.metadata : null;
29
21
  }
30
22
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos/standard-ui",
3
- "version": "2.5.3-beta.1",
3
+ "version": "2.5.3-beta.2",
4
4
  "main": "package.service.js",
5
5
  "private": false,
6
6
  "publishConfig": {
@@ -12,5 +12,5 @@
12
12
  "description": "steedos package",
13
13
  "repository": {},
14
14
  "license": "MIT",
15
- "gitHead": "a2e723ed4256279e8e6fa9f67d7f607c83f8638f"
15
+ "gitHead": "321fe88aba6ddc3380a0d71eaa2e9a18186d49f8"
16
16
  }