From e3a668a054eb56f9627be7834f8e18cbb11dcd8f Mon Sep 17 00:00:00 2001 From: Mohamed Houssein Douici Date: Mon, 27 Apr 2026 18:35:22 +0200 Subject: [PATCH] chore: export the enum view calendar layout to avoid typing errors on apps (#20090) This is a small PR to fix an issue that came up when I created an app with a custom object. I think the enum `ViewCalendarLayout` was not caught as part of the exports. image --- .../__snapshots__/stub-twenty-sdk-define.plugin.spec.ts.snap | 1 + packages/twenty-sdk/src/sdk/define/index.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/twenty-sdk/src/cli/utilities/build/common/plugins/__tests__/__snapshots__/stub-twenty-sdk-define.plugin.spec.ts.snap b/packages/twenty-sdk/src/cli/utilities/build/common/plugins/__tests__/__snapshots__/stub-twenty-sdk-define.plugin.spec.ts.snap index c860e4176b..791e0e96b4 100644 --- a/packages/twenty-sdk/src/cli/utilities/build/common/plugins/__tests__/__snapshots__/stub-twenty-sdk-define.plugin.spec.ts.snap +++ b/packages/twenty-sdk/src/cli/utilities/build/common/plugins/__tests__/__snapshots__/stub-twenty-sdk-define.plugin.spec.ts.snap @@ -17,6 +17,7 @@ exports[`stub-twenty-sdk-define plugin > matches the recorded export partition 1 "RelationType", "STANDARD_OBJECT", "STANDARD_OBJECT_UNIVERSAL_IDENTIFIERS", + "ViewCalendarLayout", "ViewFilterGroupLogicalOperator", "ViewFilterOperand", "ViewKey", diff --git a/packages/twenty-sdk/src/sdk/define/index.ts b/packages/twenty-sdk/src/sdk/define/index.ts index e53b54d8c3..2ca830bd04 100644 --- a/packages/twenty-sdk/src/sdk/define/index.ts +++ b/packages/twenty-sdk/src/sdk/define/index.ts @@ -108,6 +108,7 @@ export { NumberDataType, ObjectRecordGroupByDateGranularity, PageLayoutTabLayoutMode, + ViewCalendarLayout, ViewFilterGroupLogicalOperator, ViewFilterOperand, ViewOpenRecordIn,