@paperbits/common
Version:
Paperbits common components.
41 lines (34 loc) • 818 B
text/typescript
import { Bag } from "..";
/**
* ContentItem metadata.
*/
export interface ContentItemContract {
/**
* Own key.
*/
key?: string;
/**
* ContentItem title.
*/
title?: string;
/**
* ContentItem description. This property is included in SEO attributes.
*/
description?: string;
/**
* ContentItem keywords. This property is included in SEO attributes.
*/
keywords?: string;
/**
* Key of a document containing contentItem content.
*/
contentKey?: string;
/**
* Permalink referencing this contentItem.
*/
permalink?: string;
/**
* Keys of anchors used in contentItem content. Anchor is a special type of a permalink.
*/
anchors?: Bag<string>;
}