Skip to content

Commit

Permalink
feat(shared-data): add command schema 10 (#16401)
Browse files Browse the repository at this point in the history
This is a new default command schema that we'll use for implementing
static meniscus-relative pipetting.

There are a couple odd changes in step-generation to look at because the
command types finally changed in a way that was incompatible with the
schema v6 types there. However, there's not an incompatible change in
the commands, it's just that the types were inappropriately wide.
  • Loading branch information
sfoster1 authored Oct 2, 2024
1 parent a5f4f04 commit 8f81026
Show file tree
Hide file tree
Showing 15 changed files with 4,603 additions and 175 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import type {
import type {
RunTimeCommand,
ProtocolAnalysisOutput,
PickUpTipRunTimeCommand,
} from '@opentrons/shared-data'
import type { PickUpTipRunTimeCommand } from '@opentrons/shared-data/protocol/types/schemaV6/command/pipetting'
import type { LabwareLocationCombo } from '../../ApplyHistoricOffsets/hooks/getLabwareLocationCombos'

interface LPCArgs {
Expand Down
4 changes: 3 additions & 1 deletion shared-data/command/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import commandSchemaV7 from './schemas/7.json'
import commandSchemaV8 from './schemas/8.json'
import commandSchemaV9 from './schemas/9.json'
import commandSchemaV10 from './schemas/10.json'
export * from './types/index'
export const commandSchemaLatest = commandSchemaV10

export { commandSchemaV7, commandSchemaV8, commandSchemaV9 }
export { commandSchemaV7, commandSchemaV8, commandSchemaV9, commandSchemaV10 }
Loading

0 comments on commit 8f81026

Please sign in to comment.