-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove desktop app load fixture stubs and update types
- Loading branch information
1 parent
e83ce50
commit 2f8c544
Showing
26 changed files
with
278 additions
and
351 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,73 +1,61 @@ | ||
import { v4 as uuidv4 } from 'uuid' | ||
|
||
import { | ||
STAGING_AREA_LOAD_NAME, | ||
STANDARD_SLOT_LOAD_NAME, | ||
TRASH_BIN_LOAD_NAME, | ||
WASTE_CHUTE_LOAD_NAME, | ||
SINGLE_LEFT_SLOT_FIXTURE, | ||
SINGLE_CENTER_SLOT_FIXTURE, | ||
SINGLE_RIGHT_SLOT_FIXTURE, | ||
STAGING_AREA_RIGHT_SLOT_FIXTURE, | ||
TRASH_BIN_ADAPTER_FIXTURE, | ||
WASTE_CHUTE_RIGHT_ADAPTER_NO_COVER_FIXTURE, | ||
} from '@opentrons/shared-data' | ||
|
||
import type { Fixture } from '@opentrons/shared-data' | ||
|
||
export const DECK_CONFIG_STUB: { [fixtureLocation: string]: Fixture } = { | ||
export const DECK_CONFIG_STUB: { [cutoutId: string]: Fixture } = { | ||
cutoutA1: { | ||
fixtureLocation: 'cutoutA1', | ||
loadName: STANDARD_SLOT_LOAD_NAME, | ||
fixtureId: uuidv4(), | ||
cutoutId: 'cutoutA1', | ||
cutoutFixtureId: SINGLE_LEFT_SLOT_FIXTURE, | ||
}, | ||
cutoutB1: { | ||
fixtureLocation: 'cutoutB1', | ||
loadName: STANDARD_SLOT_LOAD_NAME, | ||
fixtureId: uuidv4(), | ||
cutoutId: 'cutoutB1', | ||
cutoutFixtureId: SINGLE_LEFT_SLOT_FIXTURE, | ||
}, | ||
cutoutC1: { | ||
fixtureLocation: 'cutoutC1', | ||
loadName: STANDARD_SLOT_LOAD_NAME, | ||
fixtureId: uuidv4(), | ||
cutoutId: 'cutoutC1', | ||
cutoutFixtureId: SINGLE_LEFT_SLOT_FIXTURE, | ||
}, | ||
cutoutD1: { | ||
fixtureLocation: 'cutoutD1', | ||
loadName: STANDARD_SLOT_LOAD_NAME, | ||
fixtureId: uuidv4(), | ||
cutoutId: 'cutoutD1', | ||
cutoutFixtureId: SINGLE_LEFT_SLOT_FIXTURE, | ||
}, | ||
cutoutA2: { | ||
fixtureLocation: 'cutoutA2', | ||
loadName: STANDARD_SLOT_LOAD_NAME, | ||
fixtureId: uuidv4(), | ||
cutoutId: 'cutoutA2', | ||
cutoutFixtureId: SINGLE_CENTER_SLOT_FIXTURE, | ||
}, | ||
cutoutB2: { | ||
fixtureLocation: 'cutoutB2', | ||
loadName: STANDARD_SLOT_LOAD_NAME, | ||
fixtureId: uuidv4(), | ||
cutoutId: 'cutoutB2', | ||
cutoutFixtureId: SINGLE_CENTER_SLOT_FIXTURE, | ||
}, | ||
cutoutC2: { | ||
fixtureLocation: 'cutoutC2', | ||
loadName: STANDARD_SLOT_LOAD_NAME, | ||
fixtureId: uuidv4(), | ||
cutoutId: 'cutoutC2', | ||
cutoutFixtureId: SINGLE_CENTER_SLOT_FIXTURE, | ||
}, | ||
cutoutD2: { | ||
fixtureLocation: 'cutoutD2', | ||
loadName: STANDARD_SLOT_LOAD_NAME, | ||
fixtureId: uuidv4(), | ||
cutoutId: 'cutoutD2', | ||
cutoutFixtureId: SINGLE_CENTER_SLOT_FIXTURE, | ||
}, | ||
cutoutA3: { | ||
fixtureLocation: 'cutoutA3', | ||
loadName: TRASH_BIN_LOAD_NAME, | ||
fixtureId: uuidv4(), | ||
cutoutId: 'cutoutA3', | ||
cutoutFixtureId: TRASH_BIN_ADAPTER_FIXTURE, | ||
}, | ||
cutoutB3: { | ||
fixtureLocation: 'cutoutB3', | ||
loadName: STANDARD_SLOT_LOAD_NAME, | ||
fixtureId: uuidv4(), | ||
cutoutId: 'cutoutB3', | ||
cutoutFixtureId: SINGLE_RIGHT_SLOT_FIXTURE, | ||
}, | ||
cutoutC3: { | ||
fixtureLocation: 'cutoutC3', | ||
loadName: STAGING_AREA_LOAD_NAME, | ||
fixtureId: uuidv4(), | ||
cutoutId: 'cutoutC3', | ||
cutoutFixtureId: STAGING_AREA_RIGHT_SLOT_FIXTURE, | ||
}, | ||
cutoutD3: { | ||
fixtureLocation: 'cutoutD3', | ||
loadName: WASTE_CHUTE_LOAD_NAME, | ||
fixtureId: uuidv4(), | ||
cutoutId: 'cutoutD3', | ||
cutoutFixtureId: WASTE_CHUTE_RIGHT_ADAPTER_NO_COVER_FIXTURE, | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.