Skip to content

Commit

Permalink
TS fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
smb2268 committed Feb 21, 2024
1 parent 7557e9f commit 9f8ff27
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion api-client/src/calibration/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export interface TipLengthCalibration {
source: CalibrationSourceType
status: IndividualCalibrationHealthStatus
id: string
uri?: string | null
uri: string
}

export interface AllTipLengthCalibrations {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ export const mockBadTipLengthCalibrations: TipLengthCalibration[] = [
source: 'user',
status: { markedBad: true, source: null, markedAt: null },
id: 'test-tip-length-id-1',
uri: 'test-uri',
},
{
tipLength: 0,
Expand All @@ -100,6 +101,7 @@ export const mockBadTipLengthCalibrations: TipLengthCalibration[] = [
source: 'user',
status: { markedBad: true, source: null, markedAt: null },
id: 'test-tip-length-id-2',
uri: 'test-uri-2',
},
]

Expand All @@ -112,6 +114,7 @@ export const mockCompleteTipLengthCalibrations: TipLengthCalibration[] = [
source: 'user',
status: { markedBad: false, source: null, markedAt: null },
id: 'test-tip-length-id-1',
uri: 'test-uri',
},
{
tipLength: 0,
Expand All @@ -121,6 +124,7 @@ export const mockCompleteTipLengthCalibrations: TipLengthCalibration[] = [
source: 'user',
status: { markedBad: false, source: null, markedAt: null },
id: 'test-tip-length-id-2',
uri: 'test-uri-2',
},
]

Expand All @@ -133,6 +137,7 @@ export const mockIncompleteTipLengthCalibrations: TipLengthCalibration[] = [
source: 'user',
status: { markedBad: false, source: null, markedAt: null },
id: 'test-tip-length-id-2',
uri: 'test-uri-2',
},
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export const mockTipLengthCalibration1: TipLengthCalibration = {
markedAt: '',
},
id: 'someID',
uri: 'test-uri',
}

export const mockTipLengthCalibration2: TipLengthCalibration = {
Expand All @@ -37,6 +38,7 @@ export const mockTipLengthCalibration2: TipLengthCalibration = {
markedAt: '',
},
id: 'someID',
uri: 'test-uri',
}

export const mockTipLengthCalibration3: TipLengthCalibration = {
Expand All @@ -51,6 +53,7 @@ export const mockTipLengthCalibration3: TipLengthCalibration = {
markedAt: '',
},
id: 'someID',
uri: 'test-uri',
}

export const mockPipetteMatchTipLengthCalibration: AllTipLengthCalibrations = {
Expand Down

0 comments on commit 9f8ff27

Please sign in to comment.