Add front component widget (#17440)

Modified the data model and introduced a seed to introduce front
components widgets.
This commit is contained in:
Raphaël Bosi
2026-01-26 13:45:58 +01:00
committed by GitHub
parent e0d4492013
commit 7e7a535af0
36 changed files with 596 additions and 190 deletions
@@ -7,6 +7,7 @@ import {
type EmailsConfiguration,
type FieldRichTextConfiguration,
type FilesConfiguration,
type FrontComponentConfiguration,
type GaugeChartConfiguration,
type IframeConfiguration,
type LineChartConfiguration,
@@ -36,6 +37,12 @@ type WidgetConfigurationTypenameMap = {
CalendarConfiguration: Omit<CalendarConfiguration, 'configurationType'> & {
configurationType: WidgetConfigurationType.CALENDAR;
};
FrontComponentConfiguration: Omit<
FrontComponentConfiguration,
'configurationType'
> & {
configurationType: WidgetConfigurationType.FRONT_COMPONENT;
};
EmailsConfiguration: Omit<EmailsConfiguration, 'configurationType'> & {
configurationType: WidgetConfigurationType.EMAILS;
};