kuzzle-device-manager-types 2.1.2 → 2.1.3

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.
@@ -0,0 +1,2 @@
1
+ import { JSONObject } from "kuzzle-sdk";
2
+ export declare const getEmbeddedMeasureMappings: (values: JSONObject) => JSONObject;
@@ -6,3 +6,4 @@ export * from "./measures";
6
6
  export * from "./MeasureModule";
7
7
  export * from "./roles/RoleMeasuresAdmin";
8
8
  export * from "./roles/RoleMeasuresReader";
9
+ export * from "./collections/getEmbeddedMeasureMappings";
@@ -21,4 +21,8 @@ export type EmbeddedMeasure<TMeasureValue extends JSONObject = JSONObject> = {
21
21
  * Name of the measure for the digital twin
22
22
  */
23
23
  name: string;
24
+ /**
25
+ * Origin ID of the measure (deviceId in most cases)
26
+ */
27
+ originId: string;
24
28
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kuzzle-device-manager-types",
3
- "version": "2.1.2",
3
+ "version": "2.1.3",
4
4
  "description": "Shared types for Kuzzle Device Manager",
5
5
  "author": "The Kuzzle Team (support@kuzzle.io)",
6
6
  "types": "dist/index.d.ts",