ChemPare Documentation - v0.0.0
    Preparing search index...

    Interface ContentRuleZoneItem

    Represents items within a content rule zone. Can contain various content types including folders, main content, and navigation menus.

    interface ContentRuleZoneItem {
        templateType: string;
        metadata?: Record<string, unknown>;
        contentId: string;
        containerContentId?: string;
        attributes: Record<string, unknown>;
        executionStartTime: number;
        previewMode: boolean;
        "@type": string;
        contents?: {
            ContentFolderZone?: ContentFolder[];
            MainContent?: MainContentItem[];
        };
        subMenus?: MenuItem[];
        topCategories?: MenuItem[];
        mostPopular?: MenuItem[];
    }

    Hierarchy (View Summary)

    Index

    Properties

    templateType: string

    The type of template being used

    metadata?: Record<string, unknown>

    Optional metadata key-value pairs associated with the object

    contentId: string

    Unique identifier for the content

    containerContentId?: string

    Optional identifier for the parent container

    attributes: Record<string, unknown>

    Additional attributes stored as key-value pairs

    executionStartTime: number

    Timestamp when execution started

    previewMode: boolean

    Flag indicating if the content is in preview mode

    "@type": string

    Type identifier for the zone item

    contents?: {
        ContentFolderZone?: ContentFolder[];
        MainContent?: MainContentItem[];
    }

    Optional content sections including folders and main content

    Type declaration

    • OptionalContentFolderZone?: ContentFolder[]

      Array of content folders within this zone

    • OptionalMainContent?: MainContentItem[]

      Array of main content items

    subMenus?: MenuItem[]

    Optional submenu items for navigation

    topCategories?: MenuItem[]

    Optional top-level category menu items

    mostPopular?: MenuItem[]

    Optional most popular menu items