From 55204871a236cd77e0fd0c0a43fd58b767215b4d Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Wed, 15 Jan 2025 12:35:36 +0100 Subject: [PATCH] Fix types --- packages/frontend-core/src/fetch/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/frontend-core/src/fetch/index.ts b/packages/frontend-core/src/fetch/index.ts index 53a33a5be7..4f353da882 100644 --- a/packages/frontend-core/src/fetch/index.ts +++ b/packages/frontend-core/src/fetch/index.ts @@ -89,10 +89,12 @@ export type DataFetchDefinition = | Table | ViewV2Enriched | { + // These fields are added to allow checking these fields on definition usages without requiring constant castings schema?: Record | null primaryDisplay?: string rowHeight?: number type?: string + name?: string } // Constructs a new fetch model for a certain datasource