nayota-show-sdk 1.2.9 → 1.3.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.
Files changed (2) hide show
  1. package/api/userDevice.js +10 -1
  2. package/package.json +1 -1
package/api/userDevice.js CHANGED
@@ -12,7 +12,9 @@ import { requestShow } from '../utils'
12
12
  * @property {string} _id - 用户权限配置id.
13
13
  * @property {string} user - 用户id.
14
14
  * @property {array} devices - 绑定的设备id数组.
15
- * @property {array} apps - 绑定的看板路由id.
15
+ * @property {array} apps - 绑定的看板路由id数组.
16
+ * @property {array} areas - 绑定的区域id数组.
17
+ * @property {array} departs - 绑定的层级数组.
16
18
  * @property {array} approutes - 绑定的应用中的页面和路由.
17
19
  * @property {string} approutes.application - 所属应用.
18
20
  * @property {string} approutes.appRouter - 看板路由id.
@@ -29,6 +31,13 @@ import { requestShow } from '../utils'
29
31
  ],
30
32
  "_id": "674e9c7ded8b5a000786a5ba",
31
33
  "user": "66ea75fc81f1de269eec3ee9",
34
+ "areas": [
35
+ "638eb453cff209441968e76e",
36
+ "638eb4a3cff2093a6e68e77a"
37
+ ],
38
+ "departs": [
39
+ "638eb453cff209441968e76e",
40
+ ]
32
41
  "approutes": [
33
42
  {
34
43
  "children": [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nayota-show-sdk",
3
- "version": "1.2.9",
3
+ "version": "1.3.0",
4
4
  "description": "nayota-show-server rest-api",
5
5
  "type": "module",
6
6
  "main": "index.js",