Skip to content

Commit 9f8ff27

Browse files
committed
TS fixes
1 parent 7557e9f commit 9f8ff27

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

api-client/src/calibration/types.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export interface TipLengthCalibration {
9393
source: CalibrationSourceType
9494
status: IndividualCalibrationHealthStatus
9595
id: string
96-
uri?: string | null
96+
uri: string
9797
}
9898

9999
export interface AllTipLengthCalibrations {

app/src/organisms/Devices/hooks/__fixtures__/taskListFixtures.ts

+5
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ export const mockBadTipLengthCalibrations: TipLengthCalibration[] = [
9191
source: 'user',
9292
status: { markedBad: true, source: null, markedAt: null },
9393
id: 'test-tip-length-id-1',
94+
uri: 'test-uri',
9495
},
9596
{
9697
tipLength: 0,
@@ -100,6 +101,7 @@ export const mockBadTipLengthCalibrations: TipLengthCalibration[] = [
100101
source: 'user',
101102
status: { markedBad: true, source: null, markedAt: null },
102103
id: 'test-tip-length-id-2',
104+
uri: 'test-uri-2',
103105
},
104106
]
105107

@@ -112,6 +114,7 @@ export const mockCompleteTipLengthCalibrations: TipLengthCalibration[] = [
112114
source: 'user',
113115
status: { markedBad: false, source: null, markedAt: null },
114116
id: 'test-tip-length-id-1',
117+
uri: 'test-uri',
115118
},
116119
{
117120
tipLength: 0,
@@ -121,6 +124,7 @@ export const mockCompleteTipLengthCalibrations: TipLengthCalibration[] = [
121124
source: 'user',
122125
status: { markedBad: false, source: null, markedAt: null },
123126
id: 'test-tip-length-id-2',
127+
uri: 'test-uri-2',
124128
},
125129
]
126130

@@ -133,6 +137,7 @@ export const mockIncompleteTipLengthCalibrations: TipLengthCalibration[] = [
133137
source: 'user',
134138
status: { markedBad: false, source: null, markedAt: null },
135139
id: 'test-tip-length-id-2',
140+
uri: 'test-uri-2',
136141
},
137142
]
138143

app/src/redux/calibration/tip-length/__fixtures__/tip-length-calibration.ts

+3
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export const mockTipLengthCalibration1: TipLengthCalibration = {
2323
markedAt: '',
2424
},
2525
id: 'someID',
26+
uri: 'test-uri',
2627
}
2728

2829
export const mockTipLengthCalibration2: TipLengthCalibration = {
@@ -37,6 +38,7 @@ export const mockTipLengthCalibration2: TipLengthCalibration = {
3738
markedAt: '',
3839
},
3940
id: 'someID',
41+
uri: 'test-uri',
4042
}
4143

4244
export const mockTipLengthCalibration3: TipLengthCalibration = {
@@ -51,6 +53,7 @@ export const mockTipLengthCalibration3: TipLengthCalibration = {
5153
markedAt: '',
5254
},
5355
id: 'someID',
56+
uri: 'test-uri',
5457
}
5558

5659
export const mockPipetteMatchTipLengthCalibration: AllTipLengthCalibrations = {

0 commit comments

Comments
 (0)