@kuriousdesign/machine-sdk 1.0.70 → 1.0.71

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.
@@ -18,6 +18,7 @@ export interface DeviceRegistration {
18
18
  childIdArray: number[];
19
19
  parentId: number;
20
20
  deviceType: DeviceTypes;
21
+ isExternalService: boolean;
21
22
  devicePath?: string[];
22
23
  }
23
24
  export declare const initialDeviceRegistration: DeviceRegistration;
@@ -21,6 +21,7 @@ exports.initialDeviceRegistration = {
21
21
  childIdArray: [],
22
22
  parentId: 0,
23
23
  deviceType: DeviceTypes_1.DeviceTypes.Base, // Assuming Unknown exists in DeviceTypes enum
24
+ isExternalService: false,
24
25
  devicePath: []
25
26
  };
26
27
  exports.initialDeviceCfg = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kuriousdesign/machine-sdk",
3
- "version": "1.0.70",
3
+ "version": "1.0.71",
4
4
  "description": "Shared data types and helpers for machine-related repositories",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -35,6 +35,7 @@ export interface DeviceRegistration {
35
35
  childIdArray: number[]; // array of child device ids
36
36
  parentId: number; // this is the parent id
37
37
  deviceType: DeviceTypes; // type of the device
38
+ isExternalService: boolean; // whether this device is an external service
38
39
  devicePath?: string[]; // full path of the device in the machine hierarchy
39
40
  };
40
41
 
@@ -46,6 +47,7 @@ export const initialDeviceRegistration: DeviceRegistration = {
46
47
  childIdArray: [],
47
48
  parentId: 0,
48
49
  deviceType: DeviceTypes.Base, // Assuming Unknown exists in DeviceTypes enum
50
+ isExternalService: false,
49
51
  devicePath: []
50
52
  };
51
53