@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 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: number, name: string) => Promise<IRes<T_2>>;
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: number;
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>>;
@@ -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 {number} id 收藏点id
17
+ * @param {string} id 收藏点id
18
18
  * @param {string} name 收藏点名称
19
19
  */
20
- export declare const updateCollectionPointsInfo: <T>(deviceId: string, id: number, name: string) => Promise<IRes<T>>;
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: number;
27
+ mpId: string;
28
28
  }]) => Promise<IRes<T>>;
29
29
  /**
30
30
  * 添加IPC设备单个收藏点信息
@@ -257,7 +257,7 @@ export const getCollectionPointsInfo = deviceId => {
257
257
  /**
258
258
  * 更新IPC设备单个收藏点信息
259
259
  * @param {string} deviceId 设备id
260
- * @param {number} id 收藏点id
260
+ * @param {string} id 收藏点id
261
261
  * @param {string} name 收藏点名称
262
262
  */
263
263
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/ray-ipc-utils",
3
- "version": "1.1.0-beta-6",
3
+ "version": "1.1.0-beta-7",
4
4
  "description": "IPC 工具库",
5
5
  "main": "lib/index",
6
6
  "files": [