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

    Interface ContentRule

    Defines content rules for page organization and structure. Contains rule identification and associated content zone items.

    interface ContentRule {
        templateType: string;
        metadata?: Record<string, unknown>;
        contentId: string;
        containerContentId?: string;
        attributes: Record<string, unknown>;
        executionStartTime: number;
        previewMode: boolean;
        pageTitle: string;
        "@type": "ContentRule";
        ruleId: string;
        ContentRuleZone: ContentRuleZoneItem[];
    }

    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

    pageTitle: string

    Title of the page associated with this rule

    "@type": "ContentRule"

    Type identifier for content rules

    ruleId: string

    Unique identifier for the rule

    ContentRuleZone: ContentRuleZoneItem[]

    Array of content rule zone items