@kuriousdesign/machine-sdk 1.0.63 → 1.0.64

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.
@@ -21,12 +21,13 @@ export declare const exampleApplicatorSetpoints: ApplicatorSetpoint[];
21
21
  export declare const initialApplicatorSetpoints: ApplicatorSetpoint[];
22
22
  export interface RecipeData {
23
23
  index: number;
24
+ nickname: string;
24
25
  tubeTypeId: number;
25
26
  tubeTypeString: string;
26
27
  tubeOuterDiameterMax: number;
27
28
  falseBottomStaysOpen: boolean;
28
29
  linerPotPressure: number;
29
- linerType: string;
30
+ linerTypeString: string;
30
31
  applicatorSetpoints: ApplicatorSetpoint[];
31
32
  applicatorToolId: ApplicatorTools;
32
33
  applicatorToolString: string;
@@ -123,9 +123,10 @@ exports.weighingFingerIdToStringMap = new Map([
123
123
  ]);
124
124
  exports.weighingFingerStringToIdMap = new Map(Array.from(exports.weighingFingerIdToStringMap.entries()).map(([id, str]) => [str, id]));
125
125
  exports.exampleRecipe = {
126
- linerType: "CKU",
127
- linerPotPressure: 50,
128
126
  index: 1,
127
+ nickname: "Example Recipe",
128
+ linerTypeString: "CKU",
129
+ linerPotPressure: 50,
129
130
  tubeTypeId: TubeTypes.TYPE_1340_38,
130
131
  tubeTypeString: "1340-38",
131
132
  tubeOuterDiameterMax: 38.1,
@@ -143,7 +144,8 @@ exports.exampleRecipe = {
143
144
  };
144
145
  exports.initialRecipe = {
145
146
  index: 0,
146
- linerType: "",
147
+ nickname: "",
148
+ linerTypeString: "",
147
149
  tubeOuterDiameterMax: 0.0,
148
150
  tubeTypeId: TubeTypes.NONE,
149
151
  tubeTypeString: "",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kuriousdesign/machine-sdk",
3
- "version": "1.0.63",
3
+ "version": "1.0.64",
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",
@@ -37,6 +37,7 @@ export const initialApplicatorSetpoints: ApplicatorSetpoint[] = Array(GCs.MAX_AP
37
37
 
38
38
  export interface RecipeData {
39
39
  index: number; // index in RecipeStore.Recipes array
40
+ nickname: string; // user defined nickname for recipe
40
41
 
41
42
  tubeTypeId: number;
42
43
  tubeTypeString: string; // display purposes only
@@ -44,7 +45,7 @@ export interface RecipeData {
44
45
  falseBottomStaysOpen: boolean; // this also determines if only the tall fixture is used or not
45
46
 
46
47
  linerPotPressure: number; // PSI
47
- linerType: string; // display purposes only
48
+ linerTypeString: string; // display purposes only
48
49
 
49
50
  applicatorSetpoints: ApplicatorSetpoint[]; // speed robot uses while applying liner
50
51
  applicatorToolId: ApplicatorTools;
@@ -185,9 +186,11 @@ export const weighingFingerStringToIdMap = new Map(
185
186
 
186
187
 
187
188
  export const exampleRecipe: RecipeData = {
188
- linerType: "CKU",
189
- linerPotPressure: 50,
190
189
  index: 1,
190
+ nickname: "Example Recipe",
191
+ linerTypeString: "CKU",
192
+ linerPotPressure: 50,
193
+
191
194
  tubeTypeId: TubeTypes.TYPE_1340_38,
192
195
  tubeTypeString: "1340-38",
193
196
  tubeOuterDiameterMax: 38.1,
@@ -208,7 +211,8 @@ export const exampleRecipe: RecipeData = {
208
211
 
209
212
  export const initialRecipe: RecipeData = {
210
213
  index: 0,
211
- linerType: "",
214
+ nickname: "",
215
+ linerTypeString: "",
212
216
  tubeOuterDiameterMax: 0.0,
213
217
  tubeTypeId: TubeTypes.NONE,
214
218
  tubeTypeString: "",