Skip to content

Commit 9fa3f59

Browse files
authored
refactor(app): update to command schema 15 for QT (#20131)
1 parent e9fc062 commit 9fa3f59

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import { pythonDef } from './pythonDef'
2121

2222
import type {
2323
CommandAnnotationV1Mixin,
24-
CommandV14Mixin,
24+
CommandV15Mixin,
2525
CreateCommand,
2626
DeckConfiguration,
2727
LabwareDefinition2,
@@ -206,8 +206,8 @@ export function createQuickTransferFile(
206206
liquids: {},
207207
}
208208

209-
const commandv8Mixin: CommandV14Mixin = {
210-
commandSchemaId: 'opentronsCommandSchemaV14',
209+
const commandv8Mixin: CommandV15Mixin = {
210+
commandSchemaId: 'opentronsCommandSchemaV15',
211211
commands,
212212
}
213213

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@ export interface CommandV14Mixin {
5353
commands: CreateCommand[]
5454
}
5555

56+
export interface CommandV15Mixin {
57+
commandSchemaId: 'opentronsCommandSchemaV15'
58+
commands: CreateCommand[]
59+
}
60+
5661
export interface CommandAnnotationsStructure {
5762
commandAnnotationSchemaId: string
5863
commandAnnotations: any[]

0 commit comments

Comments
 (0)