import { IVersionEnterpriseProperties } from "./VersionEnterpriseProperties"; import { IVersionPropertyBag } from "./VersionPropertyBag"; import { VersionedPageData } from "./VersionedPageData"; import { PageData } from "./PageData"; export interface IPageVersion { /** * The current version data of the page * This takes into account rules revolving checkout, publish, undocheckout, editmode etc. I.e. this is the version that should currently be operated on based on all given states. * */ readonly versionData: VersionedPageData; /** * Retrives an interface that can be used to interact with the enterpriseproperties of this version * */ readonly enterpriseProperties: IVersionEnterpriseProperties; /** * Retrives an interface that can be used to interact with the enterpriseproperties of this version * */ readonly propertyBag: IVersionPropertyBag; /** * Retrives an interface that can be used to interact with the enterpriseproperties of this version * */ readonly isCheckedoutByCurrentUser: boolean; }