@ray-js/api 1.6.15 → 1.6.16
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/@types/api-cloud.d.ts
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
// api云能力扩展
|
2
2
|
declare namespace ty {
|
3
|
+
// #region 删除历史地图
|
4
|
+
type DeleteMultipleMapFilesParams = {
|
5
|
+
devId: string // 设备id
|
6
|
+
fileIds: number[] // 要删除的历史地图文件id
|
7
|
+
}
|
8
|
+
|
9
|
+
type DeleteMultipleMapFilesResponse = boolean
|
10
|
+
|
11
|
+
/**
|
12
|
+
* 删除历史地图
|
13
|
+
* @returns 删除历史地图结果的 Promise
|
14
|
+
*/
|
15
|
+
function deleteMultipleMapFiles(
|
16
|
+
params: DeleteMultipleMapFilesParams
|
17
|
+
): Promise<DeleteMultipleMapFilesResponse>
|
18
|
+
|
3
19
|
// #region 获取云存储配置
|
4
20
|
type GetSweeperStorageConfigParams = {
|
5
21
|
// 设备id
|
@@ -1,3 +1,3 @@
|
|
1
1
|
export { getCleaningRecords, deleteCleaningRecord } from './record';
|
2
2
|
export { getVoiceList } from './voice';
|
3
|
-
export { getMultipleMapFiles, getSweeperStorageConfig } from './map';
|
3
|
+
export { getMultipleMapFiles, getSweeperStorageConfig, deleteMultipleMapFiles } from './map';
|
@@ -1,3 +1,3 @@
|
|
1
1
|
export { getCleaningRecords, deleteCleaningRecord } from './record';
|
2
2
|
export { getVoiceList } from './voice';
|
3
|
-
export { getMultipleMapFiles, getSweeperStorageConfig } from './map';
|
3
|
+
export { getMultipleMapFiles, getSweeperStorageConfig, deleteMultipleMapFiles } from './map';
|
@@ -1,3 +1,4 @@
|
|
1
1
|
declare const getMultipleMapFiles: typeof ty.getMultipleMapFiles;
|
2
2
|
declare const getSweeperStorageConfig: typeof ty.getSweeperStorageConfig;
|
3
|
-
|
3
|
+
declare const deleteMultipleMapFiles: typeof ty.deleteMultipleMapFiles;
|
4
|
+
export { getMultipleMapFiles, getSweeperStorageConfig, deleteMultipleMapFiles };
|
@@ -3,4 +3,5 @@
|
|
3
3
|
import { factory } from '../../utils';
|
4
4
|
const getMultipleMapFiles = factory('getMultipleMapFiles');
|
5
5
|
const getSweeperStorageConfig = factory('getSweeperStorageConfig');
|
6
|
-
|
6
|
+
const deleteMultipleMapFiles = factory('deleteMultipleMapFiles');
|
7
|
+
export { getMultipleMapFiles, getSweeperStorageConfig, deleteMultipleMapFiles };
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ray-js/api",
|
3
|
-
"version": "1.6.
|
3
|
+
"version": "1.6.16",
|
4
4
|
"description": "Ray universal api",
|
5
5
|
"keywords": [
|
6
6
|
"ray"
|
@@ -29,14 +29,14 @@
|
|
29
29
|
"watch": "ray start --type=component"
|
30
30
|
},
|
31
31
|
"dependencies": {
|
32
|
-
"@ray-js/framework": "1.6.
|
33
|
-
"@ray-js/router": "1.6.
|
32
|
+
"@ray-js/framework": "1.6.16",
|
33
|
+
"@ray-js/router": "1.6.16",
|
34
34
|
"@ray-js/wechat": "^0.2.19",
|
35
35
|
"base64-browser": "^1.0.1",
|
36
36
|
"query-string": "^7.1.3"
|
37
37
|
},
|
38
38
|
"devDependencies": {
|
39
|
-
"@ray-js/cli": "1.6.
|
39
|
+
"@ray-js/cli": "1.6.16",
|
40
40
|
"art-template": "^4.13.2",
|
41
41
|
"fs-extra": "^10.1.0",
|
42
42
|
"miniprogram-api-typings": "^3.12.3",
|
@@ -46,5 +46,5 @@
|
|
46
46
|
"access": "public",
|
47
47
|
"registry": "https://registry.npmjs.com"
|
48
48
|
},
|
49
|
-
"gitHead": "
|
49
|
+
"gitHead": "d80b75b00f3f86608fba9bbce3f052e32bbfdef4"
|
50
50
|
}
|