@opentrons/step-generation 0.3.23-alpha.0 → 0.3.25-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.
Files changed (39) hide show
  1. package/README.md +1 -1
  2. package/lib/commandCreators/atomic/__tests__/airGapInPlace.test.d.ts +1 -0
  3. package/lib/commandCreators/atomic/airGapInPlace.d.ts +2 -3
  4. package/lib/commandCreators/atomic/captureImage.d.ts +2 -3
  5. package/lib/commandCreators/atomic/comment.d.ts +3 -2
  6. package/lib/commandCreators/atomic/delay.d.ts +6 -2
  7. package/lib/commandCreators/atomic/disengageMagnet.d.ts +2 -3
  8. package/lib/commandCreators/atomic/dropTipInPlace.d.ts +2 -3
  9. package/lib/commandCreators/atomic/engageMagnet.d.ts +2 -3
  10. package/lib/commandCreators/atomic/flexStackerEmpty.d.ts +6 -3
  11. package/lib/commandCreators/atomic/flexStackerRetrieve.d.ts +2 -3
  12. package/lib/commandCreators/atomic/flexStackerStore.d.ts +2 -3
  13. package/lib/commandCreators/atomic/home.d.ts +4 -2
  14. package/lib/commandCreators/atomic/moveToAddressableArea.d.ts +11 -2
  15. package/lib/commandCreators/atomic/moveToAddressableAreaForDropTip.d.ts +2 -3
  16. package/lib/commandCreators/atomic/thermocyclerCloseLid.d.ts +2 -3
  17. package/lib/commandCreators/atomic/thermocyclerDeactivateBlock.d.ts +2 -3
  18. package/lib/commandCreators/atomic/thermocyclerDeactivateLid.d.ts +2 -3
  19. package/lib/commandCreators/atomic/thermocyclerOpenLid.d.ts +2 -3
  20. package/lib/commandCreators/atomic/thermocyclerSetTargetBlockTemperature.d.ts +2 -3
  21. package/lib/commandCreators/atomic/thermocyclerSetTargetLidTemperature.d.ts +2 -3
  22. package/lib/commandCreators/atomic/thermocyclerStartRunExtendedProfile.d.ts +2 -3
  23. package/lib/commandCreators/atomic/vacuumStartRunProfile.d.ts +8 -2
  24. package/lib/getNextRobotStateAndWarnings/forConfigureNozzleLayout.d.ts +2 -11
  25. package/lib/getNextRobotStateAndWarnings/forDropTip.d.ts +2 -3
  26. package/lib/getNextRobotStateAndWarnings/forMoveLabware.d.ts +2 -3
  27. package/lib/getNextRobotStateAndWarnings/forMoveToAddressableArea.d.ts +4 -2
  28. package/lib/getNextRobotStateAndWarnings/forMoveToWell.d.ts +2 -3
  29. package/lib/getNextRobotStateAndWarnings/forPickUpTip.d.ts +2 -3
  30. package/lib/getNextRobotStateAndWarnings/inPlaceCommandUpdates.d.ts +3 -3
  31. package/lib/getNextRobotStateAndWarnings/magnetUpdates.d.ts +3 -4
  32. package/lib/getNextRobotStateAndWarnings/stackerUpdates.d.ts +22 -7
  33. package/lib/getNextRobotStateAndWarnings/temperatureUpdates.d.ts +4 -5
  34. package/lib/getNextRobotStateAndWarnings/thermocyclerUpdates.d.ts +32 -15
  35. package/lib/getNextRobotStateAndWarnings/vacuumUpdates.d.ts +13 -8
  36. package/lib/index.cjs +105 -105
  37. package/lib/index.mjs +8133 -7182
  38. package/lib/types.d.ts +99 -56
  39. package/package.json +2 -2
package/README.md CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  ## Version
10
10
 
11
- `0.3.23-alpha.0`
11
+ `0.3.25-alpha.0`
12
12
 
13
13
  ## License
14
14
 
