@opentrons/step-generation 0.3.3-alpha.0 → 0.3.4-alpha.0
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.
- package/README.md +1 -1
- package/lib/commandCreators/atomic/__tests__/aspirateWhileTracking.test.d.ts +1 -0
- package/lib/commandCreators/atomic/__tests__/dispenseWhileTracking.test.d.ts +1 -0
- package/lib/commandCreators/atomic/__tests__/home.test.d.ts +1 -0
- package/lib/commandCreators/atomic/__tests__/moveRelative.test.d.ts +1 -0
- package/lib/commandCreators/atomic/__tests__/moveToCoordinate.test.d.ts +1 -0
- package/lib/commandCreators/atomic/__tests__/tryLiquidProbe.test.d.ts +1 -0
- package/lib/commandCreators/atomic/aspirateWhileTracking.d.ts +3 -0
- package/lib/commandCreators/atomic/dispenseWhileTracking.d.ts +3 -0
- package/lib/commandCreators/atomic/home.d.ts +3 -0
- package/lib/commandCreators/atomic/index.d.ts +6 -0
- package/lib/commandCreators/atomic/moveRelative.d.ts +3 -0
- package/lib/commandCreators/atomic/moveToCoordinates.d.ts +3 -0
- package/lib/commandCreators/atomic/tryLiquidProbe.d.ts +3 -0
- package/lib/commandCreators/index.d.ts +1 -1
- package/lib/index.cjs +91 -83
- package/lib/index.mjs +5261 -4986
- package/lib/types.d.ts +2 -14
- package/lib/utils/getCommandCreatorFromStepArgs.d.ts +2 -0
- package/lib/utils/index.d.ts +1 -0
- package/package.json +2 -2
package/lib/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ABSORBANCE_READER_TYPE, AddressableArea, CreateCommand, FLEX_STACKER_MODULE_TYPE, FlexStackerStoredLabwareGroup, HEATERSHAKER_MODULE_TYPE, Height, LabwareDefinition2, LabwareLocation, LabwareMovementStrategy, LoadedLabwareLocation, MAGNETIC_BLOCK_TYPE, MAGNETIC_MODULE_TYPE, ModuleModel, ModuleType, PipetteMount as Mount, NozzleConfigurationStyle, PipetteName, PipetteV2Specs, PositionReference, PrimaryNozzleConfigurationStyle, ShakeSpeedParams, StackerStoredLabwareDefinitionURIs, TCExtendedProfileParams, TEMPERATURE_MODULE_TYPE, THERMOCYCLER_MODULE_TYPE, VACUUM_MODULE_TYPE, VacuumRunProfileParams, Width } from '@opentrons/shared-data';
|
|
1
|
+
import type { ABSORBANCE_READER_TYPE, AddressableArea, CommonArgs, CreateCommand, FLEX_STACKER_MODULE_TYPE, FlexStackerStoredLabwareGroup, HEATERSHAKER_MODULE_TYPE, Height, LabwareDefinition2, LabwareLocation, LabwareMovementStrategy, LoadedLabwareLocation, MAGNETIC_BLOCK_TYPE, MAGNETIC_MODULE_TYPE, ModuleModel, ModuleType, PipetteMount as Mount, NozzleConfigurationStyle, OpentronsAIArgs, PipetteName, PipetteV2Specs, PositionReference, PrimaryNozzleConfigurationStyle, ShakeSpeedParams, StackerStoredLabwareDefinitionURIs, TCExtendedProfileParams, TEMPERATURE_MODULE_TYPE, THERMOCYCLER_MODULE_TYPE, VACUUM_MODULE_TYPE, VacuumRunProfileParams, Width } from '@opentrons/shared-data';
|
|
2
2
|
import type { AUTOMATIC, CLEAN, DIRTY, EMPTY, MANUAL, TEMPERATURE_APPROACHING_TARGET, TEMPERATURE_AT_TARGET, TEMPERATURE_DEACTIVATED, VACUUM_MODE_POWER, VACUUM_MODE_PRESSURE, VACUUM_VENT_CLOSED, VACUUM_VENT_OPEN } from './constants';
|
|
3
3
|
export type DeckSlot = string;
|
|
4
4
|
type THERMOCYCLER_STATE = 'thermocyclerState';
|
|
@@ -244,18 +244,6 @@ export interface InnerMixArgs {
|
|
|
244
244
|
export interface InnerDelayArgs {
|
|
245
245
|
seconds: number;
|
|
246
246
|
}
|
|
247
|
-
interface CommonArgs {
|
|
248
|
-
/** NOTE: stepNumber probably shouldn't be optional but making it optional
|
|
249
|
-
* for the sake of not having to make too many changes for PD 8.5.2
|
|
250
|
-
* this should be refactored to not be optional for PD 8.6.0
|
|
251
|
-
* making it optional saves a lot of changes in unit tests
|
|
252
|
-
*/
|
|
253
|
-
stepNumber?: number;
|
|
254
|
-
/** Optional user-readable name for this step */
|
|
255
|
-
name?: string | null;
|
|
256
|
-
/** Optional user-readable description/notes for this step */
|
|
257
|
-
description?: string | null;
|
|
258
|
-
}
|
|
259
247
|
export type SharedTransferLikeArgs = CommonArgs & {
|
|
260
248
|
tipRack: string;
|
|
261
249
|
pipette: string;
|
|
@@ -670,7 +658,7 @@ export interface VacuumCloseVentStartProfileArgs extends CommonArgs {
|
|
|
670
658
|
}
|
|
671
659
|
export type VacuumArgs = VacuumPumpArgs | VacuumStartRunProfileArgs | VacuumOpenVentArgs | VacuumCloseVentArgs | VacuumStopPumpArgs;
|
|
672
660
|
export type FlexStackerArgs = FlexStackerEmptyArgs | FlexStackerFillItemsArgs | FlexStackerRetrieveArgs | FlexStackerStoreArgs;
|
|
673
|
-
export type CommandCreatorArgs = AbsorbanceReaderInitializeArgs | AbsorbanceReaderReadArgs | AbsorbanceReaderLidArgs | ConsolidateArgs | CaptureImageArgs | DistributeArgs | MixArgs | PauseArgs | WaitForModuleTaskArgs | TransferArgs | EngageMagnetArgs | DisengageMagnetArgs | SetTemperatureArgs | WaitForTemperatureArgs | DeactivateTemperatureArgs | ThermocyclerProfileStepArgs | ThermocyclerStateStepArgs | HeaterShakerArgs | MoveLabwareArgs | CommentArgs | FlexStackerArgs | VacuumArgs;
|
|
661
|
+
export type CommandCreatorArgs = AbsorbanceReaderInitializeArgs | AbsorbanceReaderReadArgs | AbsorbanceReaderLidArgs | ConsolidateArgs | CaptureImageArgs | DistributeArgs | MixArgs | PauseArgs | WaitForModuleTaskArgs | TransferArgs | EngageMagnetArgs | DisengageMagnetArgs | SetTemperatureArgs | WaitForTemperatureArgs | DeactivateTemperatureArgs | ThermocyclerProfileStepArgs | ThermocyclerStateStepArgs | HeaterShakerArgs | MoveLabwareArgs | CommentArgs | FlexStackerArgs | VacuumArgs | OpentronsAIArgs;
|
|
674
662
|
export interface LocationLiquidState {
|
|
675
663
|
[ingredGroup: string]: {
|
|
676
664
|
volume: number;
|
package/lib/utils/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
},
|
|
10
10
|
"name": "@opentrons/step-generation",
|
|
11
11
|
"productName": "Opentrons Step Generation",
|
|
12
|
-
"version": "0.3.
|
|
12
|
+
"version": "0.3.4-alpha.0",
|
|
13
13
|
"description": "Step generation",
|
|
14
14
|
"main": "lib/index.cjs",
|
|
15
15
|
"types": "lib/index.d.ts",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"homepage": "https://github.com/Opentrons/opentrons",
|
|
34
34
|
"license": "Apache-2.0",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@opentrons/shared-data": "0.3.
|
|
36
|
+
"@opentrons/shared-data": "0.3.4-alpha.0",
|
|
37
37
|
"core-js": "3.2.1",
|
|
38
38
|
"immer": "^10.1.3",
|
|
39
39
|
"lodash": "4.18.1",
|