Skip to content

Commit e3a668a

Browse files
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. <img width="1624" height="1114" alt="image" src="https://github.com/user-attachments/assets/7bca3d0d-0e68-48ef-ac5f-6a3375733499" />
1 parent 74536e6 commit e3a668a

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

packages/twenty-sdk/src/cli/utilities/build/common/plugins/__tests__/__snapshots__/stub-twenty-sdk-define.plugin.spec.ts.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ exports[`stub-twenty-sdk-define plugin > matches the recorded export partition 1
1717
"RelationType",
1818
"STANDARD_OBJECT",
1919
"STANDARD_OBJECT_UNIVERSAL_IDENTIFIERS",
20+
"ViewCalendarLayout",
2021
"ViewFilterGroupLogicalOperator",
2122
"ViewFilterOperand",
2223
"ViewKey",

packages/twenty-sdk/src/sdk/define/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ export {
108108
NumberDataType,
109109
ObjectRecordGroupByDateGranularity,
110110
PageLayoutTabLayoutMode,
111+
ViewCalendarLayout,
111112
ViewFilterGroupLogicalOperator,
112113
ViewFilterOperand,
113114
ViewOpenRecordIn,

0 commit comments

Comments
 (0)