@@ -1,3 +1,2 @@
1
- import type { AirGapInPlaceParams } from '@opentrons/shared-data';
2
- import type { CommandCreator } from '../../types';
3
- export declare const airGapInPlace: CommandCreator<AirGapInPlaceParams>;
1
+ import type { AspirateInPlaceStepGenArgs, CommandCreator } from '../../types';
2
+ export declare const airGapInPlace: CommandCreator<AspirateInPlaceStepGenArgs>;
@@ -1,3 +1,2 @@
1
- import type { CaptureImageParams } from '@opentrons/shared-data';
2
- import type { CommandCreator } from '../../types';
3
- export declare const captureImage: CommandCreator<CaptureImageParams>;
1
+ import type { CaptureImageArgs, CommandCreator } from '../../types';
2
+ export declare const captureImage: CommandCreator<Pick<CaptureImageArgs, 'homeBefore' | 'fileName' | 'resolution' | 'zoom' | 'contrast' | 'brightness' | 'saturation'>>;
@@ -1,3 +1,4 @@
1
- import type { CommentParams } from '@opentrons/shared-data';
2
1
  import type { CommandCreator } from '../../types';
3
- export declare const comment: CommandCreator<CommentParams>;
2
+ export declare const comment: CommandCreator<{
3
+ message: string;
4
+ }>;
@@ -1,3 +1,7 @@
1
- import type { WaitForDurationParams, WaitForResumeParams } from '@opentrons/shared-data';
2
1
  import type { CommandCreator } from '../../types';
3
- export declare const delay: CommandCreator<WaitForResumeParams | WaitForDurationParams>;
2
+ export declare const delay: CommandCreator<{
3
+ message?: string;
4
+ } | {
5
+ message?: string;
6
+ seconds: number | string;
7
+ }>;
@@ -1,4 +1,3 @@
1
- import type { ModuleOnlyParams } from '@opentrons/shared-data';
2
- import type { CommandCreator } from '../../types';
1
+ import type { CommandCreator, ModuleStepGenArgs } from '../../types';
3
2
  /** Disengage magnet of specified magnetic module. */
4
- export declare const disengageMagnet: CommandCreator<ModuleOnlyParams>;
3
+ export declare const disengageMagnet: CommandCreator<ModuleStepGenArgs>;
@@ -1,3 +1,2 @@
1
- import type { DropTipInPlaceParams } from '@opentrons/shared-data';
2
- import type { CommandCreator } from '../../types';
3
- export declare const dropTipInPlace: CommandCreator<DropTipInPlaceParams>;
1
+ import type { CommandCreator, DropTipInPlaceStepGenArgs } from '../../types';
2
+ export declare const dropTipInPlace: CommandCreator<DropTipInPlaceStepGenArgs>;
@@ -1,4 +1,3 @@
1
- import type { EngageMagnetParams } from '@opentrons/shared-data';
2
- import type { CommandCreator } from '../../types';
1
+ import type { CommandCreator, EngageMagnetStepGenArgs } from '../../types';
3
2
  /** Engage magnet of specified magnetic module to given engage height. */
4
- export declare const engageMagnet: CommandCreator<EngageMagnetParams>;
3
+ export declare const engageMagnet: CommandCreator<EngageMagnetStepGenArgs>;
@@ -1,3 +1,6 @@
1
- import type { FlexStackerEmptyCreateCommand } from '@opentrons/shared-data';
2
- import type { CommandCreator } from '../../types';
3
- export declare const flexStackerEmpty: CommandCreator<FlexStackerEmptyCreateCommand['params']>;
1
+ import type { CommandCreator, ModuleStepGenArgs } from '../../types';
2
+ export declare const flexStackerEmpty: CommandCreator<ModuleStepGenArgs & {
3
+ strategy: string;
4
+ message?: string;
5
+ count?: number | string;
6
+ }>;
@@ -1,3 +1,2 @@
1
- import type { FlexStackerRetrieveCreateCommand } from '@opentrons/shared-data';
2
- import type { CommandCreator } from '../../types';
3
- export declare const flexStackerRetrieve: CommandCreator<FlexStackerRetrieveCreateCommand['params']>;
1
+ import type { CommandCreator, ModuleStepGenArgs } from '../../types';
2
+ export declare const flexStackerRetrieve: CommandCreator<ModuleStepGenArgs>;
@@ -1,3 +1,2 @@
1
- import type { FlexStackerStoreCreateCommand } from '@opentrons/shared-data';
2
- import type { CommandCreator } from '../../types';
3
- export declare const flexStackerStore: CommandCreator<FlexStackerStoreCreateCommand['params']>;
1
+ import type { CommandCreator, ModuleStepGenArgs } from '../../types';
2
+ export declare const flexStackerStore: CommandCreator<ModuleStepGenArgs>;
@@ -1,3 +1,5 @@
1
- import type { HomeCreateCommand } from '@opentrons/shared-data';
2
1
  import type { CommandCreator } from '../../types';
