@kuriousdesign/machine-sdk 1.0.76 → 1.0.77

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.
@@ -1,4 +1,4 @@
1
- import { ComponentAnimation, DebugLogData, DeviceRegistration, RecipeStore, TaskQueue } from ".";
1
+ import { ComponentAnimation, DebugLogData, DeviceRegistration, FaultData, RecipeStore, TaskQueue } from ".";
2
2
  import { PartDataStatus } from "./Part";
3
3
  export interface UserData {
4
4
  activeUser: number;
@@ -11,7 +11,7 @@ export interface FaultCodeData {
11
11
  }
12
12
  export declare const initialFaultCodeData: FaultCodeData;
13
13
  export interface SystemFaultData {
14
- list: FaultCodeData[];
14
+ list: FaultData[];
15
15
  present: boolean;
16
16
  }
17
17
  export declare const initialSystemFaultData: SystemFaultData;
@@ -9,7 +9,7 @@ exports.initialFaultCodeData = {
9
9
  code: 0,
10
10
  };
11
11
  exports.initialSystemFaultData = {
12
- list: Array(_1.DeviceConstants.DEVICE_FAULTCODEARRAY_LEN).fill(null).map(() => ({ ...exports.initialFaultCodeData })),
12
+ list: Array(GlobalConstants_1.GCs.MACHINE_FAULTCODEARRAY_LEN).fill(null).map(() => ({ ..._1.initialFaultData })),
13
13
  present: false,
14
14
  };
15
15
  exports.initialMachineCfg = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kuriousdesign/machine-sdk",
3
- "version": "1.0.76",
3
+ "version": "1.0.77",
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",
@@ -1,4 +1,4 @@
1
- import { ComponentAnimation, DebugLogData, DeviceConstants, DeviceRegistration, initialDebugLogData, initialRecipeStore, initialTaskQueue, RecipeStore, TaskQueue } from ".";
1
+ import { ComponentAnimation, DebugLogData, DeviceRegistration, FaultData, initialDebugLogData, initialFaultData, initialRecipeStore, initialTaskQueue, RecipeStore, TaskQueue } from ".";
2
2
  import { initialPartDataStatus, PartDataStatus } from "./Part";
3
3
  import { GCs } from "./GlobalConstants";
4
4
 
@@ -20,12 +20,12 @@ export const initialFaultCodeData: FaultCodeData = {
20
20
  };
21
21
 
22
22
  export interface SystemFaultData {
23
- list: FaultCodeData[];
23
+ list: FaultData[];
24
24
  present: boolean;
25
25
  }
26
26
 
27
27
  export const initialSystemFaultData: SystemFaultData = {
28
- list: Array(DeviceConstants.DEVICE_FAULTCODEARRAY_LEN).fill(null).map(() => ({ ...initialFaultCodeData })),
28
+ list: Array(GCs.MACHINE_FAULTCODEARRAY_LEN).fill(null).map(() => ({ ...initialFaultData })),
29
29
  present: false,
30
30
  };
31
31