Skip to content

Commit

Permalink
Remove move lid command
Browse files Browse the repository at this point in the history
  • Loading branch information
smb2268 committed Jan 30, 2025
1 parent df9aa81 commit 9c60b01
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ export function useCommandTextString(

case 'loadLabware':
case 'reloadLabware':
case 'loadLid':
case 'loadLidStack':
case 'loadPipette':
case 'loadModule':
case 'loadLiquid':
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,13 @@ export const getLoadCommandText = ({
display_location: displayLocation,
})
}
// TODO: finish these strings
case 'loadLid': {
return t('load_lid')
}
case 'loadLidStack': {
return t('load_lid_stack')
}
case 'reloadLabware': {
const { labwareId } = command.params
const labware =
Expand Down
19 changes: 0 additions & 19 deletions shared-data/command/types/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,6 @@ export interface MoveLabwareRunTimeCommand
MoveLabwareCreateCommand {
result?: MoveLabwareResult
}
export interface MoveLidCreateCommand extends CommonCommandCreateInfo {
commandType: 'moveLid'
params: MoveLidParams
}
export interface MoveLidRunTimeCommand
extends CommonCommandRunTimeInfo,
MoveLidCreateCommand {
result?: MoveLidResult
}
export interface LoadModuleCreateCommand extends CommonCommandCreateInfo {
commandType: 'loadModule'
params: LoadModuleParams
Expand Down Expand Up @@ -118,7 +109,6 @@ export type SetupRunTimeCommand =
| MoveLabwareRunTimeCommand
| LoadLidRunTimeCommand
| LoadLidStackRunTimeCommand
| MoveLidCreateCommand

export type SetupCreateCommand =
| ConfigureNozzleLayoutCreateCommand
Expand All @@ -130,7 +120,6 @@ export type SetupCreateCommand =
| MoveLabwareCreateCommand
| LoadLidCreateCommand
| LoadLidRunTimeCommand
| MoveLidRunTimeCommand

export type LabwareLocation =
| 'offDeck'
Expand Down Expand Up @@ -196,14 +185,6 @@ export interface MoveLabwareParams {
interface MoveLabwareResult {
offsetId: string
}
interface MoveLidParams {
labwareId: string
newLocation: LabwareLocation
strategy: LabwareMovementStrategy
}
interface MoveLidResult {
offsetId: string
}
interface LoadModuleParams {
moduleId?: string
location: ModuleLocation
Expand Down

0 comments on commit 9c60b01

Please sign in to comment.