nayota-show-sdk 1.3.35 → 1.3.37

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.
@@ -10,7 +10,6 @@ import { requestShow } from '../utils'
10
10
  * list({ page: 1, limit: 50 })
11
11
  */
12
12
 
13
-
14
13
  /**
15
14
  * @typedef {Object} AlarmRecord - 报警记录
16
15
  * @property {string} _id - 报警记录id
@@ -32,6 +31,9 @@ import { requestShow } from '../utils'
32
31
  * @property {Array} picUrls - 告警图片的URL。
33
32
  * @property {string} wxUser - 关联的微信用户。
34
33
  * @property {string} creator - 关联的用户。
34
+ * @property {object} customLocation - 自定义位置。
35
+ * @property {string} customLocation.depart - 关联的部门。
36
+ * @property {Array} customLocation.svgCoordinates - 自定义位置的svg坐标。
35
37
  * @property {Date} createdAt - 告警记录的创建日期。
36
38
  * @property {Date} updatedAt - 告警记录的最后更新日期。
37
39
  * @example
@@ -284,6 +286,13 @@ import { requestShow } from '../utils'
284
286
  "icon": "人脸识别 (30)",
285
287
  "isSimulation": true
286
288
  },
289
+ "customLocation": {
290
+ "depart": "6875f0c859e91c0009eb970c",
291
+ "svgCoordinates": [
292
+ 932.5427586838101,
293
+ 260.7438634477759
294
+ ]
295
+ }
287
296
  "createdAt": "2024-11-29T02:07:02.032Z",
288
297
  "updatedAt": "2024-11-29T02:07:02.032Z",
289
298
  "__v": 0
package/api/bmsRouter.js CHANGED
@@ -31,6 +31,7 @@ import { requestShow } from '../utils'
31
31
  * @property {array} areaClass - 区域类型id数组
32
32
  * @property {string} defaultDepart - 默认层级
33
33
  * @property {array} scadaProjectIds - 组态项目id数组
34
+ * @property {Array} defaultSelectedDeviceClass - 默认选中的设备类型 字段同deviceClass
34
35
  * @example
35
36
  * {
36
37
  "children": [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nayota-show-sdk",
3
- "version": "1.3.35",
3
+ "version": "1.3.37",
4
4
  "description": "nayota-show-server rest-api",
5
5
  "type": "module",
6
6
  "main": "index.js",