Add front component widget (#17440)
Modified the data model and introduced a seed to introduce front components widgets.
This commit is contained in:
+7
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user