@agility/content-fetch
Version:
JS/TS library for the Agility Fetch API
13 lines (12 loc) • 499 B
TypeScript
/**
* Defines **Sync Content** response.
* @typedef SyncContent
* @memberof AgilityFetch.Types
* @property {number} syncToken - The sync token to be used in the next call as a continuation token for syncing content. If this is empty, you are up to date.
* @property {Array.<AgilityFetch.Types.ContentItem>} items - The paginated array of items returned by the request.
*/
import { ContentItem } from "./ContentItem";
export interface SyncContent {
syncToken: number;
items: ContentItem[];
}