changes.mady.by.user Jordan Kasper (Deactivated)
Saved on Aug 31, 2022
Saved on Oct 24, 2022
...
interface ImageContent extends ContentType { type: 'image'; image: { url: string; height?: number; width?: number; altText?: string; title?: string; }; link?: { url: string; target?: string; }; }
interface PopularQueriesContentItem { query: string; count: number; weight: number; }
interface PopularQueriesContent extends ContentType { type: 'popular-queries'; items: Array<PopularQueriesContentItem>; }
interface CustomWidgetContent extends ContentType { type: 'custom-widget'; data: any; }
interface ContentZoneItem { mobile: ContentType; tablet: ContentType; desktop: ContentType; }
interface ContentZone { name: string; items: Array<ContentZoneItem>; }