Skip to content

Commit 32d0a66

Browse files
authored
feat(app, shared-data): update QT command schema version to 14 (#18944)
1 parent 8a3321f commit 32d0a66

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

app/src/organisms/ODD/QuickTransferFlow/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ touchTipDispense = -(destWellHeight - prevTouchTipDispense)
6262
Due to changes in the Quick Transfer setup flow, there will be changes to QuickTransferWizardState and QuickTransferSummaryState. The changes are as follows:
6363
the comment `this has been added` will be removed before feature freeze.
6464

65+
Now using command schema 14
66+
6567
```ts
6668
export interface QuickTransferWizardState {
6769
pipette?: PipetteV2Specs

app/src/organisms/ODD/QuickTransferFlow/utils/createQuickTransferFile.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import { pythonDef } from './pythonDef'
2424
import type {
2525
AddressableAreaName,
2626
CommandAnnotationV1Mixin,
27-
CommandV8Mixin,
27+
CommandV14Mixin,
2828
CreateCommand,
2929
CutoutId,
3030
DeckConfiguration,
@@ -242,8 +242,8 @@ export function createQuickTransferFile(
242242
liquids: {},
243243
}
244244

245-
const commandv8Mixin: CommandV8Mixin = {
246-
commandSchemaId: 'opentronsCommandSchemaV8',
245+
const commandv8Mixin: CommandV14Mixin = {
246+
commandSchemaId: 'opentronsCommandSchemaV14',
247247
commands,
248248
}
249249

shared-data/protocol/types/schemaV8/index.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ export interface CommandV13Mixin {
4747
commands: CreateCommand[]
4848
}
4949

50+
export interface CommandV14Mixin {
51+
commandSchemaId: 'opentronsCommandSchemaV14'
52+
commands: CreateCommand[]
53+
}
54+
5055
export interface CommandAnnotationsStructure {
5156
commandAnnotationSchemaId: string
5257
commandAnnotations: any[]
@@ -143,6 +148,7 @@ export type ProtocolFile<
143148
| CommandV11Mixin
144149
| CommandV12Mixin
145150
| CommandV13Mixin
151+
| CommandV14Mixin
146152
) &
147153
CommandAnnotationV1Mixin
148154

0 commit comments

Comments
 (0)