Skip to content

Commit

Permalink
fix Record type for new api-client types
Browse files Browse the repository at this point in the history
  • Loading branch information
ncdiehl11 committed Jun 13, 2024
1 parent 5e167c0 commit 257dd10
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions api-client/src/runs/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,9 @@ export interface LabwareOffsetCreateData {
vector: VectorOffset
}

interface FileRunTimeParameterCreateData {
[key: string]: string | number | boolean
}
interface ValueRunTimeParameterCreateData {
[key: string]: { id: string }
}
type FileRunTimeParameterCreateData = Record<string, string | number | boolean>

type ValueRunTimeParameterCreateData = Record<string, { id: string }>

export type RunTimeParameterCreateData =
| FileRunTimeParameterCreateData
Expand Down

0 comments on commit 257dd10

Please sign in to comment.