Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Excerpt
nameFeaturedItemsContent
Code Block
languagetypescript
interface FeaturedItemsContent extends ContentType {
    type: 'featured-items';
    items: Array<SearchResultsItem>;
}
Info

For more information, see Search Models.

Image Content

Excerpt
nameImageContent
Code Block
languagetypescript
interface ImageContent extends ContentType {
    type: 'image';
    image: {
        url: string;
        height?: number;
        width?: number;
        altText?: string;
        title?: string;
    };
    link?: {
        url: string;
        target?: string;
    };
}

...