@agility/content-fetch
Version:
JS/TS library for the Agility Fetch API
16 lines (15 loc) • 723 B
TypeScript
/**
* Defines the common **System Properties** of pages and content items in the CMS.
* @typedef SystemProperties
* @memberof AgilityFetch.Types
* @property {datetime} created - The date/time this item was created.
* @property {datetime} modified - The date/time this item was last modified.
* @property {number} state - The **state** of this content item. **1** = *Staging*, **2** = *Published*, **3** = *Deleted*, **4** = *Approved*, **5** = *AwaitingApproval*, **6** = *Declined*, **7** = *Unpublished*
* @property {number} versionID - The unique versionID of this content item.
*/
export interface SystemProperties {
created: Date;
modified: Date;
state: 1 | 2 | 3 | 4 | 5 | 6 | 7;
versionID: number;
}