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