@ray-js/ray-ipc-utils 1.1.0-beta-6 → 1.1.0-beta-7
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/lib/index.d.ts +2 -2
- package/lib/service/index.d.ts +3 -3
- package/lib/service/index.js +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
declare const IpcUtils: {
|
|
2
2
|
getCameraConfigInfo: <T>(deviceId: string) => Promise<IRes<T>>;
|
|
3
3
|
getCollectionPointsInfo: <T_1>(deviceId: string) => Promise<IRes<T_1>>;
|
|
4
|
-
updateCollectionPointsInfo: <T_2>(deviceId: string, id:
|
|
4
|
+
updateCollectionPointsInfo: <T_2>(deviceId: string, id: string, name: string) => Promise<IRes<T_2>>;
|
|
5
5
|
delCollectionPointsInfo: <T_3>(deviceId: string, pointData: [{
|
|
6
6
|
devId: string;
|
|
7
|
-
mpId:
|
|
7
|
+
mpId: string;
|
|
8
8
|
}]) => Promise<IRes<T_3>>;
|
|
9
9
|
addCollectionPointsInfo: <T_4>(deviceId: string, name: string) => Promise<IRes<T_4>>;
|
|
10
10
|
getServiceUrl: <T_5>(deviceId: string, serveType: import("./interface").ServeTpe, paramData?: Record<string, any>, action?: boolean, utm_rtid?: string) => Promise<IRes<T_5>>;
|
package/lib/service/index.d.ts
CHANGED
|
@@ -14,17 +14,17 @@ export declare const getCollectionPointsInfo: <T>(deviceId: string) => Promise<I
|
|
|
14
14
|
/**
|
|
15
15
|
* 更新IPC设备单个收藏点信息
|
|
16
16
|
* @param {string} deviceId 设备id
|
|
17
|
-
* @param {
|
|
17
|
+
* @param {string} id 收藏点id
|
|
18
18
|
* @param {string} name 收藏点名称
|
|
19
19
|
*/
|
|
20
|
-
export declare const updateCollectionPointsInfo: <T>(deviceId: string, id:
|
|
20
|
+
export declare const updateCollectionPointsInfo: <T>(deviceId: string, id: string, name: string) => Promise<IRes<T>>;
|
|
21
21
|
/**
|
|
22
22
|
* 删除IPC设备单个收藏点信息
|
|
23
23
|
* @param {string} deviceId 设备id
|
|
24
24
|
*/
|
|
25
25
|
export declare const delCollectionPointsInfo: <T>(deviceId: string, pointData: [{
|
|
26
26
|
devId: string;
|
|
27
|
-
mpId:
|
|
27
|
+
mpId: string;
|
|
28
28
|
}]) => Promise<IRes<T>>;
|
|
29
29
|
/**
|
|
30
30
|
* 添加IPC设备单个收藏点信息
|
package/lib/service/index.js
CHANGED