From 257dd1081a3d0234edcd9b23588d9bf77fa23c9c Mon Sep 17 00:00:00 2001 From: ncdiehl11 Date: Thu, 13 Jun 2024 15:46:40 -0400 Subject: [PATCH] fix Record type for new api-client types --- api-client/src/runs/types.ts | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/api-client/src/runs/types.ts b/api-client/src/runs/types.ts index f335dc430f8..472b8ae0395 100644 --- a/api-client/src/runs/types.ts +++ b/api-client/src/runs/types.ts @@ -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 + +type ValueRunTimeParameterCreateData = Record export type RunTimeParameterCreateData = | FileRunTimeParameterCreateData