From 906abbb12af46f88bd42f44b6e33f04f0261c934 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Thu, 22 Aug 2024 11:20:43 +0200 Subject: [PATCH] Don't return primarydisplay and type --- packages/server/src/sdk/app/tables/getters.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/server/src/sdk/app/tables/getters.ts b/packages/server/src/sdk/app/tables/getters.ts index ded7f5ef09..39e43b38bc 100644 --- a/packages/server/src/sdk/app/tables/getters.ts +++ b/packages/server/src/sdk/app/tables/getters.ts @@ -173,9 +173,6 @@ export async function enrichRelationshipSchema( field.schema[relTableFieldName] = { visible: isReadonly, readonly: isReadonly, - // @ts-ignore this would require a big refactor around field typings, having document types and api dtos - primaryDisplay: isPrimaryDisplay, - type: relTableField.type, } } }