@adobe/aem-spa-page-model-manager
Version:
An interpreter between AEM Editor and the AEM SPA Editor.
36 lines • 792 B
TypeScript
/**
* Generic Model interface.
* Defines common properties that pages / items have.
*/
export interface Model {
/**
* Hierarchy type.
*/
':hierarchyType'?: string;
/**
* Path of the item/page.
*/
':path'?: string;
/**
* Child pages (only present on page's itself, not on items).
*/
':children'?: {
[]: Model;
};
/**
* Items under the page/item.
*/
':items'?: {
[]: Model;
};
/**
* Order of the items under the page/item.
* Can be used as keys for the :items property to iterate items in the proper order.
*/
':itemsOrder'?: string[];
/**
* Resource type of the page/item.
*/
':type'?: string;
}
//# sourceMappingURL=Model.d.ts.map