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.
- package/api/application.js +1 -0
- package/api/devices.js +8 -0
- package/api/userDevice.js +1 -0
- package/package.json +1 -1
package/api/application.js
CHANGED
|
@@ -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