3
- export declare const home: CommandCreator<HomeCreateCommand['params']>;
2
+ export declare const home: CommandCreator<{
3
+ axes?: string[];
4
+ skipIfMountPositionOk?: string;
5
+ }>;
@@ -1,7 +1,16 @@
1
- import type { MoveToAddressableAreaParams } from '@opentrons/shared-data';
2
1
  import type { CommandCreator } from '../../types';
3
- interface MoveToAddressableAreaAtomicParams extends Omit<MoveToAddressableAreaParams, 'addressableAreaName'> {
2
+ interface MoveToAddressableAreaAtomicParams {
3
+ pipetteId: string;
4
4
  fixtureId: string;
5
+ offset: {
6
+ x: number | string;
7
+ y: number | string;
8
+ z: number | string;
9
+ };
10
+ speed?: number | string;
11
+ minimumZHeight?: number | string;
12
+ forceDirect?: boolean | string;
13
+ stayAtHighestPossibleZ?: boolean | string;
5
14
  }
6
15
  export declare const moveToAddressableArea: CommandCreator<MoveToAddressableAreaAtomicParams>;
7
16
  export {};
@@ -1,3 +1,2 @@
1
- import type { MoveToAddressableAreaForDropTipParams } from '@opentrons/shared-data';
2
- import type { CommandCreator } from '../../types';
3
- export declare const moveToAddressableAreaForDropTip: CommandCreator<MoveToAddressableAreaForDropTipParams>;
1
+ import type { CommandCreator, MoveToAddressableAreaForDropTipStepGenArgs } from '../../types';
2
+ export declare const moveToAddressableAreaForDropTip: CommandCreator<MoveToAddressableAreaForDropTipStepGenArgs>;
@@ -1,3 +1,2 @@
1
- import type { ModuleOnlyParams } from '@opentrons/shared-data';
2
- import type { CommandCreator } from '../../types';
3
- export declare const thermocyclerCloseLid: CommandCreator<ModuleOnlyParams>;
1
+ import type { CommandCreator, ModuleStepGenArgs } from '../../types';
2
+ export declare const thermocyclerCloseLid: CommandCreator<ModuleStepGenArgs>;
@@ -1,3 +1,2 @@
1
- import type { ModuleOnlyParams } from '@opentrons/shared-data';
2
- import type { CommandCreator } from '../../types';
3
- export declare const thermocyclerDeactivateBlock: CommandCreator<ModuleOnlyParams>;
1
+ import type { CommandCreator, ModuleStepGenArgs } from '../../types';
2
+ export declare const thermocyclerDeactivateBlock: CommandCreator<ModuleStepGenArgs>;
@@ -1,3 +1,2 @@
1
- import type { ModuleOnlyParams } from '@opentrons/shared-data';
2
- import type { CommandCreator } from '../../types';
3
- export declare const thermocyclerDeactivateLid: CommandCreator<ModuleOnlyParams>;
1
+ import type { CommandCreator, ModuleStepGenArgs } from '../../types';
2
+ export declare const thermocyclerDeactivateLid: CommandCreator<ModuleStepGenArgs>;
@@ -1,3 +1,2 @@
1
- import type { ModuleOnlyParams } from '@opentrons/shared-data';
2
- import type { CommandCreator } from '../../types';
3
- export declare const thermocyclerOpenLid: CommandCreator<ModuleOnlyParams>;
1
+ import type { CommandCreator, ModuleStepGenArgs } from '../../types';
2
+ export declare const thermocyclerOpenLid: CommandCreator<ModuleStepGenArgs>;
@@ -1,3 +1,2 @@
1
- import type { TemperatureParams } from '@opentrons/shared-data';
2
- import type { CommandCreator } from '../../types';
3
- export declare const thermocyclerSetTargetBlockTemperature: CommandCreator<TemperatureParams>;
1
+ import type { CommandCreator, ThermocyclerSetTargetBlockTemperatureStepGenArgs } from '../../types';
2
+ export declare const thermocyclerSetTargetBlockTemperature: CommandCreator<ThermocyclerSetTargetBlockTemperatureStepGenArgs>;
@@ -1,3 +1,2 @@
1
- import type { TemperatureParams } from '@opentrons/shared-data';
2
- import type { CommandCreator } from '../../types';
3
- export declare const thermocyclerSetTargetLidTemperature: CommandCreator<TemperatureParams>;
1
+ import type { CommandCreator, ThermocyclerSetTargetLidTemperatureStepGenArgs } from '../../types';
2
+ export declare const thermocyclerSetTargetLidTemperature: CommandCreator<ThermocyclerSetTargetLidTemperatureStepGenArgs>;
@@ -1,7 +1,6 @@
1
- import type { TCStartExtendedProfileParams } from '@opentrons/shared-data';
2
- import type { CommandCreator } from '../../types';
1
+ import type { CommandCreator, ThermocyclerStartRunExtendedProfileStepGenArgs } from '../../types';
3
2
  /**
4
3
  * NOTE: `args.taskId` pulls double duty as the name of the Python variable,
5
4
  * so it should be snake_case.
6
5
  */
7
- export declare const thermocyclerStartRunExtendedProfile: CommandCreator<TCStartExtendedProfileParams>;
6
+ export declare const thermocyclerStartRunExtendedProfile: CommandCreator<ThermocyclerStartRunExtendedProfileStepGenArgs>;
@@ -1,2 +1,8 @@
1
- import type { CommandCreator, VacuumStartRunProfileStepGenArgs } from '../../types';
2
- export declare const vacuumStartRunProfile: CommandCreator<VacuumStartRunProfileStepGenArgs>;
1
+ import type { CommandCreator, VacuumCloseVentStartProfileArgs } from '../../types';
2
+ type RuntimeVacuumProfile = VacuumCloseVentStartProfileArgs['profile'];
3
+ export declare const vacuumStartRunProfile: CommandCreator<{
4
+ moduleId: string;
5
+ profile: RuntimeVacuumProfile;
6
+ ventAfter: boolean | string;
7
+ }>;
8
+ export {};
@@ -1,11 +1,2 @@
1
- import type { NozzleConfigurationStyle, PrimaryNozzleConfigurationStyle } from '@opentrons/shared-data';
2
- import type { InvariantContext, RobotStateAndWarnings } from '../types';
3
- interface ConfigureNozzleLayoutParams {
4
- pipetteId: string;
5
- configurationParams: {
6
- style: NozzleConfigurationStyle;
7
- primaryNozzle?: PrimaryNozzleConfigurationStyle;
8
- };
9
- }
10
- export declare function forConfigureNozzleLayout(params: ConfigureNozzleLayoutParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings): void;
11
- export {};
1
+ import type { ConfigureNozzleLayoutStepGenArgs, InvariantContext, RobotStateAndWarnings } from '../types';
2
+ export declare function forConfigureNozzleLayout(params: ConfigureNozzleLayoutStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings): void;
@@ -1,3 +1,2 @@
1
- import type { DropTipParams } from '@opentrons/shared-data/protocol/types/schemaV6/command/pipetting';
2
- import type { InvariantContext, RobotStateAndWarnings } from '../types';
3
- export declare function forDropTip(params: DropTipParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings): void;
1
+ import type { DropTipStepGenArgs, InvariantContext, RobotStateAndWarnings } from '../types';
2
+ export declare function forDropTip(params: DropTipStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings): void;
@@ -1,3 +1,2 @@
1
- import type { MoveLabwareParams } from '@opentrons/shared-data';
2
- import type { InvariantContext, RobotStateAndWarnings } from '../types';
3
- export declare function forMoveLabware(params: MoveLabwareParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings): void;
1
+ import type { InvariantContext, MoveLabwareStepGenArgs, RobotStateAndWarnings } from '../types';
2
+ export declare function forMoveLabware(params: MoveLabwareStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings): void;
@@ -1,3 +1,5 @@
1
- import type { MoveToAddressableAreaForDropTipParams, MoveToAddressableAreaParams } from '@opentrons/shared-data';
2
1
  import type { InvariantContext, RobotStateAndWarnings } from '../types';
3
- export declare function forMoveToAddressableArea(params: MoveToAddressableAreaParams | MoveToAddressableAreaForDropTipParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings): void;
2
+ export declare function forMoveToAddressableArea(params: {
3
+ pipetteId: string;
4
+ addressableAreaName: string;
5
+ }, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings): void;
@@ -1,3 +1,2 @@
1
- import type { MoveToWellParams } from '@opentrons/shared-data';
2
- import type { InvariantContext, RobotStateAndWarnings } from '../types';
3
- export declare function forMoveToWell(params: MoveToWellParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings): void;
1
+ import type { InvariantContext, MoveToWellStepGenArgs, RobotStateAndWarnings } from '../types';
2
+ export declare function forMoveToWell(params: MoveToWellStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings): void;
@@ -1,3 +1,2 @@
1
- import type { PickUpTipParams } from '@opentrons/shared-data';
2
- import type { InvariantContext, RobotStateAndWarnings } from '../types';
3
- export declare function forPickUpTip(params: PickUpTipParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings): void;
1
+ import type { InvariantContext, PickUpTipStepGenArgs, RobotStateAndWarnings } from '../types';
2
+ export declare function forPickUpTip(params: PickUpTipStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings): void;
@@ -1,4 +1,4 @@
1
- import type { BlowoutInPlaceParams, DropTipInPlaceParams } from '@opentrons/shared-data';
2
- import type { InvariantContext, RobotStateAndWarnings } from '../types';
3
- export declare const forBlowOutInPlace: (params: BlowoutInPlaceParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
1
+ import type { DropTipInPlaceParams } from '@opentrons/shared-data';
2
+ import type { BlowOutInPlaceStepGenArgs, InvariantContext, RobotStateAndWarnings } from '../types';
3
+ export declare const forBlowOutInPlace: (params: BlowOutInPlaceStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
4
4
  export declare const forDropTipInPlace: (params: DropTipInPlaceParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
@@ -1,4 +1,3 @@
1
- import type { EngageMagnetParams, ModuleOnlyParams } from '@opentrons/shared-data/protocol/types/schemaV6/command/module';
2
- import type { InvariantContext, RobotStateAndWarnings } from '../types';
3
- export declare function forEngageMagnet(params: EngageMagnetParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings): void;
4
- export declare function forDisengageMagnet(params: ModuleOnlyParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings): void;
1
+ import type { EngageMagnetStepGenArgs, InvariantContext, ModuleStepGenArgs, RobotStateAndWarnings } from '../types';
2
+ export declare function forEngageMagnet(params: EngageMagnetStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings): void;
3
+ export declare function forDisengageMagnet(params: ModuleStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings): void;
@@ -1,9 +1,24 @@
1
- import type { FlexStackerEmptyCreateCommand, FlexStackerFillItemsParams, FlexStackerFillParams, FlexStackerRetrieveCreateCommand, FlexStackerSetStoredLabwareItemsParams, FlexStackerSetStoredLabwareParams, FlexStackerStoreCreateCommand } from '@opentrons/shared-data';
2
- import type { InvariantContext, RobotStateAndWarnings } from '../types';
3
- export declare const forFlexStackerEmpty: (params: FlexStackerEmptyCreateCommand['params'], invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
1
+ import type { FlexStackerEmptyCreateCommand, FlexStackerFillItemsParams, FlexStackerFillParams, FlexStackerSetStoredLabwareItemsParams, FlexStackerSetStoredLabwareParams, FlexStackerStoredLabwareDetails } from '@opentrons/shared-data';
2
+ import type { InvariantContext, ModuleStepGenArgs, RobotStateAndWarnings } from '../types';
3
+ export declare const forFlexStackerEmpty: (params: Omit<FlexStackerEmptyCreateCommand['params'], 'count'> & {
4
+ count?: number | string;
5
+ }, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
4
6
  export declare const forFlexStackerFillItems: (params: FlexStackerFillItemsParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
5
- export declare const forFlexStackerSetStoredLabware: (params: FlexStackerSetStoredLabwareParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
7
+ export declare const forFlexStackerSetStoredLabware: (params: Omit<FlexStackerSetStoredLabwareParams, 'initialCount' | 'primaryLabware' | 'adapterLabware' | 'lidLabware'> & {
8
+ initialCount?: number | string | null;
9
+ primaryLabware: Omit<FlexStackerStoredLabwareDetails, 'version'> & {
10
+ version: number | string;
11
+ };
12
+ adapterLabware?: (Omit<FlexStackerStoredLabwareDetails, 'version'> & {
13
+ version: number | string;
14
+ }) | null;
15
+ lidLabware?: (Omit<FlexStackerStoredLabwareDetails, 'version'> & {
16
+ version: number | string;
17
+ }) | null;
18
+ }, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
6
19
  export declare const forFlexStackerSetStoredLabwareItems: (params: FlexStackerSetStoredLabwareItemsParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
7
- export declare const forFlexStackerFill: (params: FlexStackerFillParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
8
- export declare const forFlexStackerRetrieve: (params: FlexStackerRetrieveCreateCommand['params'], invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
9
- export declare const forFlexStackerStore: (params: FlexStackerStoreCreateCommand['params'], invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
20
+ export declare const forFlexStackerFill: (params: Omit<FlexStackerFillParams, 'count'> & {
21
+ count?: number | string;
22
+ }, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
23
+ export declare const forFlexStackerRetrieve: (params: ModuleStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
24
+ export declare const forFlexStackerStore: (params: ModuleStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
@@ -1,5 +1,4 @@
1
- import type { ModuleOnlyParams, TemperatureModuleAwaitTemperatureParams, TemperatureParams } from '@opentrons/shared-data';
2
- import type { InvariantContext, RobotStateAndWarnings } from '../types';
3
- export declare function forSetTemperature(params: TemperatureParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings): void;
4
- export declare function forAwaitTemperature(params: TemperatureModuleAwaitTemperatureParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings): void;
5
- export declare function forDeactivateTemperature(params: ModuleOnlyParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings): void;
1
+ import type { InvariantContext, ModuleStepGenArgs, RobotStateAndWarnings, SetTemperatureStepGenArgs, WaitForTemperatureStepGenArgs } from '../types';
2
+ export declare function forSetTemperature(params: SetTemperatureStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings): void;
3
+ export declare function forAwaitTemperature(params: WaitForTemperatureStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings): void;
4
+ export declare function forDeactivateTemperature(params: ModuleStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings): void;
@@ -1,18 +1,34 @@
1
- import type { TCExtendedProfileParams, TCStartExtendedProfileParams } from '@opentrons/shared-data';
2
- import type { ModuleOnlyParams, TCProfileParams, TemperatureParams, ThermocyclerSetTargetBlockTemperatureParams } from '@opentrons/shared-data/protocol/types/schemaV6/command/module';
3
- import type { InvariantContext, RobotStateAndWarnings, ThermocyclerModuleState } from '../types';
4
- export declare const forThermocyclerSetTargetBlockTemperature: (params: ThermocyclerSetTargetBlockTemperatureParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
5
- export declare const forThermocyclerSetTargetLidTemperature: (params: TemperatureParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
6
- export declare const forThermocyclerAwaitBlockTemperature: (params: ModuleOnlyParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
7
- export declare const forThermocyclerAwaitLidTemperature: (params: ModuleOnlyParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
8
- export declare const forThermocyclerAwaitProfileComplete: (params: ModuleOnlyParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
9
- export declare const forThermocyclerDeactivateBlock: (params: ModuleOnlyParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
10
- export declare const forThermocyclerDeactivateLid: (params: ModuleOnlyParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
11
- export declare const forThermocyclerCloseLid: (params: ModuleOnlyParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
12
- export declare const forThermocyclerOpenLid: (params: ModuleOnlyParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
13
- export declare const forThermocyclerRunProfile: (params: TCProfileParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
14
- export declare const forThermocyclerRunExtendedProfile: (params: TCExtendedProfileParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
15
- export declare const forThermocyclerStartRunExtendedProfile: (params: TCStartExtendedProfileParams, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
1
+ import type { InvariantContext, ModuleStepGenArgs, RobotStateAndWarnings, SetTemperatureStepGenArgs, ThermocyclerModuleState } from '../types';
2
+ interface RuntimeProfileStep {
3
+ celsius: number | string;
4
+ holdSeconds: number | string;
5
+ }
6
+ type RuntimeProfileElement = RuntimeProfileStep | {
7
+ steps: RuntimeProfileStep[];
8
+ repetitions: number | string;
9
+ };
10
+ export declare const forThermocyclerSetTargetBlockTemperature: (params: SetTemperatureStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
11
+ export declare const forThermocyclerSetTargetLidTemperature: (params: SetTemperatureStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
12
+ export declare const forThermocyclerAwaitBlockTemperature: (params: ModuleStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
13
+ export declare const forThermocyclerAwaitLidTemperature: (params: ModuleStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
14
+ export declare const forThermocyclerAwaitProfileComplete: (params: ModuleStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
15
+ export declare const forThermocyclerDeactivateBlock: (params: ModuleStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
16
+ export declare const forThermocyclerDeactivateLid: (params: ModuleStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
17
+ export declare const forThermocyclerCloseLid: (params: ModuleStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
18
+ export declare const forThermocyclerOpenLid: (params: ModuleStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
19
+ export declare const forThermocyclerRunProfile: (params: ModuleStepGenArgs & {
20
+ profile: RuntimeProfileStep[];
21
+ blockMaxVolumeUl?: number | string;
22
+ }, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
23
+ export declare const forThermocyclerRunExtendedProfile: (params: ModuleStepGenArgs & {
24
+ profileElements: RuntimeProfileElement[];
25
+ blockMaxVolumeUl?: number | string;
26
+ }, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
27
+ export declare const forThermocyclerStartRunExtendedProfile: (params: ModuleStepGenArgs & {
28
+ profileElements: RuntimeProfileElement[];
29
+ blockMaxVolumeUl?: number | string;
30
+ taskId?: string | null;
31
+ }, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => boolean;
16
32
  /**
17
33
  * Update Thermocycler state to account for the given task being awaited.
18
34
  *
@@ -20,3 +36,4 @@ export declare const forThermocyclerStartRunExtendedProfile: (params: TCStartExt
20
36
  * If it's not a Thermocycler-related task, this returns `false` and no-ops.
21
37
  */
22
38
  export declare const handleWaitForTaskForThermocyclers: (thermocyclerModuleState: ThermocyclerModuleState) => boolean;
39
+ export {};
@@ -1,9 +1,14 @@
1
- import type { VacuumModuleOpenVentCreateCommand, VacuumModuleSetTargetPowerCreateCommand, VacuumModuleSetTargetPressureCreateCommand, VacuumModuleStartRunProfileCreateCommand, VacuumModuleStopPumpCreateCommand } from '@opentrons/shared-data';
2
- import type { InvariantContext, RobotStateAndWarnings, VacuumModuleState } from '../types';
3
- export declare const forVacuumOpenVent: (params: VacuumModuleOpenVentCreateCommand['params'], invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
4
- export declare const forVacuumCloseVent: (params: VacuumModuleOpenVentCreateCommand['params'], invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
5
- export declare const forVacuumSetPumpPressure: (params: VacuumModuleSetTargetPressureCreateCommand['params'], invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
6
- export declare const forVacuumSetPumpPower: (params: VacuumModuleSetTargetPowerCreateCommand['params'], invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
7
- export declare const forVacuumStopPump: (params: VacuumModuleStopPumpCreateCommand['params'], invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
8
- export declare const forVacuumStartRunProfile: (params: VacuumModuleStartRunProfileCreateCommand['params'], invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
1
+ import type { InvariantContext, ModuleStepGenArgs, RobotStateAndWarnings, VacuumModuleState, VacuumSetPumpPowerStepGenArgs, VacuumSetPumpPressureStepGenArgs, VacuumStartRunProfileStepGenArgs } from '../types';
2
+ export declare const forVacuumOpenVent: (params: ModuleStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
3
+ export declare const forVacuumCloseVent: (params: ModuleStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
4
+ export declare const forVacuumSetPumpPressure: (params: VacuumSetPumpPressureStepGenArgs & {
5
+ taskId?: string | null;
6
+ }, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
7
+ export declare const forVacuumSetPumpPower: (params: VacuumSetPumpPowerStepGenArgs & {
8
+ taskId?: string | null;
9
+ }, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
10
+ export declare const forVacuumStopPump: (params: ModuleStepGenArgs, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
11
+ export declare const forVacuumStartRunProfile: (params: VacuumStartRunProfileStepGenArgs & {
12
+ taskId?: string | null;
13
+ }, invariantContext: InvariantContext, robotStateAndWarnings: RobotStateAndWarnings) => void;
9
14
  export declare const handleWaitForTaskForVacuums: (vacuumModuleState: VacuumModuleState) => boolean;