From 4221549f90b08b10e2c3562af79d5a358ae3fa9b Mon Sep 17 00:00:00 2001 From: Ian London Date: Tue, 4 May 2021 13:45:09 -0400 Subject: [PATCH] refactor(step-generation): remove dependency on components (#7755) * add missing shared-data dependency in package.json Closes #7747 --- step-generation/package.json | 1 + step-generation/src/types.js | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/step-generation/package.json b/step-generation/package.json index 6eba0e220f0..cafa51c142a 100644 --- a/step-generation/package.json +++ b/step-generation/package.json @@ -19,6 +19,7 @@ "homepage": "https://github.com/Opentrons/opentrons", "license": "Apache-2.0", "dependencies": { + "@opentrons/shared-data": "4.3.0-beta.0", "core-js": "3.2.1", "immer": "5.1.0", "lodash": "4.17.15" diff --git a/step-generation/src/types.js b/step-generation/src/types.js index 4a1450b05ed..c137b7bf39c 100644 --- a/step-generation/src/types.js +++ b/step-generation/src/types.js @@ -1,5 +1,4 @@ // @flow -import type { Mount } from '@opentrons/components' import typeof { MAGNETIC_MODULE_TYPE, TEMPERATURE_MODULE_TYPE, @@ -7,8 +6,9 @@ import typeof { } from '@opentrons/shared-data' import type { LabwareDefinition2, - ModuleRealType, ModuleModel, + ModuleRealType, + PipetteMount, PipetteNameSpecs, } from '@opentrons/shared-data' import type { @@ -32,7 +32,7 @@ export type LabwareTemporalProperties = {| |} export type PipetteTemporalProperties = {| - mount: Mount, + mount: PipetteMount, |} export type MagneticModuleState = {|