@opentrons/shared-data 0.1.4 → 0.1.5-alpha.4

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.
Files changed (184) hide show
  1. package/Makefile +1 -1
  2. package/command/schemas/8.json +7 -1
  3. package/deck/definitions/4/ot3_standard.json +0 -1
  4. package/lib/command/schemas/8.json +7 -1
  5. package/lib/command/types/annotation.d.ts +2 -2
  6. package/lib/command/types/calibration.d.ts +2 -2
  7. package/lib/command/types/gantry.d.ts +2 -2
  8. package/lib/command/types/incidental.d.ts +2 -2
  9. package/lib/command/types/index.d.ts +3 -3
  10. package/lib/command/types/module.d.ts +2 -2
  11. package/lib/command/types/pipetting.d.ts +8 -8
  12. package/lib/command/types/setup.d.ts +6 -6
  13. package/lib/command/types/timing.d.ts +3 -3
  14. package/lib/commandAnnotation/types/index.d.ts +2 -2
  15. package/lib/deck/definitions/4/ot3_standard.json +0 -1
  16. package/lib/deck/types/schemaV4.d.ts +12 -12
  17. package/lib/js/constants.d.ts +6 -6
  18. package/lib/js/errors.d.ts +2 -2
  19. package/lib/js/fixtures.d.ts +3 -0
  20. package/lib/js/helpers/getModuleVizDims.d.ts +1 -1
  21. package/lib/js/helpers/index.d.ts +3 -3
  22. package/lib/js/helpers/orderWells.d.ts +1 -1
  23. package/lib/js/helpers/parseProtocolData.d.ts +4 -4
  24. package/lib/js/helpers/wellSets.d.ts +1 -1
  25. package/lib/js/labwareTools/index.d.ts +2 -2
  26. package/lib/js/pipettes.d.ts +3 -3
  27. package/lib/js/types.d.ts +36 -36
  28. package/lib/opentrons-shared-data.js +1 -1
  29. package/lib/opentrons-shared-data.js.map +1 -1
  30. package/lib/pipette/definitions/2/geometry/eight_channel/p10/1_0.json +4 -0
  31. package/lib/pipette/definitions/2/geometry/eight_channel/p10/1_3.json +4 -0
  32. package/lib/pipette/definitions/2/geometry/eight_channel/p10/1_4.json +4 -0
  33. package/lib/pipette/definitions/2/geometry/eight_channel/p10/1_5.json +4 -0
  34. package/lib/pipette/definitions/2/geometry/eight_channel/p10/1_6.json +4 -0
  35. package/lib/pipette/definitions/2/geometry/eight_channel/p1000/1_0.json +4 -0
  36. package/lib/pipette/definitions/2/geometry/eight_channel/p1000/3_0.json +4 -0
  37. package/lib/pipette/definitions/2/geometry/eight_channel/p1000/3_3.json +4 -0
  38. package/lib/pipette/definitions/2/geometry/eight_channel/p1000/3_4.json +4 -0
  39. package/lib/pipette/definitions/2/geometry/eight_channel/p1000/3_5.json +4 -0
  40. package/lib/pipette/definitions/2/geometry/eight_channel/p20/2_0.json +4 -0
  41. package/lib/pipette/definitions/2/geometry/eight_channel/p20/2_1.json +4 -0
  42. package/lib/pipette/definitions/2/geometry/eight_channel/p300/1_0.json +4 -0
  43. package/lib/pipette/definitions/2/geometry/eight_channel/p300/1_3.json +4 -0
  44. package/lib/pipette/definitions/2/geometry/eight_channel/p300/1_4.json +4 -0
  45. package/lib/pipette/definitions/2/geometry/eight_channel/p300/1_5.json +4 -0
  46. package/lib/pipette/definitions/2/geometry/eight_channel/p300/2_0.json +4 -0
  47. package/lib/pipette/definitions/2/geometry/eight_channel/p300/2_1.json +4 -0
  48. package/lib/pipette/definitions/2/geometry/eight_channel/p50/1_0.json +4 -0
  49. package/lib/pipette/definitions/2/geometry/eight_channel/p50/1_3.json +4 -0
  50. package/lib/pipette/definitions/2/geometry/eight_channel/p50/1_4.json +4 -0
  51. package/lib/pipette/definitions/2/geometry/eight_channel/p50/1_5.json +4 -0
  52. package/lib/pipette/definitions/2/geometry/eight_channel/p50/3_0.json +4 -0
  53. package/lib/pipette/definitions/2/geometry/eight_channel/p50/3_3.json +4 -0
  54. package/lib/pipette/definitions/2/geometry/eight_channel/p50/3_4.json +4 -0
  55. package/lib/pipette/definitions/2/geometry/eight_channel/p50/3_5.json +4 -0
  56. package/lib/pipette/definitions/2/geometry/ninety_six_channel/p1000/1_0.json +4 -0
  57. package/lib/pipette/definitions/2/geometry/ninety_six_channel/p1000/3_0.json +4 -0
  58. package/lib/pipette/definitions/2/geometry/ninety_six_channel/p1000/3_3.json +4 -0
  59. package/lib/pipette/definitions/2/geometry/ninety_six_channel/p1000/3_4.json +4 -0
  60. package/lib/pipette/definitions/2/geometry/ninety_six_channel/p1000/3_5.json +4 -0
  61. package/lib/pipette/definitions/2/geometry/single_channel/p10/1_0.json +4 -0
  62. package/lib/pipette/definitions/2/geometry/single_channel/p10/1_3.json +4 -0
  63. package/lib/pipette/definitions/2/geometry/single_channel/p10/1_4.json +4 -0
  64. package/lib/pipette/definitions/2/geometry/single_channel/p10/1_5.json +4 -0
  65. package/lib/pipette/definitions/2/geometry/single_channel/p1000/1_0.json +4 -0
  66. package/lib/pipette/definitions/2/geometry/single_channel/p1000/1_3.json +4 -0
  67. package/lib/pipette/definitions/2/geometry/single_channel/p1000/1_4.json +4 -0
  68. package/lib/pipette/definitions/2/geometry/single_channel/p1000/1_5.json +4 -0
  69. package/lib/pipette/definitions/2/geometry/single_channel/p1000/2_0.json +4 -0
  70. package/lib/pipette/definitions/2/geometry/single_channel/p1000/2_1.json +4 -0
  71. package/lib/pipette/definitions/2/geometry/single_channel/p1000/2_2.json +4 -0
  72. package/lib/pipette/definitions/2/geometry/single_channel/p1000/3_0.json +4 -0
  73. package/lib/pipette/definitions/2/geometry/single_channel/p1000/3_3.json +4 -0
  74. package/lib/pipette/definitions/2/geometry/single_channel/p1000/3_4.json +4 -0
  75. package/lib/pipette/definitions/2/geometry/single_channel/p1000/3_5.json +4 -0
  76. package/lib/pipette/definitions/2/geometry/single_channel/p1000/3_6.json +4 -0
  77. package/lib/pipette/definitions/2/geometry/single_channel/p20/2_0.json +4 -0
  78. package/lib/pipette/definitions/2/geometry/single_channel/p20/2_1.json +4 -0
  79. package/lib/pipette/definitions/2/geometry/single_channel/p20/2_2.json +4 -0
  80. package/lib/pipette/definitions/2/geometry/single_channel/p300/1_0.json +4 -0
  81. package/lib/pipette/definitions/2/geometry/single_channel/p300/1_3.json +4 -0
  82. package/lib/pipette/definitions/2/geometry/single_channel/p300/1_4.json +4 -0
  83. package/lib/pipette/definitions/2/geometry/single_channel/p300/1_5.json +4 -0
  84. package/lib/pipette/definitions/2/geometry/single_channel/p300/2_0.json +4 -0
  85. package/lib/pipette/definitions/2/geometry/single_channel/p300/2_1.json +4 -0
  86. package/lib/pipette/definitions/2/geometry/single_channel/p50/1_0.json +4 -0
  87. package/lib/pipette/definitions/2/geometry/single_channel/p50/1_3.json +4 -0
  88. package/lib/pipette/definitions/2/geometry/single_channel/p50/1_4.json +4 -0
  89. package/lib/pipette/definitions/2/geometry/single_channel/p50/1_5.json +4 -0
  90. package/lib/pipette/definitions/2/geometry/single_channel/p50/3_0.json +4 -0
  91. package/lib/pipette/definitions/2/geometry/single_channel/p50/3_3.json +4 -0
  92. package/lib/pipette/definitions/2/geometry/single_channel/p50/3_4.json +4 -0
  93. package/lib/pipette/definitions/2/geometry/single_channel/p50/3_5.json +4 -0
  94. package/lib/pipette/schemas/2/pipetteGeometrySchema.json +8 -0
  95. package/lib/protocol/fixtures/6/multipleTipracks.json +26 -104
  96. package/lib/protocol/index.d.ts +1 -1
  97. package/lib/protocol/types/schemaV1.d.ts +5 -5
  98. package/lib/protocol/types/schemaV3.d.ts +9 -9
  99. package/lib/protocol/types/schemaV4.d.ts +1 -1
  100. package/lib/protocol/types/schemaV5.d.ts +1 -1
  101. package/lib/protocol/types/schemaV5Addendum.d.ts +2 -2
  102. package/lib/protocol/types/schemaV6/command/gantry.d.ts +2 -2
  103. package/lib/protocol/types/schemaV6/command/index.d.ts +3 -3
  104. package/lib/protocol/types/schemaV6/command/module.d.ts +2 -2
  105. package/lib/protocol/types/schemaV6/command/pipetting.d.ts +7 -7
  106. package/lib/protocol/types/schemaV6/command/setup.d.ts +4 -4
  107. package/lib/protocol/types/schemaV6/command/timing.d.ts +3 -3
  108. package/lib/protocol/types/schemaV7/command/annotation.d.ts +2 -2
  109. package/lib/protocol/types/schemaV7/command/calibration.d.ts +2 -2
  110. package/lib/protocol/types/schemaV7/command/gantry.d.ts +2 -2
  111. package/lib/protocol/types/schemaV7/command/incidental.d.ts +2 -2
  112. package/lib/protocol/types/schemaV7/command/index.d.ts +3 -3
  113. package/lib/protocol/types/schemaV7/command/module.d.ts +2 -2
  114. package/lib/protocol/types/schemaV7/command/pipetting.d.ts +8 -8
  115. package/lib/protocol/types/schemaV7/command/setup.d.ts +5 -5
  116. package/lib/protocol/types/schemaV7/command/timing.d.ts +3 -3
  117. package/lib/protocol/types/schemaV8/index.d.ts +2 -2
  118. package/package.json +1 -1
  119. package/pipette/definitions/2/geometry/eight_channel/p10/1_0.json +4 -0
  120. package/pipette/definitions/2/geometry/eight_channel/p10/1_3.json +4 -0
  121. package/pipette/definitions/2/geometry/eight_channel/p10/1_4.json +4 -0
  122. package/pipette/definitions/2/geometry/eight_channel/p10/1_5.json +4 -0
  123. package/pipette/definitions/2/geometry/eight_channel/p10/1_6.json +4 -0
  124. package/pipette/definitions/2/geometry/eight_channel/p1000/1_0.json +4 -0
  125. package/pipette/definitions/2/geometry/eight_channel/p1000/3_0.json +4 -0
  126. package/pipette/definitions/2/geometry/eight_channel/p1000/3_3.json +4 -0
  127. package/pipette/definitions/2/geometry/eight_channel/p1000/3_4.json +4 -0
  128. package/pipette/definitions/2/geometry/eight_channel/p1000/3_5.json +4 -0
  129. package/pipette/definitions/2/geometry/eight_channel/p20/2_0.json +4 -0
  130. package/pipette/definitions/2/geometry/eight_channel/p20/2_1.json +4 -0
  131. package/pipette/definitions/2/geometry/eight_channel/p300/1_0.json +4 -0
  132. package/pipette/definitions/2/geometry/eight_channel/p300/1_3.json +4 -0
  133. package/pipette/definitions/2/geometry/eight_channel/p300/1_4.json +4 -0
  134. package/pipette/definitions/2/geometry/eight_channel/p300/1_5.json +4 -0
  135. package/pipette/definitions/2/geometry/eight_channel/p300/2_0.json +4 -0
  136. package/pipette/definitions/2/geometry/eight_channel/p300/2_1.json +4 -0
  137. package/pipette/definitions/2/geometry/eight_channel/p50/1_0.json +4 -0
  138. package/pipette/definitions/2/geometry/eight_channel/p50/1_3.json +4 -0
  139. package/pipette/definitions/2/geometry/eight_channel/p50/1_4.json +4 -0
  140. package/pipette/definitions/2/geometry/eight_channel/p50/1_5.json +4 -0
  141. package/pipette/definitions/2/geometry/eight_channel/p50/3_0.json +4 -0
  142. package/pipette/definitions/2/geometry/eight_channel/p50/3_3.json +4 -0
  143. package/pipette/definitions/2/geometry/eight_channel/p50/3_4.json +4 -0
  144. package/pipette/definitions/2/geometry/eight_channel/p50/3_5.json +4 -0
  145. package/pipette/definitions/2/geometry/ninety_six_channel/p1000/1_0.json +4 -0
  146. package/pipette/definitions/2/geometry/ninety_six_channel/p1000/3_0.json +4 -0
  147. package/pipette/definitions/2/geometry/ninety_six_channel/p1000/3_3.json +4 -0
  148. package/pipette/definitions/2/geometry/ninety_six_channel/p1000/3_4.json +4 -0
  149. package/pipette/definitions/2/geometry/ninety_six_channel/p1000/3_5.json +4 -0
  150. package/pipette/definitions/2/geometry/single_channel/p10/1_0.json +4 -0
  151. package/pipette/definitions/2/geometry/single_channel/p10/1_3.json +4 -0
  152. package/pipette/definitions/2/geometry/single_channel/p10/1_4.json +4 -0
  153. package/pipette/definitions/2/geometry/single_channel/p10/1_5.json +4 -0
  154. package/pipette/definitions/2/geometry/single_channel/p1000/1_0.json +4 -0
  155. package/pipette/definitions/2/geometry/single_channel/p1000/1_3.json +4 -0
  156. package/pipette/definitions/2/geometry/single_channel/p1000/1_4.json +4 -0
  157. package/pipette/definitions/2/geometry/single_channel/p1000/1_5.json +4 -0
  158. package/pipette/definitions/2/geometry/single_channel/p1000/2_0.json +4 -0
  159. package/pipette/definitions/2/geometry/single_channel/p1000/2_1.json +4 -0
  160. package/pipette/definitions/2/geometry/single_channel/p1000/2_2.json +4 -0
  161. package/pipette/definitions/2/geometry/single_channel/p1000/3_0.json +4 -0
  162. package/pipette/definitions/2/geometry/single_channel/p1000/3_3.json +4 -0
  163. package/pipette/definitions/2/geometry/single_channel/p1000/3_4.json +4 -0
  164. package/pipette/definitions/2/geometry/single_channel/p1000/3_5.json +4 -0
  165. package/pipette/definitions/2/geometry/single_channel/p1000/3_6.json +4 -0
  166. package/pipette/definitions/2/geometry/single_channel/p20/2_0.json +4 -0
  167. package/pipette/definitions/2/geometry/single_channel/p20/2_1.json +4 -0
  168. package/pipette/definitions/2/geometry/single_channel/p20/2_2.json +4 -0
  169. package/pipette/definitions/2/geometry/single_channel/p300/1_0.json +4 -0
  170. package/pipette/definitions/2/geometry/single_channel/p300/1_3.json +4 -0
  171. package/pipette/definitions/2/geometry/single_channel/p300/1_4.json +4 -0
  172. package/pipette/definitions/2/geometry/single_channel/p300/1_5.json +4 -0
  173. package/pipette/definitions/2/geometry/single_channel/p300/2_0.json +4 -0
  174. package/pipette/definitions/2/geometry/single_channel/p300/2_1.json +4 -0
  175. package/pipette/definitions/2/geometry/single_channel/p50/1_0.json +4 -0
  176. package/pipette/definitions/2/geometry/single_channel/p50/1_3.json +4 -0
  177. package/pipette/definitions/2/geometry/single_channel/p50/1_4.json +4 -0
  178. package/pipette/definitions/2/geometry/single_channel/p50/1_5.json +4 -0
  179. package/pipette/definitions/2/geometry/single_channel/p50/3_0.json +4 -0
  180. package/pipette/definitions/2/geometry/single_channel/p50/3_3.json +4 -0
  181. package/pipette/definitions/2/geometry/single_channel/p50/3_4.json +4 -0
  182. package/pipette/definitions/2/geometry/single_channel/p50/3_5.json +4 -0
  183. package/pipette/schemas/2/pipetteGeometrySchema.json +8 -0
  184. package/protocol/fixtures/6/multipleTipracks.json +26 -104
