Files
twenty/packages/twenty-front/src/modules/page-layout/widgets
Raphaël Bosi b0e256221a Create typeguards for widget configurations (#16627)
We checked for widget types by doing `configuration?.__typename ===
'LineChartConfiguration'` which made the code difficult to read.

In this PR, I introduce type guards for each widget type.

Note: the configuration type is `WidgetConfiguration |
FieldsConfiguration` for now but should be changed to
`WidgetConfiguration` when @Devessier adds FieldsConfiguration to the
backend type `WidgetConfiguration`.
2025-12-17 17:48:34 +01:00
..
2025-12-10 10:31:36 +01:00
2025-12-10 10:31:36 +01:00
2025-11-24 11:51:32 +01:00
2025-11-24 11:51:32 +01:00