import { GuidValue, IVersionedDataIdentifier, Layout, MultilingualString, SearchValue } from "@omnia/fx-models"; import { EnterprisePropertiesInheritance, ApprovalData } from "."; import { PageId } from "./Page"; /** * This is no enum, it's only used to get typying and compile errors. * */ export declare enum PageDataType { } /** * Used for filtering etc * */ export declare class WCMPageTypes { static plainPage: PageDataType; static pageType: PageDataType; static pageCollection: PageDataType; static all: number; } export interface PageData { /** * Uses const values and not enum so new types might be defined by others * Use type value > 4096 for none wcm types * For wcm any of WCMPageTypes * */ type: PageDataType; pageRendererId: GuidValue; title: string | MultilingualString; layout: Layout; parentLayoutPageId?: PageId; enterpriseProperties?: { [key: string]: any; }; enterprisePropertiesInheritance?: EnterprisePropertiesInheritance; layoutVersionedDataIdentifier?: IVersionedDataIdentifier; approvalData?: ApprovalData; deletionApprovalData?: ApprovalData; propertyBag?: { search: { [blockId: string]: SearchValue; }; [key: string]: any; }; }