package/Makefile CHANGED
@@ -28,7 +28,7 @@ clean: clean-py
28
28
  .PHONY: lib-js
29
29
  lib-js: export NODE_ENV := production
30
30
  lib-js:
31
- yarn webpack
31
+ NODE_OPTIONS=--openssl-legacy-provider yarn webpack
32
32
 
33
33
 
34
34
 
@@ -66,7 +66,7 @@
66
66
  "calibration/moveToMaintenancePosition": "#/definitions/MoveToMaintenancePositionCreate"
67
67
  }
68
68
  },
69
- "anyOf": [
69
+ "oneOf": [
70
70
  {
71
71
  "$ref": "#/definitions/AspirateCreate"
72
72
  },
@@ -2120,6 +2120,12 @@
2120
2120
  "description": "Whether to alternate location where tip is dropped within the addressable area. If True, this command will ignore the offset provided and alternate between dropping tips at two predetermined locations inside the specified labware well. If False, the tip will be dropped at the top center of the area.",
2121
2121
  "default": false,
2122
2122
  "type": "boolean"
2123
+ },
2124
+ "ignoreTipConfiguration": {
2125
+ "title": "Ignoretipconfiguration",
2126
+ "description": "Whether to utilize the critical point of the tip configuraiton when moving to an addressable area. If True, this command will ignore the tip configuration and use the center of the entire instrument as the critical point for movement. If False, this command will use the critical point provided by the current tip configuration.",
2127
+ "default": true,
2128
+ "type": "boolean"
2123
2129
  }
2124
2130
  },
