@agility/content-fetch
Version:
JS/TS library for the Agility Fetch API
13 lines (12 loc) • 553 B
TypeScript
/**
* Defines a **Content List** in the CMS.
* @typedef ContentList
* @memberof AgilityFetch.Types
* @property {Array.<AgilityFetch.Types.ContentItem>} items - The paginated array of items returned by the request. Default *take* is **10** unless otherwise specified (Maximum allowed it **250**)
* @property {number} totalCount - The total amount of items in the list. Use this along with *skip* and *take* for pagination.
*/
import { ContentItem } from "./ContentItem";
export interface ContentList {
items: ContentItem[];
totalCount: number;
}