Skip to content

Commit 97060a4

Browse files
authored
fix(protocol-designer): update json to command schema 14 (#19073)
closes AUTH-1497
1 parent 93324d5 commit 97060a4

File tree

11 files changed

+19
-13
lines changed

11 files changed

+19
-13
lines changed

protocol-designer/fixtures/protocol/8/doItAllV3MigratedToV8.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2670,7 +2670,7 @@
26702670
"displayColor": "#b925ff"
26712671
}
26722672
},
2673-
"commandSchemaId": "opentronsCommandSchemaV10",
2673+
"commandSchemaId": "opentronsCommandSchemaV14",
26742674
"commands": [
26752675
{
26762676
"key": "c85ee673-fbc8-4831-8edf-29570cb23561",

protocol-designer/fixtures/protocol/8/doItAllV4MigratedToV8.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2694,7 +2694,7 @@
26942694
"displayColor": "#b925ff"
26952695
}
26962696
},
2697-
"commandSchemaId": "opentronsCommandSchemaV10",
2697+
"commandSchemaId": "opentronsCommandSchemaV14",
26982698
"commands": [
26992699
{
27002700
"key": "d08e269a-ebd5-4f00-8835-d4cf48f91bc2",

protocol-designer/fixtures/protocol/8/doItAllV7MigratedToV8.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4081,7 +4081,7 @@
40814081
"displayColor": "#ffd600"
40824082
}
40834083
},
4084-
"commandSchemaId": "opentronsCommandSchemaV10",
4084+
"commandSchemaId": "opentronsCommandSchemaV14",
40854085
"commands": [
40864086
{
40874087
"key": "6f95dddd-e02a-40dc-a239-e19fa19679ce",

protocol-designer/fixtures/protocol/8/doItAllV8.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3595,7 +3595,7 @@
35953595
"displayColor": "#ffd600"
35963596
}
35973597
},
3598-
"commandSchemaId": "opentronsCommandSchemaV10",
3598+
"commandSchemaId": "opentronsCommandSchemaV14",
35993599
"commands": [
36003600
{
36013601
"key": "05d36c47-4c9c-4e71-b79b-887983ec4d95",

protocol-designer/fixtures/protocol/8/example_1_1_0MigratedToV8.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3582,7 +3582,7 @@
35823582
"displayColor": "#ffd600"
35833583
}
35843584
},
3585-
"commandSchemaId": "opentronsCommandSchemaV10",
3585+
"commandSchemaId": "opentronsCommandSchemaV14",
35863586
"commands": [
35873587
{
35883588
"key": "5e5b7a38-df51-4e7a-8bee-a5a698b31ef2",

protocol-designer/fixtures/protocol/8/mix_8_0_0.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2140,7 +2140,7 @@
21402140
},
21412141
"liquidSchemaId": "opentronsLiquidSchemaV1",
21422142
"liquids": {},
2143-
"commandSchemaId": "opentronsCommandSchemaV10",
2143+
"commandSchemaId": "opentronsCommandSchemaV14",
21442144
"commands": [
21452145
{
21462146
"key": "d66aa1db-df76-492d-ab2c-533b982522aa",

protocol-designer/fixtures/protocol/8/newAdvancedSettingsAndMultiTemp.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3649,7 +3649,7 @@
36493649
},
36503650
"liquidSchemaId": "opentronsLiquidSchemaV1",
36513651
"liquids": {},
3652-
"commandSchemaId": "opentronsCommandSchemaV10",
3652+
"commandSchemaId": "opentronsCommandSchemaV14",
36533653
"commands": [
36543654
{
36553655
"key": "62957217-7b11-4df8-b810-214307ce9ceb",

protocol-designer/fixtures/protocol/8/ninetySixChannelFullAndColumn.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2386,7 +2386,7 @@
23862386
},
23872387
"liquidSchemaId": "opentronsLiquidSchemaV1",
23882388
"liquids": {},
2389-
"commandSchemaId": "opentronsCommandSchemaV10",
2389+
"commandSchemaId": "opentronsCommandSchemaV14",
23902390
"commands": [
23912391
{
23922392
"key": "3e17b235-5fa0-4d7e-8826-abe7b481fc81",

protocol-designer/fixtures/protocol/8/thermocyclerOnOt2V7MigratedToV8.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2274,7 +2274,7 @@
22742274
"displayColor": "#b925ff"
22752275
}
22762276
},
2277-
"commandSchemaId": "opentronsCommandSchemaV10",
2277+
"commandSchemaId": "opentronsCommandSchemaV14",
22782278
"commands": [
22792279
{
22802280
"key": "ffe32279-1362-4a67-bb58-44c67d98458d",

protocol-designer/src/file-data/selectors/fileCreator.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ import {
3939

4040
import type {
4141
CommandAnnotationV1Mixin,
42-
CommandV10Mixin,
42+
CommandV14Mixin,
4343
CreateCommand,
4444
LabwareV2Mixin,
4545
LiquidV1Mixin,
@@ -253,8 +253,8 @@ export const createJSONFile: Selector<ProtocolFile> = createSelector(
253253
liquids,
254254
}
255255

256-
const commandv10Mixin: CommandV10Mixin = {
257-
commandSchemaId: 'opentronsCommandSchemaV10',
256+
const commandv14Mixin: CommandV14Mixin = {
257+
commandSchemaId: 'opentronsCommandSchemaV14',
258258
commands,
259259
}
260260

@@ -310,7 +310,7 @@ export const createJSONFile: Selector<ProtocolFile> = createSelector(
310310
...deckStructure,
311311
...labwareV2Mixin,
312312
...liquidV2Mixin,
313-
...commandv10Mixin,
313+
...commandv14Mixin,
314314
...commandAnnotionaV1Mixin,
315315
}
316316
}

0 commit comments

Comments
 (0)