2125
2131
  "required": ["pipetteId", "addressableAreaName"]
@@ -168,7 +168,6 @@
168
168
  "compatibleModuleTypes": [
169
169
  "temperatureModuleType",
170
170
  "heaterShakerModuleType",
171
- "thermocyclerModuleType",
172
171
  "magneticBlockType"
173
172
  ]
174
173
  },
@@ -66,7 +66,7 @@
66
66
  "calibration/moveToMaintenancePosition": "#/definitions/MoveToMaintenancePositionCreate"
67
67
  }
68
68
  },
69
- "anyOf": [
69
+ "oneOf": [
70
70
  {
71
71
  "$ref": "#/definitions/AspirateCreate"
72
72
  },
@@ -2120,6 +2120,12 @@
2120
2120
  "description": "Whether to alternate location where tip is dropped within the addressable area. If True, this command will ignore the offset provided and alternate between dropping tips at two predetermined locations inside the specified labware well. If False, the tip will be dropped at the top center of the area.",
2121
2121
  "default": false,
2122
2122
  "type": "boolean"
2123
+ },
2124
+ "ignoreTipConfiguration": {
2125
+ "title": "Ignoretipconfiguration",
2126
+ "description": "Whether to utilize the critical point of the tip configuraiton when moving to an addressable area. If True, this command will ignore the tip configuration and use the center of the entire instrument as the critical point for movement. If False, this command will use the critical point provided by the current tip configuration.",
2127
+ "default": true,
2128
+ "type": "boolean"
2123
2129
  }
2124
2130
  },
2125
2131
  "required": ["pipetteId", "addressableAreaName"]
@@ -1,6 +1,6 @@
1
1
  import type { CommonCommandRunTimeInfo, CommonCommandCreateInfo } from '.';
