nayota-show-sdk 1.3.8 → 1.3.9

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.
@@ -14,6 +14,7 @@ import { requestShow } from '../utils'
14
14
  * @property {string} color - 图标颜色
15
15
  * @property {number} type - 应用类型,取value值[{name: '本地应用', value: 0}, {name: '平台应用', value: 1}]
16
16
  * @property {string} url - 应用路径
17
+ * @property {string} relationPlatform - 关联平台
17
18
  * @example
18
19
  * {
19
20
  "_id": "6565849e55f4e0b6dd126f5e",
package/api/devices.js CHANGED
@@ -210,7 +210,15 @@ export function deleteMany(ids) {
210
210
  * 删除所有平台设备
211
211
  * @param {Object} query - 删除对象。
212
212
  * @param {Array} query.ids - 删除的设备ids。
213
+ * @example
214
+ * {
215
+ * "ids": ["667d2efa52d21700095b58d5"]
216
+ * }
213
217
  * @returns {number} code - 返回码,0表示成功
218
+ * @example
219
+ * {
220
+ * "code": 0
221
+ * }
214
222
  */
215
223
  export function deleteAllDevice(query) {
216
224
  return requestShow({
package/api/userDevice.js CHANGED
@@ -22,6 +22,7 @@ import { requestShow } from '../utils'
22
22
  * @property {string} introduction - 整体介绍.
23
23
  * @property {number} buildingArea - 楼宇占地面积.
24
24
  * @property {number} averageArea - 面均面积.
25
+ * @property {boolean} dynamicPath - 动态链接.
25
26
  * @example
26
27
  * {
27
28
  "devices": [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nayota-show-sdk",
3
- "version": "1.3.8",
3
+ "version": "1.3.9",
4
4
  "description": "nayota-show-server rest-api",
5
5
  "type": "module",
6
6
  "main": "index.js",