@opentrons/shared-data 0.1.7-alpha.0 → 0.1.7-alpha.1

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 (186) hide show
  1. package/command/index.ts +14 -2
  2. package/command/schemas/12.json +65 -0
  3. package/command/schemas/13.json +7207 -0
  4. package/command/types/annotation.ts +1 -1
  5. package/command/types/calibration.ts +7 -6
  6. package/command/types/gantry.ts +7 -6
  7. package/command/types/incidental.ts +1 -1
  8. package/command/types/index.ts +68 -20
  9. package/command/types/module.ts +76 -9
  10. package/command/types/pipetting.ts +9 -3
  11. package/command/types/robot.ts +98 -0
  12. package/command/types/setup.ts +3 -3
  13. package/command/types/support.ts +13 -2
  14. package/command/types/timing.ts +1 -1
  15. package/command/types/unsafe.ts +63 -1
  16. package/deck/index.ts +3 -6
  17. package/errors/definitions/1/errors.json +12 -0
  18. package/errors/index.ts +2 -1
  19. package/labware/definitions/2/agilent_1_reservoir_290ml/3.json +80 -0
  20. package/labware/definitions/2/corning_384_wellplate_112ul_flat/4.json +5116 -0
  21. package/labware/definitions/2/corning_48_wellplate_1.6ml_flat/4.json +605 -0
  22. package/labware/definitions/2/nest_1_reservoir_290ml/3.json +80 -0
  23. package/labware/definitions/2/opentrons_24_aluminumblock_nest_0.5ml_screwcap/3.json +370 -0
  24. package/labware/definitions/2/opentrons_24_tuberack_nest_0.5ml_screwcap/3.json +371 -0
  25. package/labware/definitions/2/opentrons_96_aluminumblock_generic_pcr_strip_200ul/4.json +1149 -0
  26. package/labware/definitions/2/opentrons_flex_tiprack_lid/1.json +8 -2
  27. package/labware/definitions/2/usascientific_12_reservoir_22ml/3.json +237 -0
  28. package/labware/definitions/3/schema3test_96_well_aluminum_block/999.json +1047 -0
  29. package/labware/definitions/3/schema3test_96_wellplate_200ul_pcr_full_skirt/999.json +1189 -0
  30. package/labware/definitions/3/schema3test_flex_96_tiprack_200ul/999.json +1041 -0
  31. package/labware/fixtures/2/index.ts +4 -4
  32. package/labware/fixtures/3/fixture_2_plate.json +25 -11
  33. package/labware/fixtures/3/fixture_corning_24_plate.json +47 -33
  34. package/labware/schemas/3.json +63 -25
  35. package/lib/command/index.d.ts +4156 -2078
  36. package/lib/command/schemas/12.json +65 -0
  37. package/lib/command/schemas/13.json +7207 -0
  38. package/lib/command/types/annotation.d.ts +1 -1
  39. package/lib/command/types/calibration.d.ts +5 -5
  40. package/lib/command/types/gantry.d.ts +5 -4
  41. package/lib/command/types/incidental.d.ts +1 -1
  42. package/lib/command/types/index.d.ts +52 -14
  43. package/lib/command/types/module.d.ts +59 -10
  44. package/lib/command/types/pipetting.d.ts +8 -3
  45. package/lib/command/types/robot.d.ts +71 -0
  46. package/lib/command/types/setup.d.ts +1 -1
  47. package/lib/command/types/support.d.ts +3 -2
  48. package/lib/command/types/timing.d.ts +1 -1
  49. package/lib/command/types/unsafe.d.ts +44 -3
  50. package/lib/deck/index.d.ts +3 -3
  51. package/lib/errors/definitions/1/errors.json +12 -0
  52. package/lib/errors/index.d.ts +1 -1
  53. package/lib/index.mjs +372042 -335507
  54. package/lib/js/constants.d.ts +17 -10
  55. package/lib/js/deck/index.d.ts +2 -2
  56. package/lib/js/fixtures.d.ts +1 -1
  57. package/lib/js/gripper.d.ts +1 -1
  58. package/lib/js/helpers/__tests__/getMmFromBottom.test.d.ts +1 -0
  59. package/lib/js/helpers/__tests__/liquidClasses.test.d.ts +1 -0
  60. package/lib/js/helpers/getLoadedLabwareDefinitionsByUri.d.ts +1 -1
  61. package/lib/js/helpers/getMmFromBottom.d.ts +2 -0
  62. package/lib/js/helpers/getSimplestFlexDeckConfig.d.ts +1 -1
  63. package/lib/js/helpers/getVectorDifference.d.ts +2 -2
  64. package/lib/js/helpers/getVectorSum.d.ts +2 -2
  65. package/lib/js/helpers/getWellRangeForLiquidLabwarePair.d.ts +6 -0
  66. package/lib/js/helpers/index.d.ts +4 -1
  67. package/lib/js/helpers/labwareInference.d.ts +1 -1
  68. package/lib/js/helpers/liquidClasses.d.ts +8 -0
  69. package/lib/js/helpers/parseAddressableArea.d.ts +1 -1
  70. package/lib/js/helpers/parseProtocolCommands.d.ts +2 -2
  71. package/lib/js/helpers/validateCustomLabwareHelper.d.ts +1 -1
  72. package/lib/js/labware.d.ts +6 -6
  73. package/lib/js/labwareTools/index.d.ts +1 -1
  74. package/lib/js/modules.d.ts +1 -1
  75. package/lib/js/pipettes.d.ts +3 -2
  76. package/lib/js/types.d.ts +45 -27
  77. package/lib/labware/definitions/2/agilent_1_reservoir_290ml/3.json +80 -0
  78. package/lib/labware/definitions/2/corning_384_wellplate_112ul_flat/4.json +5116 -0
  79. package/lib/labware/definitions/2/corning_48_wellplate_1.6ml_flat/4.json +605 -0
  80. package/lib/labware/definitions/2/nest_1_reservoir_290ml/3.json +80 -0
  81. package/lib/labware/definitions/2/opentrons_24_aluminumblock_nest_0.5ml_screwcap/3.json +370 -0
  82. package/lib/labware/definitions/2/opentrons_24_tuberack_nest_0.5ml_screwcap/3.json +371 -0
  83. package/lib/labware/definitions/2/opentrons_96_aluminumblock_generic_pcr_strip_200ul/4.json +1149 -0
  84. package/lib/labware/definitions/2/opentrons_flex_tiprack_lid/1.json +8 -2
  85. package/lib/labware/definitions/2/usascientific_12_reservoir_22ml/3.json +237 -0
  86. package/lib/labware/definitions/3/schema3test_96_well_aluminum_block/999.json +1047 -0
  87. package/lib/labware/definitions/3/schema3test_96_wellplate_200ul_pcr_full_skirt/999.json +1189 -0
  88. package/lib/labware/definitions/3/schema3test_flex_96_tiprack_200ul/999.json +1041 -0
  89. package/lib/labware/fixtures/2/index.d.ts +4 -4
  90. package/lib/labware/fixtures/3/fixture_2_plate.json +25 -11
  91. package/lib/labware/fixtures/3/fixture_corning_24_plate.json +47 -33
  92. package/lib/labware/schemas/3.json +63 -25
  93. package/lib/liquid-class/definitions/1/ethanol_80.json +1455 -1059
  94. package/lib/liquid-class/definitions/1/glycerol_50.json +1454 -1058
  95. package/lib/liquid-class/definitions/1/water.json +1459 -1063
  96. package/lib/liquid-class/fixtures/1/fixture_glycerol50.json +66 -48
  97. package/lib/liquid-class/schemas/1.json +34 -48
  98. package/lib/module/definitions/3/absorbanceReaderV1.json +1 -0
  99. package/lib/module/definitions/3/flexStackerModuleV1.json +6 -0
  100. package/lib/module/definitions/3/magneticBlockV1.json +1 -0
  101. package/lib/module/definitions/3/magneticModuleV1.json +1 -0
  102. package/lib/module/definitions/3/magneticModuleV2.json +1 -0
  103. package/lib/module/definitions/3/temperatureModuleV1.json +1 -0
  104. package/lib/module/definitions/3/temperatureModuleV2.json +1 -0
  105. package/lib/module/definitions/3/thermocyclerModuleV1.json +1 -0
  106. package/lib/module/definitions/3/thermocyclerModuleV2.json +1 -0
  107. package/lib/module/schemas/3.json +4 -0
  108. package/lib/pipette/definitions/2/geometry/eight_channel/p50/3_5.json +4 -0
  109. package/lib/pipette/definitions/2/geometry/ninety_six_channel/p200/3_0.json +4 -0
  110. package/lib/pipette/definitions/2/geometry/single_channel/p50/3_6.json +4 -0
  111. package/lib/pipette/definitions/2/liquid/ninety_six_channel/p200/default/1_0.json +11 -11
  112. package/lib/pipette/definitions/2/liquid/ninety_six_channel/p200/default/3_0.json +12 -12
  113. package/lib/pipette/definitions/2/liquid/single_channel/p50/default/3_6.json +5 -5
  114. package/lib/pipette/definitions/2/liquid/single_channel/p50/lowVolumeDefault/3_6.json +5 -5
  115. package/lib/pipette/fixtures/name/index.d.ts +1 -1
  116. package/lib/protocol/fixtures/index.d.ts +2 -2
  117. package/lib/protocol/index.d.ts +7 -7
  118. package/lib/protocol/types/schemaV4.d.ts +1 -1
  119. package/lib/protocol/types/schemaV5.d.ts +1 -1
  120. package/lib/protocol/types/schemaV5Addendum.d.ts +1 -1
  121. package/lib/protocol/types/schemaV6/command/gantry.d.ts +4 -4
  122. package/lib/protocol/types/schemaV6/command/index.d.ts +5 -5
  123. package/lib/protocol/types/schemaV6/command/module.d.ts +1 -1
  124. package/lib/protocol/types/schemaV6/command/pipetting.d.ts +1 -1
  125. package/lib/protocol/types/schemaV6/command/setup.d.ts +1 -1
  126. package/lib/protocol/types/schemaV6/command/timing.d.ts +1 -1
  127. package/lib/protocol/types/schemaV6/index.d.ts +2 -2
  128. package/lib/protocol/types/schemaV7/command/annotation.d.ts +1 -1
  129. package/lib/protocol/types/schemaV7/command/calibration.d.ts +5 -5
  130. package/lib/protocol/types/schemaV7/command/gantry.d.ts +4 -4
  131. package/lib/protocol/types/schemaV7/command/incidental.d.ts +1 -1
  132. package/lib/protocol/types/schemaV7/command/index.d.ts +7 -7
  133. package/lib/protocol/types/schemaV7/command/module.d.ts +1 -1
  134. package/lib/protocol/types/schemaV7/command/pipetting.d.ts +1 -1
  135. package/lib/protocol/types/schemaV7/command/setup.d.ts +1 -1
  136. package/lib/protocol/types/schemaV7/command/timing.d.ts +1 -1
  137. package/lib/protocol/types/schemaV7/index.d.ts +2 -2
  138. package/lib/protocol/types/schemaV8/index.d.ts +1 -1
  139. package/liquid-class/definitions/1/ethanol_80.json +1455 -1059
  140. package/liquid-class/definitions/1/glycerol_50.json +1454 -1058
  141. package/liquid-class/definitions/1/water.json +1459 -1063
  142. package/liquid-class/fixtures/1/fixture_glycerol50.json +66 -48
  143. package/liquid-class/schemas/1.json +34 -48
  144. package/module/definitions/3/absorbanceReaderV1.json +1 -0
  145. package/module/definitions/3/flexStackerModuleV1.json +6 -0
  146. package/module/definitions/3/magneticBlockV1.json +1 -0
  147. package/module/definitions/3/magneticModuleV1.json +1 -0
  148. package/module/definitions/3/magneticModuleV2.json +1 -0
  149. package/module/definitions/3/temperatureModuleV1.json +1 -0
  150. package/module/definitions/3/temperatureModuleV2.json +1 -0
  151. package/module/definitions/3/thermocyclerModuleV1.json +1 -0
  152. package/module/definitions/3/thermocyclerModuleV2.json +1 -0
  153. package/module/schemas/3.json +4 -0
  154. package/package.json +1 -1
  155. package/pipette/definitions/2/geometry/eight_channel/p50/3_5.json +4 -0
  156. package/pipette/definitions/2/geometry/ninety_six_channel/p200/3_0.json +4 -0
  157. package/pipette/definitions/2/geometry/single_channel/p50/3_6.json +4 -0
  158. package/pipette/definitions/2/liquid/ninety_six_channel/p200/default/1_0.json +11 -11
  159. package/pipette/definitions/2/liquid/ninety_six_channel/p200/default/3_0.json +12 -12
  160. package/pipette/definitions/2/liquid/single_channel/p50/default/3_6.json +5 -5
  161. package/pipette/definitions/2/liquid/single_channel/p50/lowVolumeDefault/3_6.json +5 -5
  162. package/pipette/fixtures/index.ts +12 -12
  163. package/pipette/fixtures/name/index.ts +1 -0
  164. package/protocol/fixtures/index.ts +2 -3
  165. package/protocol/index.ts +9 -8
  166. package/protocol/types/schemaV4.ts +4 -4
  167. package/protocol/types/schemaV5.ts +1 -1
  168. package/protocol/types/schemaV5Addendum.ts +1 -1
  169. package/protocol/types/schemaV6/command/gantry.ts +4 -4
  170. package/protocol/types/schemaV6/command/index.ts +6 -6
  171. package/protocol/types/schemaV6/command/module.ts +1 -1
  172. package/protocol/types/schemaV6/command/pipetting.ts +2 -1
  173. package/protocol/types/schemaV6/command/setup.ts +2 -2
  174. package/protocol/types/schemaV6/command/timing.ts +1 -1
  175. package/protocol/types/schemaV6/index.ts +3 -3
  176. package/protocol/types/schemaV7/command/annotation.ts +1 -1
  177. package/protocol/types/schemaV7/command/calibration.ts +7 -6
  178. package/protocol/types/schemaV7/command/gantry.ts +5 -5
  179. package/protocol/types/schemaV7/command/incidental.ts +1 -1
  180. package/protocol/types/schemaV7/command/index.ts +14 -14
  181. package/protocol/types/schemaV7/command/module.ts +1 -1
  182. package/protocol/types/schemaV7/command/pipetting.ts +2 -1
  183. package/protocol/types/schemaV7/command/setup.ts +2 -2
  184. package/protocol/types/schemaV7/command/timing.ts +1 -1
  185. package/protocol/types/schemaV7/index.ts +3 -3
  186. package/protocol/types/schemaV8/index.ts +3 -3