2
- export declare type AnnotationCreateCommand = CommentCreateCommand | CustomCreateCommand;
3
- export declare type AnnotationRunTimeCommand = CommentRunTimeCommand | CustomRunTimeCommand;
2
+ export type AnnotationCreateCommand = CommentCreateCommand | CustomCreateCommand;
3
+ export type AnnotationRunTimeCommand = CommentRunTimeCommand | CustomRunTimeCommand;
4
4
  export interface CommentCreateCommand extends CommonCommandCreateInfo {
5
5
  commandType: 'comment';
6
6
  params: CommentParams;
@@ -28,8 +28,8 @@ export interface CalibrateModuleRunTimeCommand extends CommonCommandRunTimeInfo,
28
28
  export interface MoveToMaintenancePositionRunTimeCommand extends CommonCommandRunTimeInfo, MoveToMaintenancePositionCreateCommand {
29
29
  result?: {};
30
30
  }
31
- export declare type CalibrationRunTimeCommand = CalibratePipetteRunTimeCommand | CalibrateGripperRunTimeCommand | CalibrateModuleRunTimeCommand | MoveToMaintenancePositionRunTimeCommand;
32
- export declare type CalibrationCreateCommand = CalibratePipetteCreateCommand | CalibrateGripperCreateCommand | CalibrateModuleCreateCommand | MoveToMaintenancePositionCreateCommand;
31
+ export type CalibrationRunTimeCommand = CalibratePipetteRunTimeCommand | CalibrateGripperRunTimeCommand | CalibrateModuleRunTimeCommand | MoveToMaintenancePositionRunTimeCommand;
32
+ export type CalibrationCreateCommand = CalibratePipetteCreateCommand | CalibrateGripperCreateCommand | CalibrateModuleCreateCommand | MoveToMaintenancePositionCreateCommand;
33
33
  interface CalibratePipetteParams {
34
34
  mount: PipetteMount;
35
35
  }
@@ -62,8 +62,8 @@ export interface MoveToAddressableAreaCreateCommand extends CommonCommandCreateI
62
62
  export interface MoveToAddressableAreaRunTimeCommand extends CommonCommandRunTimeInfo, MoveToAddressableAreaCreateCommand {
63
63
  result?: {};
64
64
  }
65
- export declare type GantryRunTimeCommand = HomeRunTimeCommand | MoveRelativeRunTimeCommand | MoveToAddressableAreaRunTimeCommand | MoveToCoordinatesRunTimeCommand | MoveToSlotRunTimeCommand | MoveToWellRunTimeCommand | RetractAxisRunTimeCommand | SavePositionRunTimeCommand;
66
- export declare type GantryCreateCommand = HomeCreateCommand | MoveRelativeCreateCommand | MoveToAddressableAreaCreateCommand | MoveToCoordinatesCreateCommand | MoveToSlotCreateCommand | MoveToWellCreateCommand | RetractAxisCreateCommand | SavePositionCreateCommand;
65
+ export type GantryRunTimeCommand = HomeRunTimeCommand | MoveRelativeRunTimeCommand | MoveToAddressableAreaRunTimeCommand | MoveToCoordinatesRunTimeCommand | MoveToSlotRunTimeCommand | MoveToWellRunTimeCommand | RetractAxisRunTimeCommand | SavePositionRunTimeCommand;
66
+ export type GantryCreateCommand = HomeCreateCommand | MoveRelativeCreateCommand | MoveToAddressableAreaCreateCommand | MoveToCoordinatesCreateCommand | MoveToSlotCreateCommand | MoveToWellCreateCommand | RetractAxisCreateCommand | SavePositionCreateCommand;
67
67
  interface MoveToSlotParams {
68
68
  pipetteId: string;
69
69
  slotName: string;
@@ -1,7 +1,7 @@
1
1
  import type { CommonCommandRunTimeInfo, CommonCommandCreateInfo } from '.';
2
2
  import type { StatusBarAnimation } from '../../js/types';
3
- export declare type IncidentalCreateCommand = SetStatusBarCreateCommand;
4
- export declare type IncidentalRunTimeCommand = SetStatusBarRunTimeCommand;
3
+ export type IncidentalCreateCommand = SetStatusBarCreateCommand;
4
+ export type IncidentalRunTimeCommand = SetStatusBarRunTimeCommand;
5
5
  export interface SetStatusBarCreateCommand extends CommonCommandCreateInfo {
6
6
  commandType: 'setStatusBar';
7
7
  params: SetStatusBarParams;
@@ -14,7 +14,7 @@ export * from './module';
14
14
  export * from './pipetting';
15
15
  export * from './setup';
16
16
  export * from './timing';
17
- export declare type CommandStatus = 'queued' | 'running' | 'succeeded' | 'failed';
17
+ export type CommandStatus = 'queued' | 'running' | 'succeeded' | 'failed';
18
18
  export interface CommonCommandRunTimeInfo {
19
19
  key?: string;
20
20
  id: string;
@@ -31,8 +31,8 @@ export interface CommonCommandCreateInfo {
31
31
  [key: string]: any;
32
32
  };
33
33
  }
34
- export declare type CreateCommand = PipettingCreateCommand | GantryCreateCommand | ModuleCreateCommand | SetupCreateCommand | TimingCreateCommand | CalibrationCreateCommand | AnnotationCreateCommand | IncidentalCreateCommand;
35
- export declare type RunTimeCommand = PipettingRunTimeCommand | GantryRunTimeCommand | ModuleRunTimeCommand | SetupRunTimeCommand | TimingRunTimeCommand | CalibrationRunTimeCommand | AnnotationRunTimeCommand | IncidentalRunTimeCommand;
34
+ export type CreateCommand = PipettingCreateCommand | GantryCreateCommand | ModuleCreateCommand | SetupCreateCommand | TimingCreateCommand | CalibrationCreateCommand | AnnotationCreateCommand | IncidentalCreateCommand;
35
+ export type RunTimeCommand = PipettingRunTimeCommand | GantryRunTimeCommand | ModuleRunTimeCommand | SetupRunTimeCommand | TimingRunTimeCommand | CalibrationRunTimeCommand | AnnotationRunTimeCommand | IncidentalRunTimeCommand;
36
36
  interface RunCommandError {
37
37
  id: string;
38
38
  errorType: string;
@@ -1,6 +1,6 @@
1
1
  import type { CommonCommandRunTimeInfo, CommonCommandCreateInfo } from '.';
2
- export declare type ModuleRunTimeCommand = MagneticModuleEngageMagnetRunTimeCommand | MagneticModuleDisengageRunTimeCommand | TemperatureModuleSetTargetTemperatureRunTimeCommand | TemperatureModuleDeactivateRunTimeCommand | TemperatureModuleAwaitTemperatureRunTimeCommand | TCSetTargetBlockTemperatureRunTimeCommand | TCSetTargetLidTemperatureRunTimeCommand | TCWaitForBlockTemperatureRunTimeCommand | TCWaitForLidTemperatureRunTimeCommand | TCOpenLidRunTimeCommand | TCCloseLidRunTimeCommand | TCDeactivateBlockRunTimeCommand | TCDeactivateLidRunTimeCommand | TCRunProfileRunTimeCommand | TCAwaitProfileCompleteRunTimeCommand | HeaterShakerSetTargetTemperatureRunTimeCommand | HeaterShakerWaitForTemperatureRunTimeCommand | HeaterShakerSetAndWaitForShakeSpeedRunTimeCommand | HeaterShakerOpenLatchRunTimeCommand | HeaterShakerCloseLatchRunTimeCommand | HeaterShakerDeactivateHeaterRunTimeCommand | HeaterShakerDeactivateShakerRunTimeCommand;
3
- export declare type ModuleCreateCommand = MagneticModuleEngageMagnetCreateCommand | MagneticModuleDisengageCreateCommand | TemperatureModuleSetTargetTemperatureCreateCommand | TemperatureModuleDeactivateCreateCommand | TemperatureModuleAwaitTemperatureCreateCommand | TCSetTargetBlockTemperatureCreateCommand | TCSetTargetLidTemperatureCreateCommand | TCWaitForBlockTemperatureCreateCommand | TCWaitForLidTemperatureCreateCommand | TCOpenLidCreateCommand | TCCloseLidCreateCommand | TCDeactivateBlockCreateCommand | TCDeactivateLidCreateCommand | TCRunProfileCreateCommand | TCAwaitProfileCompleteCreateCommand | HeaterShakerWaitForTemperatureCreateCommand | HeaterShakerSetAndWaitForShakeSpeedCreateCommand | HeaterShakerOpenLatchCreateCommand | HeaterShakerCloseLatchCreateCommand | HeaterShakerDeactivateHeaterCreateCommand | HeaterShakerDeactivateShakerCreateCommand | HeaterShakerSetTargetTemperatureCreateCommand;
2
+ export type ModuleRunTimeCommand = MagneticModuleEngageMagnetRunTimeCommand | MagneticModuleDisengageRunTimeCommand | TemperatureModuleSetTargetTemperatureRunTimeCommand | TemperatureModuleDeactivateRunTimeCommand | TemperatureModuleAwaitTemperatureRunTimeCommand | TCSetTargetBlockTemperatureRunTimeCommand | TCSetTargetLidTemperatureRunTimeCommand | TCWaitForBlockTemperatureRunTimeCommand | TCWaitForLidTemperatureRunTimeCommand | TCOpenLidRunTimeCommand | TCCloseLidRunTimeCommand | TCDeactivateBlockRunTimeCommand | TCDeactivateLidRunTimeCommand | TCRunProfileRunTimeCommand | TCAwaitProfileCompleteRunTimeCommand | HeaterShakerSetTargetTemperatureRunTimeCommand | HeaterShakerWaitForTemperatureRunTimeCommand | HeaterShakerSetAndWaitForShakeSpeedRunTimeCommand | HeaterShakerOpenLatchRunTimeCommand | HeaterShakerCloseLatchRunTimeCommand | HeaterShakerDeactivateHeaterRunTimeCommand | HeaterShakerDeactivateShakerRunTimeCommand;
3
+ export type ModuleCreateCommand = MagneticModuleEngageMagnetCreateCommand | MagneticModuleDisengageCreateCommand | TemperatureModuleSetTargetTemperatureCreateCommand | TemperatureModuleDeactivateCreateCommand | TemperatureModuleAwaitTemperatureCreateCommand | TCSetTargetBlockTemperatureCreateCommand | TCSetTargetLidTemperatureCreateCommand | TCWaitForBlockTemperatureCreateCommand | TCWaitForLidTemperatureCreateCommand | TCOpenLidCreateCommand | TCCloseLidCreateCommand | TCDeactivateBlockCreateCommand | TCDeactivateLidCreateCommand | TCRunProfileCreateCommand | TCAwaitProfileCompleteCreateCommand | HeaterShakerWaitForTemperatureCreateCommand | HeaterShakerSetAndWaitForShakeSpeedCreateCommand | HeaterShakerOpenLatchCreateCommand | HeaterShakerCloseLatchCreateCommand | HeaterShakerDeactivateHeaterCreateCommand | HeaterShakerDeactivateShakerCreateCommand | HeaterShakerSetTargetTemperatureCreateCommand;
4
4
  export interface MagneticModuleEngageMagnetCreateCommand extends CommonCommandCreateInfo {
5
5
  commandType: 'magneticModule/engage';
6
6
  params: EngageMagnetParams;
@@ -1,7 +1,7 @@
1
1
  import type { AddressableAreaName } from '../../deck';
2
2
  import type { CommonCommandRunTimeInfo, CommonCommandCreateInfo } from '.';
3
- export declare type PipettingRunTimeCommand = AspirateInPlaceRunTimeCommand | AspirateInPlaceRunTimeCommand | AspirateRunTimeCommand | BlowoutInPlaceRunTimeCommand | BlowoutRunTimeCommand | ConfigureForVolumeRunTimeCommand | DispenseInPlaceRunTimeCommand | DispenseRunTimeCommand | DropTipInPlaceRunTimeCommand | DropTipRunTimeCommand | GetTipPresenceRunTimeCommand | MoveToAddressableAreaForDropTipRunTimeCommand | PickUpTipRunTimeCommand | PrepareToAspirateRunTimeCommand | TouchTipRunTimeCommand | VerifyTipPresenceRunTimeCommand;
4
- export declare type PipettingCreateCommand = AspirateCreateCommand | AspirateInPlaceCreateCommand | BlowoutCreateCommand | BlowoutInPlaceCreateCommand | ConfigureForVolumeCreateCommand | DispenseCreateCommand | DispenseInPlaceCreateCommand | DropTipCreateCommand | DropTipInPlaceCreateCommand | GetTipPresenceCreateCommand | MoveToAddressableAreaForDropTipCreateCommand | PickUpTipCreateCommand | PrepareToAspirateCreateCommand | TouchTipCreateCommand | VerifyTipPresenceCreateCommand;
3
+ export type PipettingRunTimeCommand = AspirateInPlaceRunTimeCommand | AspirateInPlaceRunTimeCommand | AspirateRunTimeCommand | BlowoutInPlaceRunTimeCommand | BlowoutRunTimeCommand | ConfigureForVolumeRunTimeCommand | DispenseInPlaceRunTimeCommand | DispenseRunTimeCommand | DropTipInPlaceRunTimeCommand | DropTipRunTimeCommand | GetTipPresenceRunTimeCommand | MoveToAddressableAreaForDropTipRunTimeCommand | PickUpTipRunTimeCommand | PrepareToAspirateRunTimeCommand | TouchTipRunTimeCommand | VerifyTipPresenceRunTimeCommand;
4
+ export type PipettingCreateCommand = AspirateCreateCommand | AspirateInPlaceCreateCommand | BlowoutCreateCommand | BlowoutInPlaceCreateCommand | ConfigureForVolumeCreateCommand | DispenseCreateCommand | DispenseInPlaceCreateCommand | DropTipCreateCommand | DropTipInPlaceCreateCommand | GetTipPresenceCreateCommand | MoveToAddressableAreaForDropTipCreateCommand | PickUpTipCreateCommand | PrepareToAspirateCreateCommand | TouchTipCreateCommand | VerifyTipPresenceCreateCommand;
5
5
  export interface ConfigureForVolumeCreateCommand extends CommonCommandCreateInfo {
6
6
  commandType: 'configureForVolume';
7
7
  params: ConfigureForVolumeParams;
@@ -27,7 +27,7 @@ export interface AspirateInPlaceCreateCommand extends CommonCommandCreateInfo {
27
27
  export interface AspirateInPlaceRunTimeCommand extends CommonCommandRunTimeInfo, AspirateInPlaceCreateCommand {
28
28
  result?: BasicLiquidHandlingResult;
29
29
  }
30
- export declare type DispenseParams = AspDispAirgapParams & {
30
+ export type DispenseParams = AspDispAirgapParams & {
31
31
  pushOut?: number;
32
32
  };
33
33
  export interface DispenseCreateCommand extends CommonCommandCreateInfo {
@@ -114,10 +114,10 @@ export interface VerifyTipPresenceCreateCommand extends CommonCommandCreateInfo
114
114
  export interface VerifyTipPresenceRunTimeCommand extends CommonCommandRunTimeInfo, VerifyTipPresenceCreateCommand {
115
115
  result?: any;
116
116
  }
117
- export declare type AspDispAirgapParams = FlowRateParams & PipetteAccessParams & VolumeParams & WellLocationParam;
118
- export declare type BlowoutParams = FlowRateParams & PipetteAccessParams & WellLocationParam;
119
- export declare type TouchTipParams = PipetteAccessParams & WellLocationParam;
120
- export declare type DropTipParams = PipetteAccessParams & {
117
+ export type AspDispAirgapParams = FlowRateParams & PipetteAccessParams & VolumeParams & WellLocationParam;
118
+ export type BlowoutParams = FlowRateParams & PipetteAccessParams & WellLocationParam;
119
+ export type TouchTipParams = PipetteAccessParams & WellLocationParam;
120
+ export type DropTipParams = PipetteAccessParams & {
121
121
  wellLocation?: {
122
122
  origin?: 'default' | 'top' | 'center' | 'bottom';
123
123
  offset?: {
@@ -127,7 +127,7 @@ export declare type DropTipParams = PipetteAccessParams & {
127
127
  };
128
128
  };
129
129
  };
130
- export declare type PickUpTipParams = TouchTipParams;
130
+ export type PickUpTipParams = TouchTipParams;
131
131
  interface AddressableOffsetVector {
132
132
  x: number;
133
133
  y: number;
@@ -47,9 +47,9 @@ export interface ConfigureNozzleLayoutCreateCommand extends CommonCommandCreateI
47
47
  export interface ConfigureNozzleLayoutRunTimeCommand extends CommonCommandRunTimeInfo, ConfigureNozzleLayoutCreateCommand {
48
48
  result?: {};
49
49
  }
50
- export declare type SetupRunTimeCommand = ConfigureNozzleLayoutRunTimeCommand | LoadPipetteRunTimeCommand | LoadLabwareRunTimeCommand | LoadModuleRunTimeCommand | LoadLiquidRunTimeCommand | MoveLabwareRunTimeCommand;
51
- export declare type SetupCreateCommand = ConfigureNozzleLayoutCreateCommand | LoadPipetteCreateCommand | LoadLabwareCreateCommand | LoadModuleCreateCommand | LoadLiquidCreateCommand | MoveLabwareCreateCommand;
52
- export declare type LabwareLocation = 'offDeck' | {
50
+ export type SetupRunTimeCommand = ConfigureNozzleLayoutRunTimeCommand | LoadPipetteRunTimeCommand | LoadLabwareRunTimeCommand | LoadModuleRunTimeCommand | LoadLiquidRunTimeCommand | MoveLabwareRunTimeCommand;
51
+ export type SetupCreateCommand = ConfigureNozzleLayoutCreateCommand | LoadPipetteCreateCommand | LoadLabwareCreateCommand | LoadModuleCreateCommand | LoadLiquidCreateCommand | MoveLabwareCreateCommand;
52
+ export type LabwareLocation = 'offDeck' | {
53
53
  slotName: string;
54
54
  } | {
55
55
  moduleId: string;
@@ -58,7 +58,7 @@ export declare type LabwareLocation = 'offDeck' | {
58
58
  } | {
59
59
  addressableAreaName: AddressableAreaName;
60
60
  };
61
- export declare type NonStackedLocation = 'offDeck' | {
61
+ export type NonStackedLocation = 'offDeck' | {
62
62
  slotName: string;
63
63
  } | {
64
64
  moduleId: string;
@@ -89,7 +89,7 @@ interface LoadLabwareResult {
89
89
  definition: LabwareDefinition2;
90
90
  offset: LabwareOffset;
91
91
  }
92
- export declare type LabwareMovementStrategy = 'usingGripper' | 'manualMoveWithPause' | 'manualMoveWithoutPause';
92
+ export type LabwareMovementStrategy = 'usingGripper' | 'manualMoveWithPause' | 'manualMoveWithoutPause';
93
93
  export interface MoveLabwareParams {
94
94
  labwareId: string;
95
95
  newLocation: LabwareLocation;
@@ -121,7 +121,7 @@ declare const SINGLE = "SINGLE";
121
121
  declare const ROW = "ROW";
122
122
  declare const QUADRANT = "QUADRANT";
123
123
  export declare const ALL = "ALL";
124
- export declare type NozzleConfigurationStyle = typeof COLUMN | typeof SINGLE | typeof ROW | typeof QUADRANT | typeof ALL;
124
+ export type NozzleConfigurationStyle = typeof COLUMN | typeof SINGLE | typeof ROW | typeof QUADRANT | typeof ALL;
125
125
  interface NozzleConfigurationParams {
126
126
  primaryNozzle?: string;
127
127
  style: NozzleConfigurationStyle;
@@ -1,6 +1,6 @@
1
1
  import type { CommonCommandRunTimeInfo, CommonCommandCreateInfo } from '.';
2
- export declare type TimingCreateCommand = WaitForResumeCreateCommand | WaitForDurationCreateCommand | DeprecatedDelayCreateCommand;
3
- export declare type TimingRunTimeCommand = WaitForResumeRunTimeCommand | WaitForDurationRunTimeCommand | DeprecatedDelayRunTimeCommand;
2
+ export type TimingCreateCommand = WaitForResumeCreateCommand | WaitForDurationCreateCommand | DeprecatedDelayCreateCommand;
3
+ export type TimingRunTimeCommand = WaitForResumeRunTimeCommand | WaitForDurationRunTimeCommand | DeprecatedDelayRunTimeCommand;
4
4
  export interface WaitForResumeCreateCommand extends CommonCommandCreateInfo {
5
5
  commandType: 'waitForResume' | 'pause';
6
6
  params: WaitForResumeParams;
@@ -29,7 +29,7 @@ export interface DeprecatedDelayCreateCommand extends CommonCommandCreateInfo {
29
29
  export interface DeprecatedDelayRunTimeCommand extends CommonCommandRunTimeInfo, DeprecatedDelayCreateCommand {
30
30
  result?: {};
31
31
  }
32
- declare type DeprecatedDelayParams = {
32
+ type DeprecatedDelayParams = {
33
33
  waitForResume: true;
34
34
  message?: string;
35
35
  } | {
@@ -1,7 +1,7 @@
1
1
  interface SharedCommandAnnotationProperties {
2
2
  commandKeys: string[];
3
3
  }
4
- export declare type CustomCommandAnnotation = SharedCommandAnnotationProperties & {
4
+ export type CustomCommandAnnotation = SharedCommandAnnotationProperties & {
5
5
  [key: string]: any;
6
6
  } & {
7
7
  annotationType: 'custom';
@@ -15,5 +15,5 @@ export interface SecondOrderCommandAnnotation extends SharedCommandAnnotationPro
15
15
  userSpecifiedName?: string;
16
16
  userSpecifiedDescription?: string;
17
17
  }
18
- export declare type CommandAnnotation = SecondOrderCommandAnnotation | CustomCommandAnnotation;
18
+ export type CommandAnnotation = SecondOrderCommandAnnotation | CustomCommandAnnotation;
19
19
  export {};
@@ -168,7 +168,6 @@
168
168
  "compatibleModuleTypes": [
169
169
  "temperatureModuleType",
170
170
  "heaterShakerModuleType",
171
- "thermocyclerModuleType",
172
171
  "magneticBlockType"
173
172
  ]
174
173
  },
@@ -1,12 +1,12 @@
1
- export declare type FlexAddressableAreaName = 'D1' | 'D2' | 'D3' | 'C1' | 'C2' | 'C3' | 'B1' | 'B2' | 'B3' | 'A1' | 'A2' | 'A3' | 'A4' | 'B4' | 'C4' | 'D4' | 'movableTrashA1' | 'movableTrashA3' | 'movableTrashB1' | 'movableTrashB3' | 'movableTrashC1' | 'movableTrashC3' | 'movableTrashD1' | 'movableTrashD3' | '1ChannelWasteChute' | '8ChannelWasteChute' | '96ChannelWasteChute' | 'gripperWasteChute';
2
- export declare type OT2AddressableAreaName = '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | 'fixedTrash';
3
- export declare type AddressableAreaName = FlexAddressableAreaName | OT2AddressableAreaName;
4
- export declare type CutoutId = 'cutoutD1' | 'cutoutD2' | 'cutoutD3' | 'cutoutC1' | 'cutoutC2' | 'cutoutC3' | 'cutoutB1' | 'cutoutB2' | 'cutoutB3' | 'cutoutA1' | 'cutoutA2' | 'cutoutA3';
5
- export declare type OT2CutoutId = 'cutout1' | 'cutout2' | 'cutout3' | 'cutout4' | 'cutout5' | 'cutout6' | 'cutout7' | 'cutout8' | 'cutout9' | 'cutout10' | 'cutout11' | 'cutout12';
6
- export declare type SingleSlotCutoutFixtureId = 'singleLeftSlot' | 'singleCenterSlot' | 'singleRightSlot';
7
- export declare type StagingAreaRightSlotFixtureId = 'stagingAreaRightSlot';
8
- export declare type TrashBinAdapterCutoutFixtureId = 'trashBinAdapter';
9
- export declare type WasteChuteCutoutFixtureId = 'wasteChuteRightAdapterCovered' | 'wasteChuteRightAdapterNoCover' | 'stagingAreaSlotWithWasteChuteRightAdapterCovered' | 'stagingAreaSlotWithWasteChuteRightAdapterNoCover';
10
- export declare type OT2SingleStandardSlot = 'singleStandardSlot';
11
- export declare type OT2FixedTrashSlot = 'fixedTrashSlot';
12
- export declare type CutoutFixtureId = SingleSlotCutoutFixtureId | StagingAreaRightSlotFixtureId | TrashBinAdapterCutoutFixtureId | WasteChuteCutoutFixtureId | OT2SingleStandardSlot | OT2FixedTrashSlot;
1
+ export type FlexAddressableAreaName = 'D1' | 'D2' | 'D3' | 'C1' | 'C2' | 'C3' | 'B1' | 'B2' | 'B3' | 'A1' | 'A2' | 'A3' | 'A4' | 'B4' | 'C4' | 'D4' | 'movableTrashA1' | 'movableTrashA3' | 'movableTrashB1' | 'movableTrashB3' | 'movableTrashC1' | 'movableTrashC3' | 'movableTrashD1' | 'movableTrashD3' | '1ChannelWasteChute' | '8ChannelWasteChute' | '96ChannelWasteChute' | 'gripperWasteChute';
2
+ export type OT2AddressableAreaName = '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | 'fixedTrash';
3
+ export type AddressableAreaName = FlexAddressableAreaName | OT2AddressableAreaName;
4
+ export type CutoutId = 'cutoutD1' | 'cutoutD2' | 'cutoutD3' | 'cutoutC1' | 'cutoutC2' | 'cutoutC3' | 'cutoutB1' | 'cutoutB2' | 'cutoutB3' | 'cutoutA1' | 'cutoutA2' | 'cutoutA3';
5
+ export type OT2CutoutId = 'cutout1' | 'cutout2' | 'cutout3' | 'cutout4' | 'cutout5' | 'cutout6' | 'cutout7' | 'cutout8' | 'cutout9' | 'cutout10' | 'cutout11' | 'cutout12';
6
+ export type SingleSlotCutoutFixtureId = 'singleLeftSlot' | 'singleCenterSlot' | 'singleRightSlot';
7
+ export type StagingAreaRightSlotFixtureId = 'stagingAreaRightSlot';
8
+ export type TrashBinAdapterCutoutFixtureId = 'trashBinAdapter';
9
+ export type WasteChuteCutoutFixtureId = 'wasteChuteRightAdapterCovered' | 'wasteChuteRightAdapterNoCover' | 'stagingAreaSlotWithWasteChuteRightAdapterCovered' | 'stagingAreaSlotWithWasteChuteRightAdapterNoCover';
10
+ export type OT2SingleStandardSlot = 'singleStandardSlot';
11
+ export type OT2FixedTrashSlot = 'fixedTrashSlot';
12
+ export type CutoutFixtureId = SingleSlotCutoutFixtureId | StagingAreaRightSlotFixtureId | TrashBinAdapterCutoutFixtureId | WasteChuteCutoutFixtureId | OT2SingleStandardSlot | OT2FixedTrashSlot;
@@ -24,7 +24,7 @@ export declare const MAGNETIC_BLOCK_V1: 'magneticBlockV1';
24
24
  export declare const GRIPPER_V1: 'gripperV1';
25
25
  export declare const GRIPPER_V1_1: 'gripperV1.1';
26
26
  export declare const GRIPPER_V1_2: 'gripperV1.2';
27
- export declare const GRIPPER_MODELS: import("./types").GripperModel[];
27
+ export declare const GRIPPER_MODELS: ("gripperV1" | "gripperV1.1" | "gripperV1.2")[];
28
28
  export declare const FLEX_DISPLAY_NAME: 'Opentrons Flex';
29
29
  export declare const FLEX: 'FLEX';
30
30
  export declare const GEN2: 'GEN2';
@@ -38,15 +38,15 @@ export declare const MAGNETIC_MODULE_TYPE: 'magneticModuleType';
38
38
  export declare const THERMOCYCLER_MODULE_TYPE: 'thermocyclerModuleType';
39
39
  export declare const HEATERSHAKER_MODULE_TYPE: 'heaterShakerModuleType';
40
40
  export declare const MAGNETIC_BLOCK_TYPE: 'magneticBlockType';
41
- export declare const MAGNETIC_MODULE_MODELS: import("./types").MagneticModuleModel[];
41
+ export declare const MAGNETIC_MODULE_MODELS: ("magneticModuleV1" | "magneticModuleV2")[];
42
42
  export declare const NON_CONNECTING_MODULE_TYPES: ModuleType[];
43
- export declare const TEMPERATURE_MODULE_MODELS: import("./types").TemperatureModuleModel[];
44
- export declare const THERMOCYCLER_MODULE_MODELS: import("./types").ThermocyclerModuleModel[];
43
+ export declare const TEMPERATURE_MODULE_MODELS: ("temperatureModuleV1" | "temperatureModuleV2")[];
44
+ export declare const THERMOCYCLER_MODULE_MODELS: ("thermocyclerModuleV1" | "thermocyclerModuleV2")[];
45
45
  export declare const HEATERSHAKER_MODULE_MODELS: "heaterShakerModuleV1"[];
46
46
  export declare const MAGNETIC_BLOCK_MODELS: "magneticBlockV1"[];
47
- export declare const MODULE_MODELS: import("./types").ModuleModel[];
47
+ export declare const MODULE_MODELS: ("magneticModuleV1" | "magneticModuleV2" | "temperatureModuleV1" | "temperatureModuleV2" | "thermocyclerModuleV1" | "thermocyclerModuleV2" | "heaterShakerModuleV1" | "magneticBlockV1")[];
48
48
  export declare const MODULE_MODELS_OT2_ONLY: ("magneticModuleV1" | "magneticModuleV2" | "temperatureModuleV1" | "thermocyclerModuleV1")[];
49
- export declare const MODULE_TYPES: ModuleType[];
49
+ export declare const MODULE_TYPES: ("magneticModuleType" | "temperatureModuleType" | "thermocyclerModuleType" | "heaterShakerModuleType" | "magneticBlockType")[];
50
50
  export declare const GEN_ONE_MULTI_PIPETTES: string[];
51
51
  export declare const IDENTITY_VECTOR: {
52
52
  x: number;
@@ -1,6 +1,6 @@
1
1
  import errorDefinitions from '../errors/definitions/1/errors.json';
2
- export declare type ErrorCodes = keyof typeof errorDefinitions.codes;
3
- export declare type ErrorCategories = keyof typeof errorDefinitions.categories;
2
+ export type ErrorCodes = keyof typeof errorDefinitions.codes;
3
+ export type ErrorCategories = keyof typeof errorDefinitions.categories;
4
4
  export interface ErrorCategory {
5
5
  detail: string;
6
6
  codePrefix: string;
@@ -7,6 +7,9 @@ export declare const OT2_CUTOUT_BY_SLOT_ID: {
7
7
  export declare const FLEX_CUTOUT_BY_SLOT_ID: {
8
8
  [slotId: string]: CutoutId;
9
9
  };
10
+ export declare const FLEX_SINGLE_SLOT_BY_CUTOUT_ID: {
11
+ [CutoutId: string]: string;
12
+ };
10
13
  export declare function getPositionFromSlotId(slotId: string, deckDef: DeckDefinition): CoordinateTuple | null;
11
14
  export declare function getAddressableAreaFromSlotId(slotId: string, deckDef: DeckDefinition): AddressableArea | null;
12
15
  export declare function getFixtureDisplayName(cutoutFixtureId: CutoutFixtureId | null): string;
@@ -10,7 +10,7 @@ export interface ModuleVizDims {
10
10
  childYDimension: number;
11
11
  }
12
12
  export declare const getModuleVizDims: (orientation: ModuleOrientation, moduleType: ModuleType) => ModuleVizDims;
13
- declare type DeckSlot = string;
13
+ type DeckSlot = string;
14
14
  export declare const inferModuleOrientationFromSlot: (slot: DeckSlot) => ModuleOrientation;
15
15
  export declare const inferModuleOrientationFromXCoordinate: (xCoordinate: number) => ModuleOrientation;
16
16
  export {};
@@ -35,9 +35,9 @@ export declare function splitWellsOnColumn(sortedArray: string[]): string[][];
35
35
  export declare const getWellDepth: (labwareDef: LabwareDefinition2, well: string) => number;
36
36
  export declare const getWellsDepth: (labwareDef: LabwareDefinition2, wells: string[]) => number;
37
37
  export declare const getSlotHasMatingSurfaceUnitVector: (deckDef: DeckDefinition, addressableAreaName: string) => boolean;
38
- export declare const getAreSlotsHorizontallyAdjacent: (slotNameA?: string | null | undefined, slotNameB?: string | null | undefined) => boolean;
39
- export declare const getAreSlotsVerticallyAdjacent: (slotNameA?: string | null | undefined, slotNameB?: string | null | undefined) => boolean;
40
- export declare const getAreSlotsAdjacent: (slotNameA?: string | null | undefined, slotNameB?: string | null | undefined) => boolean;
38
+ export declare const getAreSlotsHorizontallyAdjacent: (slotNameA?: string | null, slotNameB?: string | null) => boolean;
39
+ export declare const getAreSlotsVerticallyAdjacent: (slotNameA?: string | null, slotNameB?: string | null) => boolean;
40
+ export declare const getAreSlotsAdjacent: (slotNameA?: string | null, slotNameB?: string | null) => boolean;
41
41
  export declare const getIsLabwareAboveHeight: (labwareDef: LabwareDefinition2, height: number) => boolean;
42
42
  export declare const getAdapterName: (labwareLoadname: string) => ThermalAdapterName;
43
43
  export declare const getCalibrationAdapterLoadName: (moduleModel: ModuleModel) => string | null;
@@ -1,2 +1,2 @@
1
- export declare type WellOrderOption = 'l2r' | 'r2l' | 't2b' | 'b2t';
1
+ export type WellOrderOption = 'l2r' | 'r2l' | 't2b' | 'b2t';
2
2
  export declare const orderWells: (defaultOrdering: string[][], first: WellOrderOption, second: WellOrderOption) => string[];
@@ -1,16 +1,16 @@
1
1
  import type { ErrorObject } from 'ajv';
2
2
  import type { JsonProtocolFile } from '../../protocol';
3
- export declare type ProtocolParseErrorKey = 'INVALID_FILE_TYPE' | 'INVALID_JSON_FILE';
3
+ export type ProtocolParseErrorKey = 'INVALID_FILE_TYPE' | 'INVALID_JSON_FILE';
4
4
  interface ProtocolParseErrorDetails {
5
- rawError?: string;
5
+ rawError?: unknown;
6
6
  schemaErrors?: ErrorObject[] | null;
7
7
  }
8
- export declare type ProtocolParseErrorHandler = (errorKey: ProtocolParseErrorKey, errorDetails?: ProtocolParseErrorDetails) => unknown;
8
+ export type ProtocolParseErrorHandler = (errorKey: ProtocolParseErrorKey, errorDetails?: ProtocolParseErrorDetails) => unknown;
9
9
  export interface PythonProtocolMetadata {
10
10
  source?: string;
11
11
  [key: string]: unknown;
12
12
  }
13
- export declare type ProtocolData = JsonProtocolFile | {
13
+ export type ProtocolData = JsonProtocolFile | {
14
14
  metadata: PythonProtocolMetadata;
15
15
  };
16
16
  export declare function parseProtocolData(file: File, contents: string, handleError?: ProtocolParseErrorHandler, metadata?: PythonProtocolMetadata | null): ProtocolData | null;
@@ -1,5 +1,5 @@
1
1
  import type { LabwareDefinition2, PipetteNameSpecs } from '../types';
2
- declare type WellSetByPrimaryWell = string[][];
2
+ type WellSetByPrimaryWell = string[][];
3
3
  export interface WellSetHelpers {
4
4
  getAllWellSetsForLabware: (labwareDef: LabwareDefinition2) => WellSetByPrimaryWell;
5
5
  getWellSetForMultichannel: (labwareDef: LabwareDefinition2, well: string, channels: 8 | 96) => string[] | null | undefined;
@@ -10,8 +10,8 @@ interface GridStart {
10
10
  rowStride: number;
11
11
  colStride: number;
12
12
  }
13
- declare type InputParams = Omit<Params, 'loadName'>;
14
- declare type InputWellGroup = Omit<WellGroup, 'wells'>;
13
+ type InputParams = Omit<Params, 'loadName'>;
14
+ type InputWellGroup = Omit<WellGroup, 'wells'>;
15
15
  export interface BaseLabwareProps {
16
16
  metadata: Metadata;
17
17
  parameters: InputParams;
@@ -1,9 +1,9 @@
1
1
  import pipetteNameSpecs from '../pipette/definitions/1/pipetteNameSpecs.json';
2
2
  import pipetteModelSpecs from '../pipette/definitions/1/pipetteModelSpecs.json';
3
3
  import type { PipetteNameSpecs, PipetteModelSpecs } from './types';
4
- declare type SortableProps = 'maxVolume' | 'channels';
5
- export declare type PipetteName = keyof typeof pipetteNameSpecs;
6
- export declare type PipetteModel = keyof typeof pipetteModelSpecs.config;
4
+ type SortableProps = 'maxVolume' | 'channels';
5
+ export type PipetteName = keyof typeof pipetteNameSpecs;
6
+ export type PipetteModel = keyof typeof pipetteModelSpecs.config;
7
7
  export declare function getPipetteNameSpecs(name: PipetteName): PipetteNameSpecs | null;
8
8
  export declare function getPipetteModelSpecs(model: PipetteModel): PipetteModelSpecs | null | undefined;
9
9
  export declare function getAllPipetteNames(...sortBy: SortableProps[]): PipetteName[];
package/lib/js/types.d.ts CHANGED
@@ -2,7 +2,7 @@ import { MAGDECK, TEMPDECK, THERMOCYCLER, MAGNETIC_MODULE_V1, MAGNETIC_MODULE_V2
2
2
  import type { RunTimeCommand, LabwareLocation } from '../command/types';
3
3
  import type { AddressableAreaName, CutoutFixtureId, CutoutId } from '../deck';
4
4
  import type { PipetteName } from './pipettes';
5
- export declare type RobotType = 'OT-2 Standard' | 'OT-3 Standard';
5
+ export type RobotType = 'OT-2 Standard' | 'OT-3 Standard';
6
6
  export interface RobotDefinition {
7
7
  displayName: string;
8
8
  robotType: RobotType;
@@ -35,9 +35,9 @@ export interface LabwareDefinition1 {
35
35
  [well: string]: WellDefinition;
36
36
  };
37
37
  }
38
- export declare type LabwareDisplayCategory = 'wellPlate' | 'tipRack' | 'tubeRack' | 'reservoir' | 'aluminumBlock' | 'trash' | 'other' | 'adapter';
39
- export declare type LabwareVolumeUnits = 'µL' | 'mL' | 'L';
40
- export declare type WellBottomShape = 'flat' | 'u' | 'v';
38
+ export type LabwareDisplayCategory = 'wellPlate' | 'tipRack' | 'tubeRack' | 'reservoir' | 'aluminumBlock' | 'trash' | 'other' | 'adapter';
39
+ export type LabwareVolumeUnits = 'µL' | 'mL' | 'L';
40
+ export type WellBottomShape = 'flat' | 'u' | 'v';
41
41
  export interface LabwareMetadata {
42
42
  displayName: string;
43
43
  displayCategory: LabwareDisplayCategory;
@@ -54,7 +54,7 @@ export interface Coordinates {
54
54
  y: number;
55
55
  z: number;
56
56
  }
57
- export declare type LabwareOffset = Coordinates;
57
+ export type LabwareOffset = Coordinates;
58
58
  export interface LabwareParameters {
59
59
  loadName: string;
60
60
  format: string;
@@ -78,17 +78,17 @@ export interface RectangularWellShapeProperties {
78
78
  xDimension: number;
79
79
  yDimension: number;
80
80
  }
81
- export declare type LabwareWellShapeProperties = CircularWellShapeProperties | RectangularWellShapeProperties;
82
- export declare type LabwareWellProperties = LabwareWellShapeProperties & {
81
+ export type LabwareWellShapeProperties = CircularWellShapeProperties | RectangularWellShapeProperties;
82
+ export type LabwareWellProperties = LabwareWellShapeProperties & {
83
83
  depth: number;
84
84
  totalLiquidVolume: number;
85
85
  };
86
- export declare type LabwareWell = LabwareWellProperties & {
86
+ export type LabwareWell = LabwareWellProperties & {
87
87
  x: number;
88
88
  y: number;
89
89
  z: number;
90
90
  };
91
- export declare type LabwareWellMap = Record<string, LabwareWell>;
91
+ export type LabwareWellMap = Record<string, LabwareWell>;
92
92
  export interface LabwareWellGroupMetadata {
93
93
  displayName?: string;
94
94
  displayCategory?: LabwareDisplayCategory;
@@ -99,7 +99,7 @@ export interface LabwareWellGroup {
99
99
  metadata: LabwareWellGroupMetadata;
100
100
  brand?: LabwareBrand;
101
101
  }
102
- export declare type LabwareRoles = 'labware' | 'adapter' | 'fixture' | 'maintenance';
102
+ export type LabwareRoles = 'labware' | 'adapter' | 'fixture' | 'maintenance';
103
103
  export interface LabwareDefinition2 {
104
104
  version: number;
105
105
  schemaVersion: 2;
@@ -114,15 +114,15 @@ export interface LabwareDefinition2 {
114
114
  groups: LabwareWellGroup[];
115
115
  allowedRoles?: LabwareRoles[];
116
116
  }
117
- export declare type ModuleType = typeof MAGNETIC_MODULE_TYPE | typeof TEMPERATURE_MODULE_TYPE | typeof THERMOCYCLER_MODULE_TYPE | typeof HEATERSHAKER_MODULE_TYPE | typeof MAGNETIC_BLOCK_TYPE;
118
- export declare type MagneticModuleModel = typeof MAGNETIC_MODULE_V1 | typeof MAGNETIC_MODULE_V2;
119
- export declare type TemperatureModuleModel = typeof TEMPERATURE_MODULE_V1 | typeof TEMPERATURE_MODULE_V2;
120
- export declare type ThermocyclerModuleModel = typeof THERMOCYCLER_MODULE_V1 | typeof THERMOCYCLER_MODULE_V2;
121
- export declare type HeaterShakerModuleModel = typeof HEATERSHAKER_MODULE_V1;
122
- export declare type MagneticBlockModel = typeof MAGNETIC_BLOCK_V1;
123
- export declare type ModuleModel = MagneticModuleModel | TemperatureModuleModel | ThermocyclerModuleModel | HeaterShakerModuleModel | MagneticBlockModel;
124
- export declare type GripperModel = typeof GRIPPER_V1 | typeof GRIPPER_V1_1 | typeof GRIPPER_V1_2;
125
- export declare type ModuleModelWithLegacy = ModuleModel | typeof THERMOCYCLER | typeof MAGDECK | typeof TEMPDECK;
117
+ export type ModuleType = typeof MAGNETIC_MODULE_TYPE | typeof TEMPERATURE_MODULE_TYPE | typeof THERMOCYCLER_MODULE_TYPE | typeof HEATERSHAKER_MODULE_TYPE | typeof MAGNETIC_BLOCK_TYPE;
118
+ export type MagneticModuleModel = typeof MAGNETIC_MODULE_V1 | typeof MAGNETIC_MODULE_V2;
119
+ export type TemperatureModuleModel = typeof TEMPERATURE_MODULE_V1 | typeof TEMPERATURE_MODULE_V2;
120
+ export type ThermocyclerModuleModel = typeof THERMOCYCLER_MODULE_V1 | typeof THERMOCYCLER_MODULE_V2;
121
+ export type HeaterShakerModuleModel = typeof HEATERSHAKER_MODULE_V1;
122
+ export type MagneticBlockModel = typeof MAGNETIC_BLOCK_V1;
123
+ export type ModuleModel = MagneticModuleModel | TemperatureModuleModel | ThermocyclerModuleModel | HeaterShakerModuleModel | MagneticBlockModel;
124
+ export type GripperModel = typeof GRIPPER_V1 | typeof GRIPPER_V1_1 | typeof GRIPPER_V1_2;
125
+ export type ModuleModelWithLegacy = ModuleModel | typeof THERMOCYCLER | typeof MAGDECK | typeof TEMPDECK;
126
126
  export interface Dimensions {
127
127
  xDimension: number;
128
128
  yDimension: number;
@@ -131,10 +131,10 @@ export interface Dimensions {
131
131
  export interface DeckRobot {
132
132
  model: RobotType;
133
133
  }
134
- export declare type CoordinateTuple = [number, number, number];
135
- export declare type UnitDirection = 1 | -1;
136
- export declare type UnitVectorTuple = [UnitDirection, UnitDirection, UnitDirection];
137
- export declare type DeckSlotId = string;
134
+ export type CoordinateTuple = [number, number, number];
135
+ export type UnitDirection = 1 | -1;
136
+ export type UnitVectorTuple = [UnitDirection, UnitDirection, UnitDirection];
137
+ export type DeckSlotId = string;
138
138
  export interface DeckSlot {
139
139
  id: DeckSlotId;
140
140
  position: CoordinateTuple;
@@ -155,7 +155,7 @@ export interface CutoutFixture {
155
155
  providesAddressableAreas: Record<CutoutId, AddressableAreaName[]>;
156
156
  height: number;
157
157
  }
158
- declare type AreaType = 'slot' | 'movableTrash' | 'wasteChute' | 'fixedTrash' | 'stagingSlot';
158
+ type AreaType = 'slot' | 'movableTrash' | 'wasteChute' | 'fixedTrash' | 'stagingSlot';
159
159
  export interface AddressableArea {
160
160
  id: AddressableAreaName;
161
161
  areaType: AreaType;
@@ -230,7 +230,7 @@ export interface ModuleDefinition {
230
230
  compatibleWith: ModuleModel[];
231
231
  twoDimensionalRendering: any;
232
232
  }
233
- export declare type AffineTransformMatrix = number[][];
233
+ export type AffineTransformMatrix = number[][];
234
234
  export interface SlotTransforms {
235
235
  [deckOtId: string]: {
236
236
  [slotId: string]: {
@@ -238,11 +238,11 @@ export interface SlotTransforms {
238
238
  };
239
239
  };
240
240
  }
241
- export declare type ModuleOrientation = 'left' | 'right';
242
- export declare type PipetteChannels = 1 | 8 | 96;
243
- export declare type PipetteDisplayCategory = typeof GEN1 | typeof GEN2 | typeof FLEX;
244
- export declare type PipetteMount = typeof LEFT | typeof RIGHT;
245
- export declare type GantryMount = typeof LEFT | typeof RIGHT | typeof EXTENSION;
241
+ export type ModuleOrientation = 'left' | 'right';
242
+ export type PipetteChannels = 1 | 8 | 96;
243
+ export type PipetteDisplayCategory = typeof GEN1 | typeof GEN2 | typeof FLEX;
244
+ export type PipetteMount = typeof LEFT | typeof RIGHT;
245
+ export type GantryMount = typeof LEFT | typeof RIGHT | typeof EXTENSION;
246
246
  export interface FlowRateSpec {
247
247
  value: number;
248
248
  min: number;
@@ -353,9 +353,9 @@ export interface ProtocolResource {
353
353
  export interface ProtocolAnalysesResource {
354
354
  analyses: Array<PendingProtocolAnalysis | CompletedProtocolAnalysis>;
355
355
  }
356
- export declare type MotorAxis = 'x' | 'y' | 'leftZ' | 'rightZ' | 'leftPlunger' | 'rightPlunger' | 'extensionZ' | 'extensionJaw';
357
- export declare type MotorAxes = MotorAxis[];
358
- export declare type ThermalAdapterName = 'PCR Adapter' | 'Deep Well Adapter' | '96 Flat Bottom Adapter' | 'Universal Flat Adapter';
356
+ export type MotorAxis = 'x' | 'y' | 'leftZ' | 'rightZ' | 'leftPlunger' | 'rightPlunger' | 'extensionZ' | 'extensionJaw';
357
+ export type MotorAxes = MotorAxis[];
358
+ export type ThermalAdapterName = 'PCR Adapter' | 'Deep Well Adapter' | '96 Flat Bottom Adapter' | 'Universal Flat Adapter';
359
359
  export interface GripperDefinition {
360
360
  $otSharedSchema: string;
361
361
  model: GripperModel;
@@ -388,11 +388,11 @@ export interface GripperDefinition {
388
388
  maxAllowedGripError: number;
389
389
  };
390
390
  }
391
- export declare type StatusBarAnimation = 'idle' | 'confirm' | 'updating' | 'disco' | 'off';
392
- export declare type StatusBarAnimations = StatusBarAnimation[];
391
+ export type StatusBarAnimation = 'idle' | 'confirm' | 'updating' | 'disco' | 'off';
392
+ export type StatusBarAnimations = StatusBarAnimation[];
393
393
  export interface CutoutConfig {
394
394
  cutoutId: CutoutId;
395
395
  cutoutFixtureId: CutoutFixtureId | null;
396
396
  }
397
- export declare type DeckConfiguration = CutoutConfig[];
397
+ export type DeckConfiguration = CutoutConfig[];
398
398
  export {};