# Variable combinedWidgetContentSchema`Const`

combinedWidgetContentSchema: ZodUnion<
[
ZodObject<
ZodShape<WidgetContentBase> & ZodShape<WidgetArticleAttachmentContent>,
"strip",
ZodTypeAny,
{
fileDisplay?: "list" | "gallery";
files?: jFileLittle[];
widgets?: WidgetWrapperProps[];
},
{
fileDisplay?: "list"
| "gallery";
files?: jFileLittle[];
widgets?: WidgetWrapperProps[];
},
>,
ZodObject<
ZodShape<WidgetContentBase> & ZodShape<WidgetButtonProps> & {
openingType: ZodOptional<ZodEnum<["link", "anchor", "popup"]>>;
openingTypeAnchor: ZodOptional<
ZodObject<
ZodShape<OpeningTypeAnchor>,
"strip",
ZodTypeAny,
OpeningTypeAnchor,
OpeningTypeAnchor,
>,
>;
openingTypeLink: ZodOptional<
ZodObject<
ZodShape<OpeningTypeLink>,
"strip",
ZodTypeAny,
OpeningTypeLink,
OpeningTypeLink,
>,
>;
openingTypePopup: ZodOptional<
ZodObject<
ZodShape<OpeningTypePopup>,
"strip",
ZodTypeAny,
OpeningTypePopup,
OpeningTypePopup,
>,
>;
},
"strip",
ZodTypeAny,
{
backgroundColor?: string;
borderRadius?: string;
buttonSize?: "sm"
| "md"
| "lg";
color?: string;
fontSize?: string;
openingType?: "anchor" | "link" | "popup";
openingTypeAnchor?: OpeningTypeAnchor;
openingTypeLink?: OpeningTypeLink;
openingTypePopup?: OpeningTypePopup;
target?: string;
text?: string;
url?: string;
variant?: "contained" | "outlined";
widgets?: WidgetWrapperProps[];
},
{
backgroundColor?: string;
borderRadius?: string;
buttonSize?: "sm"
| "md"
| "lg";
color?: string;
fontSize?: string;
openingType?: "anchor" | "link" | "popup";
openingTypeAnchor?: OpeningTypeAnchor;
openingTypeLink?: OpeningTypeLink;
openingTypePopup?: OpeningTypePopup;
target?: string;
text?: string;
url?: string;
variant?: "contained" | "outlined";
widgets?: WidgetWrapperProps[];
},
>,
ZodObject<
ZodShape<WidgetContentBase> & ZodShape<WidgetButtonContent>,
"strip",
ZodTypeAny,
{
action?: WidgetButtonAction;
actionType?: "subscribegroup";
buttonStyle?: WidgetButtonStyle;
description?: string;
href?: string;
icon?: string;
iconFontSize?: WidgetButtonIconFontSize;
iconPadding?: WidgetButtonIconPadding;
iconPosition?: "left" | "right" | "top" | "bottom";
name?: string;
noReferer?: boolean;
openingType?: string;
position?:
| "left"
| "right"
| "center"
| "top"
| "bottom"
| "top-left"
| "top-right"
| "bottom-left"
| "bottom-right";
size?: "sm"
| "md"
| "lg"
| "wd";
target?: string;
widgets?: WidgetWrapperProps[];
},
{
action?: WidgetButtonAction;
actionType?: "subscribegroup";
buttonStyle?: WidgetButtonStyle;
description?: string;
href?: string;
icon?: string;
iconFontSize?: WidgetButtonIconFontSize;
iconPadding?: WidgetButtonIconPadding;
iconPosition?: "left"
| "right"
| "top"
| "bottom";
name?: string;
noReferer?: boolean;
openingType?: string;
position?:
| "left"
| "right"
| "center"
| "top"
| "bottom"
| "top-left"
| "top-right"
| "bottom-left"
| "bottom-right";
size?: "sm"
| "md"
| "lg"
| "wd";
target?: string;
widgets?: WidgetWrapperProps[];
},
>,
],
> = ...

- Defined in jamespot-user-api/src/types/widgets/default.ts:310