@@ -4,12 +4,12 @@
4
4
  "t20": {
5
5
  "uiMaxFlowRate": 57,
6
6
  "defaultAspirateFlowRate": {
7
- "default": 35,
8
- "valuesByApiLevel": { "2.14": 35 }
7
+ "default": 22,
8
+ "valuesByApiLevel": { "2.14": 22 }
9
9
  },
10
10
  "defaultDispenseFlowRate": {
11
- "default": 57,
12
- "valuesByApiLevel": { "2.14": 57 }
11
+ "default": 22,
12
+ "valuesByApiLevel": { "2.14": 22 }
13
13
  },
14
14
  "defaultBlowOutFlowRate": {
15
15
  "default": 57,
@@ -64,7 +64,7 @@
64
64
  ]
65
65
  }
66
66
  },
67
- "defaultPushOutVolume": 2
67
+ "defaultPushOutVolume": 3.5
68
68
  },
69
69
  "t50": {
70
70
  "uiMaxFlowRate": 57,
@@ -4,12 +4,12 @@
4
4
  "t20": {
5
5
  "uiMaxFlowRate": 26.7,
6
6
  "defaultAspirateFlowRate": {
7
- "default": 26.7,
8
- "valuesByApiLevel": { "2.14": 26.7 }
7
+ "default": 22,
8
+ "valuesByApiLevel": { "2.14": 22 }
9
9
  },
10
10
  "defaultDispenseFlowRate": {
11
- "default": 26.7,
12
- "valuesByApiLevel": { "2.14": 26.7 }
11
+ "default": 22,
12
+ "valuesByApiLevel": { "2.14": 22 }
13
13
  },
14
14
  "defaultBlowOutFlowRate": {
15
15
  "default": 26.7,
@@ -62,7 +62,7 @@
62
62
  ]
63
63
  }
64
64
  },
