Interface ComponentNode<T>

interface ComponentNode<T = AvailableComponentProps> {
    allow_admins_to_overwrite?: boolean;
    autofill?:
        | "off"
        | "ai"
        | "matching_metadata"
        | "matching_tags"
        | "matching_metadata_or_tags";
    autofill_content_types?: null
    | FileContentTypeEnum[];
    children?: ComponentNode<AvailableComponentProps>[];
    data?: T;
    height?: string;
    id: string;
    linkable?: ComponentNodeLinkable;
    print?: ComponentNodePrint;
    style?: Record<string, any>;
    tags?: string[];
    theme_meta?: ComponentNodeThemeMeta;
    tracking_id: string;
    type: ComponentTypes;
    visible?: ComponentNodeVisible;
    when_used_in_section?: { is_editable: boolean; is_removable: boolean };
}

Type Parameters

Properties

allow_admins_to_overwrite?: boolean
autofill?:
    | "off"
    | "ai"
    | "matching_metadata"
    | "matching_tags"
    | "matching_metadata_or_tags"
autofill_content_types?: null | FileContentTypeEnum[]
data?: T
height?: string
id: string
style?: Record<string, any>
tags?: string[]
tracking_id: string
when_used_in_section?: { is_editable: boolean; is_removable: boolean }