65
- "defaultPushOutVolume": 7
65
+ "defaultPushOutVolume": 3.5
66
66
  },
67
67
  "t50": {
68
68
  "uiMaxFlowRate": 26.7,
@@ -1,20 +1,20 @@
1
- import fixtureP10SingleGeneral from '../../pipette/definitions/2/general/single_channel/p10/1_0.json'
2
- import fixtureP10SingleGeometry from '../../pipette/definitions/2/geometry/single_channel/p10/1_0.json'
3
- import fixturep10SingleLiquids from '../../pipette/definitions/2/liquid/single_channel/p10/default/1_0.json'
4
1
  import fixtureP10MultiGeneral from '../../pipette/definitions/2/general/eight_channel/p10/1_0.json'
5
- import fixtureP10MultiGeometry from '../../pipette/definitions/2/geometry/eight_channel/p10/1_0.json'
6
- import fixtureP10MultiLiquids from '../../pipette/definitions/2/liquid/eight_channel/p10/default/1_0.json'
7
- import fixtureP300SingleGeneral from '../../pipette/definitions/2/general/single_channel/p300/1_0.json'
8
- import fixtureP300SingleGeometry from '../../pipette/definitions/2/geometry/single_channel/p300/1_0.json'
9
- import fixtureP300SingleLiquids from '../../pipette/definitions/2/liquid/single_channel/p300/default/1_0.json'
10
2
  import fixtureP300MultiGeneral from '../../pipette/definitions/2/general/eight_channel/p300/1_0.json'
11
- import fixtureP300MultiGeometry from '../../pipette/definitions/2/geometry/eight_channel/p300/1_0.json'
12
- import fixtureP300MultiLiquids from '../../pipette/definitions/2/liquid/eight_channel/p300/default/1_0.json'
13
3
  import fixtureP100096General from '../../pipette/definitions/2/general/ninety_six_channel/p1000/1_0.json'
14
- import fixtureP100096Geometry from '../../pipette/definitions/2/geometry/ninety_six_channel/p1000/1_0.json'
15
- import fixtureP100096Liquids from '../../pipette/definitions/2/liquid/ninety_six_channel/p1000/default/1_0.json'
4
+ import fixtureP10SingleGeneral from '../../pipette/definitions/2/general/single_channel/p10/1_0.json'
5
+ import fixtureP300SingleGeneral from '../../pipette/definitions/2/general/single_channel/p300/1_0.json'
16
6
  import fixtureP1000SingleGeneral from '../../pipette/definitions/2/general/single_channel/p1000/1_0.json'
7
+ import fixtureP10MultiGeometry from '../../pipette/definitions/2/geometry/eight_channel/p10/1_0.json'
8
+ import fixtureP300MultiGeometry from '../../pipette/definitions/2/geometry/eight_channel/p300/1_0.json'
9
+ import fixtureP100096Geometry from '../../pipette/definitions/2/geometry/ninety_six_channel/p1000/1_0.json'
10
+ import fixtureP10SingleGeometry from '../../pipette/definitions/2/geometry/single_channel/p10/1_0.json'
11
+ import fixtureP300SingleGeometry from '../../pipette/definitions/2/geometry/single_channel/p300/1_0.json'
17
12
  import fixtureP1000SingleGeometry from '../../pipette/definitions/2/geometry/single_channel/p1000/1_0.json'
13
+ import fixtureP10MultiLiquids from '../../pipette/definitions/2/liquid/eight_channel/p10/default/1_0.json'
14
+ import fixtureP300MultiLiquids from '../../pipette/definitions/2/liquid/eight_channel/p300/default/1_0.json'
15
+ import fixtureP100096Liquids from '../../pipette/definitions/2/liquid/ninety_six_channel/p1000/default/1_0.json'
16
+ import fixturep10SingleLiquids from '../../pipette/definitions/2/liquid/single_channel/p10/default/1_0.json'
17
+ import fixtureP300SingleLiquids from '../../pipette/definitions/2/liquid/single_channel/p300/default/1_0.json'
18
18
  import fixtureP1000SingleLiquids from '../../pipette/definitions/2/liquid/single_channel/p1000/default/1_0.json'
19
19
 
20
20
  import type { PipetteV2Specs } from '../../js'
@@ -1,4 +1,5 @@
1
1
  import _pipetteNameSpecFixtures from './pipetteNameSpecFixtures.json'
2
+
2
3
  import type { PipetteName, PipetteNameSpecs } from '../../../js'
3
4
 
4
5
  export const pipetteNameSpecFixtures = _pipetteNameSpecFixtures as Record<
@@ -1,3 +1,5 @@
1
+ import simple_v4 from './4/simpleV4.json'
2
+ import test_modules_protocol from './4/testModulesProtocol.json'
1
3
  import heater_shaker_commands from './6/heaterShakerCommands.json'
2
4
  import heater_shaker_commands_with_results_key from './6/heaterShakerCommandsWithResultsKey.json'
3
5
  import multiple_temp_modules from './6/multipleTempModules.json'
@@ -8,9 +10,6 @@ import simple_v6 from './6/simpleV6.json'
8
10
  import temp_and_mag_module_commands from './6/tempAndMagModuleCommands.json'
9
11
  import transfer_settings from './6/transferSettings.json'
10
12
 
11
- import simple_v4 from './4/simpleV4.json'
12
- import test_modules_protocol from './4/testModulesProtocol.json'
13
-
14
13
  export {
15
14
  heater_shaker_commands,
16
15
  heater_shaker_commands_with_results_key,
package/protocol/index.ts CHANGED
@@ -1,3 +1,12 @@
1
+ import protocolSchemaV1 from './schemas/1.json'
2
+ import protocolSchemaV2 from './schemas/2.json'
3
+ import protocolSchemaV3 from './schemas/3.json'
4
+ import protocolSchemaV4 from './schemas/4.json'
5
+ import protocolSchemaV5 from './schemas/5.json'
6
+ import protocolSchemaV6 from './schemas/6.json'
7
+ import protocolSchemaV7 from './schemas/7.json'
8
+ import protocolSchemaV8 from './schemas/8.json'
9
+
1
10
  import type { ProtocolFile as ProtocolFileV1 } from './types/schemaV1'
2
11
  import type { ProtocolFile as ProtocolFileV3 } from './types/schemaV3'
3
12
  import type { ProtocolFile as ProtocolFileV4 } from './types/schemaV4'
@@ -8,14 +17,6 @@ import type {
8
17
  ProtocolFile as ProtocolFileV8,
9
18
  ProtocolStructure as ProtocolStructureV8,
10
19
  } from './types/schemaV8'
11
- import protocolSchemaV1 from './schemas/1.json'
12
- import protocolSchemaV2 from './schemas/2.json'
13
- import protocolSchemaV3 from './schemas/3.json'
14
- import protocolSchemaV4 from './schemas/4.json'
15
- import protocolSchemaV5 from './schemas/5.json'
16
- import protocolSchemaV6 from './schemas/6.json'
17
- import protocolSchemaV7 from './schemas/7.json'
18
- import protocolSchemaV8 from './schemas/8.json'
19
20
 
20
21
  export type {
21
22
  ProtocolFileV1,
@@ -1,12 +1,12 @@
1
1
  import type { DeckSlotId, ModuleModel } from '../../js/types'
2
2
  import type {
3
- ProtocolFile as V3ProtocolFile,
4
3
  AspDispAirgapParams,
5
4
  BlowoutParams,
6
- TouchTipParams,
7
- PipetteAccessParams,
8
- MoveToSlotParams,
9
5
  DelayParams,
6
+ MoveToSlotParams,
7
+ PipetteAccessParams,
8
+ TouchTipParams,
9
+ ProtocolFile as V3ProtocolFile,
10
10
  } from './schemaV3'
11
11
 
12
12
  export type { BlowoutParams, FilePipette, FileLabware } from './schemaV3'
@@ -1,5 +1,5 @@
1
1
  import type { ProtocolFile as V3ProtocolFile } from './schemaV3'
2
- import type { Command as V4Command, FileModule } from './schemaV4'
2
+ import type { FileModule, Command as V4Command } from './schemaV4'
3
3
 
4
4
  export interface MoveToWellParams {
5
5
  pipette: string
@@ -5,7 +5,7 @@
5
5
  * can be phased out as the two are updated to the V6 schema support.
6
6
  */
7
7
 
8
- import type { ProtocolFile as V3ProtocolFile, AirGapParams } from './schemaV3'
8
+ import type { AirGapParams, ProtocolFile as V3ProtocolFile } from './schemaV3'
9
9
  import type { FileModule } from './schemaV4'
10
10
  import type { Command as V5Command } from './schemaV5'
11
11
 
@@ -1,5 +1,5 @@
1
- import type { CommonCommandRunTimeInfo, CommonCommandCreateInfo } from '.'
2
- import type { MotorAxis, Coordinates, MotorAxes } from '../../../../js/types'
1
+ import type { CommonCommandCreateInfo, CommonCommandRunTimeInfo } from '.'
2
+ import type { MotorAxes, MotorAxis, Vector3D } from '../../../../js/types'
3
3
 
4
4
  export interface MoveToSlotCreateCommand extends CommonCommandCreateInfo {
5
5
  commandType: 'moveToSlot'
@@ -37,7 +37,7 @@ export interface MoveRelativeRunTimeCommand
37
37
  extends CommonCommandRunTimeInfo,
38
38
  MoveRelativeCreateCommand {
39
39
  result?: {
40
- position: Coordinates
40
+ position: Vector3D
41
41
  }
42
42
  }
43
43
  export interface SavePositionCreateCommand extends CommonCommandCreateInfo {
@@ -49,7 +49,7 @@ export interface SavePositionRunTimeCommand
49
49
  SavePositionCreateCommand {
50
50
  result?: {
51
51
  positionId: string
52
- position: Coordinates
52
+ position: Vector3D
53
53
  }
54
54
  }
55
55
  export interface HomeCreateCommand extends CommonCommandCreateInfo {
@@ -1,12 +1,12 @@
1
+ import type { CommandIntent } from '../../../../command'
2
+ import type { GantryCreateCommand, GantryRunTimeCommand } from './gantry'
3
+ import type { ModuleCreateCommand, ModuleRunTimeCommand } from './module'
1
4
  import type {
2
- PipettingRunTimeCommand,
3
5
  PipettingCreateCommand,
6
+ PipettingRunTimeCommand,
4
7
  } from './pipetting'
5
- import type { GantryRunTimeCommand, GantryCreateCommand } from './gantry'
6
- import type { ModuleRunTimeCommand, ModuleCreateCommand } from './module'
7
- import type { SetupRunTimeCommand, SetupCreateCommand } from './setup'
8
- import type { TimingRunTimeCommand, TimingCreateCommand } from './timing'
9
- import type { CommandIntent } from '../../../../command'
8
+ import type { SetupCreateCommand, SetupRunTimeCommand } from './setup'
9
+ import type { TimingCreateCommand, TimingRunTimeCommand } from './timing'
10
10
 
11
11
  export * from './pipetting'
12
12
  export * from './gantry'
@@ -1,4 +1,4 @@
1
- import type { CommonCommandRunTimeInfo, CommonCommandCreateInfo } from '.'
1
+ import type { CommonCommandCreateInfo, CommonCommandRunTimeInfo } from '.'
2
2
 
3
3
  export type ModuleRunTimeCommand =
4
4
  | MagneticModuleEngageMagnetRunTimeCommand
@@ -1,4 +1,5 @@
1
- import type { CommonCommandRunTimeInfo, CommonCommandCreateInfo } from '.'
1
+ import type { CommonCommandCreateInfo, CommonCommandRunTimeInfo } from '.'
2
+
2
3
  export type PipettingRunTimeCommand =
3
4
  | AspirateRunTimeCommand
4
5
  | DispenseRunTimeCommand
@@ -1,10 +1,10 @@
1
1
  import type {
2
- CommonCommandRunTimeInfo,
3
2
  CommonCommandCreateInfo,
3
+ CommonCommandRunTimeInfo,
4
4
  LabwareDefinition2,
5
5
  LabwareOffset,
6
- PipetteName,
7
6
  ModuleModel,
7
+ PipetteName,
8
8
  } from '../../../../js'
9
9
 
10
10
  export interface LoadPipetteCreateCommand extends CommonCommandCreateInfo {
@@ -1,4 +1,4 @@
1
- import type { CommonCommandRunTimeInfo, CommonCommandCreateInfo } from '.'
1
+ import type { CommonCommandCreateInfo, CommonCommandRunTimeInfo } from '.'
2
2
 
3
3
  export type TimingCreateCommand =
4
4
  | WaitForResumeCreateCommand
@@ -1,16 +1,16 @@
1
1
  import type {
2
- LoadedPipette,
2
+ Liquid,
3
3
  LoadedLabware,
4
4
  LoadedModule,
5
- Liquid,
5
+ LoadedPipette,
6
6
  PipetteName,
7
7
  } from '../../../js'
8
- import type { CreateCommand, RunTimeCommand } from './command'
9
8
  import type {
10
9
  LabwareDefinition2,
11
10
  ModuleModel,
12
11
  RobotType,
13
12
  } from '../../../js/types'
13
+ import type { CreateCommand, RunTimeCommand } from './command'
14
14
 
15
15
  export * from './command'
16
16
 
@@ -1,4 +1,4 @@
1
- import type { CommonCommandRunTimeInfo, CommonCommandCreateInfo } from '.'
1
+ import type { CommonCommandCreateInfo, CommonCommandRunTimeInfo } from '.'
2
2
 
3
3
  export type AnnotationCreateCommand = CommentCreateCommand | CustomCreateCommand
4
4
 
@@ -1,10 +1,11 @@
1
- import type { CommonCommandRunTimeInfo, CommonCommandCreateInfo } from '.'
1
+ import type { CommonCommandCreateInfo, CommonCommandRunTimeInfo } from '.'
2
2
  import type {
3
- PipetteMount,
4
3
  GantryMount,
5
4
  LabwareOffset,
6
- Coordinates,
5
+ PipetteMount,
6
+ Vector3D,
7
7
  } from '../../../../js/types'
8
+
8
9
  // TODO (sb 10/26/22): Separate out calibration commands from protocol schema in RAUT-272
9
10
  export interface CalibratePipetteCreateCommand extends CommonCommandCreateInfo {
10
11
  commandType: 'calibration/calibratePipette'
@@ -62,7 +63,7 @@ interface CalibratePipetteParams {
62
63
  }
63
64
  interface CalibrateGripperParams {
64
65
  jaw: 'front' | 'rear'
65
- otherJawOffset?: Coordinates
66
+ otherJawOffset?: Vector3D
66
67
  }
67
68
  interface CalibrateModuleParams {
68
69
  moduleId: string
@@ -73,12 +74,12 @@ interface CalibratePipetteResult {
73
74
  pipetteOffset: LabwareOffset
74
75
  }
75
76
  interface CalibrateGripperResult {
76
- jawOffset: Coordinates
77
+ jawOffset: Vector3D
77
78
  }
78
79
  interface MoveToMaintenancePositionParams {
79
80
  mount: GantryMount
80
81
  maintenancePosition?: 'attachPlate' | 'attachInstrument'
81
82
  }
82
83
  interface CalibrateModuleResult {
83
- moduleOffset: Coordinates
84
+ moduleOffset: Vector3D
84
85
  }
@@ -1,9 +1,9 @@
1
- import type { CommonCommandRunTimeInfo, CommonCommandCreateInfo } from '.'
1
+ import type { CommonCommandCreateInfo, CommonCommandRunTimeInfo } from '.'
2
2
  import type {
3
- Coordinates,
3
+ GantryMount,
4
4
  MotorAxes,
5
5
  MotorAxis,
6
- GantryMount,
6
+ Vector3D,
7
7
  } from '../../../../js/types'
8
8
 
9
9
  export interface MoveToSlotCreateCommand extends CommonCommandCreateInfo {
@@ -42,7 +42,7 @@ export interface MoveRelativeRunTimeCommand
42
42
  extends CommonCommandRunTimeInfo,
43
43
  MoveRelativeCreateCommand {
44
44
  result?: {
45
- position: Coordinates
45
+ position: Vector3D
46
46
  }
47
47
  }
48
48
  export interface SavePositionCreateCommand extends CommonCommandCreateInfo {
@@ -54,7 +54,7 @@ export interface SavePositionRunTimeCommand
54
54
  SavePositionCreateCommand {
55
55
  result?: {
56
56
  positionId: string
57
- position: Coordinates
57
+ position: Vector3D
58
58
  }
59
59
  }
60
60
  export interface HomeCreateCommand extends CommonCommandCreateInfo {
@@ -1,4 +1,4 @@
1
- import type { CommonCommandRunTimeInfo, CommonCommandCreateInfo } from '.'
1
+ import type { CommonCommandCreateInfo, CommonCommandRunTimeInfo } from '.'
2
2
  import type { StatusBarAnimation } from '../../../../js/types'
3
3
 
4
4
  export type IncidentalCreateCommand = SetStatusBarCreateCommand
@@ -1,23 +1,23 @@
1
1
  import type {
2
- PipettingRunTimeCommand,
3
- PipettingCreateCommand,
4
- } from './pipetting'
5
- import type { GantryRunTimeCommand, GantryCreateCommand } from './gantry'
6
- import type { ModuleRunTimeCommand, ModuleCreateCommand } from './module'
7
- import type { SetupRunTimeCommand, SetupCreateCommand } from './setup'
8
- import type { TimingRunTimeCommand, TimingCreateCommand } from './timing'
9
- import type {
10
- IncidentalCreateCommand,
11
- IncidentalRunTimeCommand,
12
- } from './incidental'
13
- import type {
14
- AnnotationRunTimeCommand,
15
2
  AnnotationCreateCommand,
3
+ AnnotationRunTimeCommand,
16
4
  } from './annotation'
17
5
  import type {
18
- CalibrationRunTimeCommand,
19
6
  CalibrationCreateCommand,
7
+ CalibrationRunTimeCommand,
20
8
  } from './calibration'
9
+ import type { GantryCreateCommand, GantryRunTimeCommand } from './gantry'
10
+ import type {
11
+ IncidentalCreateCommand,
12
+ IncidentalRunTimeCommand,
13
+ } from './incidental'
14
+ import type { ModuleCreateCommand, ModuleRunTimeCommand } from './module'
15
+ import type {
16
+ PipettingCreateCommand,
17
+ PipettingRunTimeCommand,
18
+ } from './pipetting'
19
+ import type { SetupCreateCommand, SetupRunTimeCommand } from './setup'
20
+ import type { TimingCreateCommand, TimingRunTimeCommand } from './timing'
21
21
 
22
22
  export * from './annotation'
23
23
  export * from './calibration'
@@ -1,4 +1,4 @@
1
- import type { CommonCommandRunTimeInfo, CommonCommandCreateInfo } from '.'
1
+ import type { CommonCommandCreateInfo, CommonCommandRunTimeInfo } from '.'
2
2
 
3
3
  export type ModuleRunTimeCommand =
4
4
  | MagneticModuleEngageMagnetRunTimeCommand
@@ -1,4 +1,5 @@
1
- import type { CommonCommandRunTimeInfo, CommonCommandCreateInfo } from '.'
1
+ import type { CommonCommandCreateInfo, CommonCommandRunTimeInfo } from '.'
2
+
2
3
  export type PipettingRunTimeCommand =
3
4
  | AspirateRunTimeCommand
4
5
  | DispenseRunTimeCommand
@@ -1,10 +1,10 @@
1
1
  import type {
2
- CommonCommandRunTimeInfo,
3
2
  CommonCommandCreateInfo,
3
+ CommonCommandRunTimeInfo,
4
4
  LabwareDefinition2,
5
5
  LabwareOffset,
6
- PipetteName,
7
6
  ModuleModel,
7
+ PipetteName,
8
8
  } from '../../../../js'
9
9
 
10
10
  export interface LoadPipetteCreateCommand extends CommonCommandCreateInfo {
@@ -1,4 +1,4 @@
1
- import type { CommonCommandRunTimeInfo, CommonCommandCreateInfo } from '.'
1
+ import type { CommonCommandCreateInfo, CommonCommandRunTimeInfo } from '.'
2
2
 
3
3
  export type TimingCreateCommand =
4
4
  | WaitForResumeCreateCommand
@@ -1,11 +1,11 @@
1
1
  import type {
2
- LoadedPipette,
2
+ Liquid,
3
3
  LoadedLabware,
4
4
  LoadedModule,
5
- Liquid,
5
+ LoadedPipette,
6
6
  } from '../../../js'
7
- import type { CreateCommand, RunTimeCommand } from './command'
8
7
  import type { LabwareDefinition2, RobotType } from '../../../js/types'
8
+ import type { CreateCommand, RunTimeCommand } from './command'
9
9
 
10
10
  export * from './command'
11
11
 
@@ -1,12 +1,12 @@
1
1
  import type { CreateCommand } from '../../../command/types'
2
+ import type { CommandAnnotation } from '../../../commandAnnotation/types'
2
3
  import type {
3
- LoadedPipette,
4
+ Liquid,
4
5
  LoadedLabware,
5
6
  LoadedModule,
6
- Liquid,
7
+ LoadedPipette,
7
8
  RunTimeParameter,
8
9
  } from '../../../js'
9
- import type { CommandAnnotation } from '../../../commandAnnotation/types'
10
10
  import type { LabwareDefinition2, RobotType } from '../../../js/types'
11
11
  import type { RunTimeCommand } from '../schemaV8'
12
12